;----------------------------------------------------------------------
;
;	T.J. >>> The Phantastograph <<< BERLIN presents the NEW
;
;	MASTERSEKA V1.81 / 01
;
;
;	Wenn Ihr noch Ideen habt,lasst es mich wissen.(INTROS)
;
;	Anleitung zur verbesserten Seka-Version V1.54 und V1.6
;	Einige Requester wie z.B. Chip/Fast u.s.w habe ich nicht mit
;	eingebaut.Sie wurden von mir als stoerend empfunden.
;	Wichtig aber sind z.b. die File-Requester und der
;	Directory-Requester.Ein neuer Requester wurde von mir 
;	mit einintegriert,der Notiz-Requester.Man hat auch die
;	Moeglichkeit SEKA-Befehle in diesen Requester einzugeben
;	und mit Rechter-Alt-Taste und Help-Taste auszufuehren.
;
;	Beispiel:  cls\q$50000\q$60000\n$4\      Der \ verursacht
;						 ein RETURN + Leerzeile
;
;	Beispiel:  cls|q$50000|q$60000|n$4|	 Der | verursacht
;						 ein RETURN ohne
;						 Leerzeile
;	Ohne \ oder | koennen keine Befehle
;	im Notiz-Requester ausgefuehrt werden !
;	---------------------------------------------------------------
;
;	Die Notizen können mit RAmiga-Help-Taste abgespeichert werden.
;
;	Die Notizen können voreingestellt werden.Dazu ist in der
;	Masterseka.Startup Datei der Parameter -n anzugeben.Danach folgt
;	der Text,der unbedingt mit ! zu beenden ist.Wird das ! vergessen,
;	kann es zum Absturz führen.Die maximale Textlänge darf 160 nicht
;	überschreiten!!!
;
;	Beispiel:
;
;	-n
;	Heute ist ein schöner Tag zum hacken.
;	Amiga is the best.!
;
;
;
;	Achtung vom Gebrauch -m 006 fff 111 222!
;	Der Parameter -m erlaubt eine Voreinstellung der RGB-Palette für
;	die Palette 0,1,2,3.Im obigen Beispiel hat Pal0 die Farbe 006,
;	Pal1 = fff,Pal2 = 111,Pal3 = 222.Es sind bei 1er Bitplane natürlich
;	nur die Paletten 0 und 1 gültig.
;	Ganz besonders wichtig ist,das nach -m ein space steht,und am Schluss
;	der Eingabe direkt ein Ausrufezeichen (!).Siehe oben.
;
;
;
;	Alle Neuen Befehle sind in der Erklaerung mit NEW -> bezeichnet.
;	
;
;----------------------------------------------------------------------



	Bitte die req.library V1.22 benutzen.Ältere Versionen könnten nicht
	funktionieren.



CLI and/or 'MasterSeka.startup' file options
--------------------------------------------

	Syntax (with '-')         Explanation
	---------------------------------------------------------------
	-a AbsoluteAdr		: Workspace at Adr
	-b Scrollbarflag	: flag: 0=none, 1=right, 2= left border
	-c			: Workspace in Chipmemory
	-e Editorsize		: size: number of editor lines
NEW ->	-f 			: If using this Parameter,your F-Keys
				; have normal Functions (h0),else you can
				; use them as Marker-Keys (h1)
	-h Historysize		: size: history size (default: 127)
	-l flag			: flag: 0=linenumbers off 1=on
NEW ->  -m			: -m 0f0 a64 b00 047!
				: Parameter for RGB-Palette ended with !
				: (Pal 0,Pal 1,Pal 2,Pal 3)
NEW ->	-n text!		; Text for Notice-Requester must ending with !
	-r			: Use REQ.LIBRARY Filerequester
	-s Screendepth		: depth: 0=window, 1=1 plane, 2=2 planes
NEW ->	-t 			: Turns off the Sound after you assemble
				; a program.Normally its on. 
	-w X Y Width Heigth	: Size of window (set either parameter to
				  0 to use its default, use PAL/NTSC size
	-w+ X Y Width Heigth	: Dito, but use workbench screen size
	-X			: Close workbench (only when start from WB)


MasterSeka commands (optional parameters in '[' and ']')
--------------------------------------------------------
	=			: WorkInfo
	>[<SPACE>Filename]	: Copy output to file (close file with '>'!)
	?			: evaluate expression
	@[Command]		: execute CLI command
	a[Address]		: assemble (for options: see below)
	b			: bottom
	bAddress		: calculate bootblock checksum for Address
	c			: compare memory ranges
	cl			: kill source
	cls			: clear screen
	d[Address]		: dissassemble
	e[Line number]		: edit line
	f			: find in memory
	fi			: fill memory
	g[Address]		: jump to address
NEW ->	h			: System Pointer
NEW ->	hh			: System Pointer without cls
NEW ->	h0			: Turn to normal F-Keys (SETMAP)
NEW ->	h1			: Turn to Marker F-Keys (EDITOR)
NEW ->	hl			: Show Menu
	i[Line number]		: insert line
	j[Address]		: JSR to address
	ka			: free absolute memorylist (see 'INCBIN')
	kf[<SPACE>Filename]	: delete file
	kl			: kill linkfile in memory
	kp			: kill paste buffer
	ks			: kill source
	l[Searchstring]		: search source for searchstring
	m[Address]		: modify memory
	n[Address]		: show ASCII dump
	o			: old (get source back after 'ks')
	p[Amount]		: display 'Amount' sourcelines from current
	q[Address]		: hexdump memory
	r[<SPACE>Filename]	: read source
	ri[<SPACE>Filename]	: read binary file
	rl[<SPACE>Filename]	: read link file
	ro[<SPACE>Filename]	: read executable (LoadSeg)
	rs[Drivenumber]		: read sectors
	rt[Drivenumber]		: read cylinders
NEW ->	rgb			: Color Requester
NEW ->	s0			: Sound after assemble off
NEW ->	s1			: Sound after assemble on
	s[Address]		: single step code
	t[Linenumber]		: jump to top of source or specified line
	u[Address]		: UnloadSeg executable
	v[Pathname]		: show directory
	v<SPACE>Pathname	: change directory
NEW ->	vv			; Direktory with File-Requester
	w[<SPACE>Filename]	: write source
	wbFlag			: Flag: 0=Close WB, 1=Open WB
	wi[<SPACE>Filename]	: write binary file
	wl[<SPACE>Filename]	: write link file
	wo[<SPACE>Filename]	: write executable
	ws[Drivenumber]		: write sectors
	wt[Drivenumber]		: write cylinders
	y			: load EXTERNS
	zAmount			: zap 'Amount' lines


assemble options
----------------
	A	:	Error on absolute memory adr mode (for debugging)
	E	:	Listing on printer
	H	:	Stop after each page of the listing
	L	:	Produce linkable code
	O	:	Optimize
	P	:	Listing on printer (same as E)
	R	:	Error on reloc entry (non pc-relative code)
	V	:	Listing on screen


Shortcuts with Amiga-key (Direct mode marked with a '*')
--------------------------------------------------------
	a	:	Search previous occurence
	A	:	Assemble quickly (no options specified)
	b	:	Mark block
	c	:	Copy block
	g	:	Goto line
	i/l	:	Insert block
	k	:	Cut line
	*q	:	Quit MasterSeka
	q	:	Quit editor
	r	:	Replace next occurence
	R	:	Replace ...
	s	:	Search next occurence
	S	:	Search ...
	t	:	Top of file
	T	:	Bottom of file
	u	:	Block to lowercase
	U	:	Block to uppercase
	w	:	Save block
	x	:	Cut block
	y	:	Cut to end of line


Shortcuts with CTRL-key:
------------------------
	A	:	One screen up
	B	:	Mark block
	C	:	Cut block
	D	:	Delete to end of lines
	E	:	Cursor to End of Line
	F	:	Paste block (fill)
	J	:	Search for text (jump)
	K	:	Kill line
	L	:	Lower case
	O	:	Insert line
	P	:	Paste
	Q	:	Cursor to Start of Line
	R	:	Rotate block
	S	:	100 lines up
	T	:	Top of File
	U	:	Upper case
	W	:	Write block to disk
	X	:	100 lines down
	Y	:	One screen down
	Z	:		"
	[	:	ESC
NEW ->  HELP	:	Remark-Requester


Shortcuts with CTRL-LShift-Key:
-------------------------------

NEW ->	HELP	:	System Pointer


Shortcuts with LALT-Key:
------------------------

NEW ->	HELP	:	Color Requester


Shortcuts with RALT-Key:
------------------------

NEW ->	HELP	:	Execute Statements written in Remark Requester


Shortcuts with RAmiga-Key:
------------------------

NEW ->	HELP	:	Save Notizen


Pseudo opcodes (directives)
---------------------------
	Syntax			: Explanation		: Example
--------------------------------------------------------------------------
	align Size[,Offset]	: align PC		: align 32
	blk.B/W/L Size[,Code]	: fill block		: blk.b 100,'C'
	code			: code section		:
	cnop Size[,Offset]	: see 'align'		:
	dc.B/W/L Size[,Code]	: insert constants	: dc.b "CORSAIR"
	ds.B/W/L Size[,Code]	: see 'blk'		:
	endif			: terminate conditional	:
	endm			: terminate macro def.	:
symbol:	equ			: define symbol		: sysbase equ 4
	else			: conditional assembly	:
	even			: align PC to even	:
	end			: end of source		:
	globl			: global symbol (link)	:
	if Expression		: conditional assembly	:
	illegal			: breakpoint $4AFC	:
	incbin "Filename"	: include file in object: incbin "Data"
	incbin "Filename",Adr	: load file to Adr	: incbin "A",$50000
	list			: assembly listing on	:
	load Address		: assemble to 'Address'	: load $50000
symbol:	macro			: start macro definition: flop: macro
	nlist			: assembly listing off	:
	odd			: align PC to odd	:
	org Address		: generate absolute code:
	page			: listing -> new page	:
	plen pagelen		: set page length	: page 66
	pwid pagewid		: set page width	: pwid 70
	pinit expression	: init page settins	:
	section name,type	: code,code_c,bss,bss_c	: section aa,BSS_C

68020 instructions supported:
-----------------------------
	index scale:	eg. move.w (a0,d0.w*4),d0
   	DIVs.L
	DIVsL.L
	EXTB.L
	MOVEC			Rc: SFC,DFC,CACR,USP,VBR,CAAR,MSP,ISP
	MOVES
	MULs.L
	MULs.L
	RTD
	TST	An/D16(PC)/D8(PC,Rn)

