;
; This file just contains all the equates and is 'INCLUDE'd where necessary
;
Version         =     '1'
Mark            =     '3'

ASICDATA_SpriteData            =     04000h
ASICDATA_Sprite0Data           =     04000h
ASICDATA_Sprite1Data           =     04100h
ASICDATA_Sprite2Data           =     04200h
ASICDATA_Sprite3Data           =     04300h
ASICDATA_Sprite4Data           =     04400h
ASICDATA_Sprite5Data           =     04500h
ASICDATA_Sprite6Data           =     04600h
ASICDATA_Sprite7Data           =     04700h
ASICDATA_Sprite8Data           =     04800h
ASICDATA_Sprite9Data           =     04900h
ASICDATA_SpriteAData           =     04A00h
ASICDATA_SpriteBData           =     04B00h
ASICDATA_SpriteCData           =     04C00h
ASICDATA_SpriteDData           =     04D00h
ASICDATA_SpriteEData           =     04E00h
ASICDATA_SpriteFData           =     04F00h


ASICDATA_SpriteControls        =     06000h
ASICDATA_Sprite0Control        =     06000h
ASICDATA_Sprite1Control        =     06008h
ASICDATA_Sprite2Control        =     06010h
ASICDATA_Sprite3Control        =     06018h
ASICDATA_Sprite4Control        =     06020h
ASICDATA_Sprite5Control        =     06028h
ASICDATA_Sprite6Control        =     06030h
ASICDATA_Sprite7Control        =     06038h
ASICDATA_Sprite8Control        =     06040h
ASICDATA_Sprite9Control        =     06048h
ASICDATA_SpriteAControl        =     06050h
ASICDATA_SpriteBControl        =     06058h
ASICDATA_SpriteCControl        =     06060h
ASICDATA_SpriteDControl        =     06068h
ASICDATA_SpriteEControl        =     06070h
ASICDATA_SpriteFControl        =     06078h
      

ASICDATA_4096ColorPalette      =     06400h
ASICDATA_4096Pen0Palette       =     06400h
ASICDATA_4096Pen1Palette       =     06402h
ASICDATA_4096Pen2Palette       =     06404h
ASICDATA_4096Pen3Palette       =     06406h
ASICDATA_4096Pen4Palette       =     06408h
ASICDATA_4096Pen5Palette       =     0640Ah
ASICDATA_4096Pen6Palette       =     0640Ch
ASICDATA_4096Pen7Palette       =     0640Eh
ASICDATA_4096Pen8Palette       =     06410h
ASICDATA_4096Pen9Palette       =     06412h
ASICDATA_4096PenAPalette       =     06414h
ASICDATA_4096PenBPalette       =     06416h
ASICDATA_4096PenCPalette       =     06418h
ASICDATA_4096PenDPalette       =     0641Ah
ASICDATA_4096PenEPalette       =     0641Ch
ASICDATA_4096PenFPalette       =     0641Eh

ASICDATA_4096BorderPalette     =     06420h

ASICDATA_SpritePensPalette     =     06422h
ASICDATA_SpritePen1Palette     =     06422h
ASICDATA_SpritePen2Palette     =     06424h
ASICDATA_SpritePen3Palette     =     06426h
ASICDATA_SpritePen4Palette     =     06428h
ASICDATA_SpritePen5Palette     =     0642Ah
ASICDATA_SpritePen6Palette     =     0642Ch
ASICDATA_SpritePen7Palette     =     0642Eh
ASICDATA_SpritePen8Palette     =     06430h
ASICDATA_SpritePen9Palette     =     06432h
ASICDATA_SpritePenAPalette     =     06434h
ASICDATA_SpritePenBPalette     =     06436h
ASICDATA_SpritePenCPalette     =     06438h
ASICDATA_SpritePenDPalette     =     0643Ah
ASICDATA_SpritePenEPalette     =     0643Ch
ASICDATA_SpritePenFPalette     =     0643Eh


ASICDATA_RasterInterruptLine   =     06800h
ASICDATA_SplitScreenScanLine   =     06801h
ASICDATA_SplitScreenStartAddr  =     06802h
ASICDATA_SoftScrollControlReg  =     06804h
ASICDATA_InterruptVector       =     06805h

ASICDATA_Analog2DigChannels    =     06808h
ASICDATA_Analog2DigChannel0    =     06808h
ASICDATA_Analog2DigChannel1    =     06809h
ASICDATA_Analog2DigChannel2    =     0680Ah
ASICDATA_Analog2DigChannel3    =     0680Bh
ASICDATA_Analog2DigChannel4    =     0680Ch
ASICDATA_Analog2DigChannel5    =     0680Dh
ASICDATA_Analog2DigChannel6    =     0680Eh
ASICDATA_Analog2DigChannel7    =     0680Fh

ASICDATA_SoundDMAPointer0      =     06C00h
ASICDATA_SoundDMAPrescaler0    =     06C02h
ASICDATA_SoundDMAPointer1      =     06C04h
ASICDATA_SoundDMAPrescaler1    =     06C06h
ASICDATA_SoundDMAPointer2      =     06C08h
ASICDATA_SoundDMAPrescaler2    =     06C0Ah
ASICDATA_SoundDMAControlStatus =     06C0Fh


CM3     =     3822            ;note = 0  => C  -3
CSM3    =     3608            ;note = 1  => C# -3
DM3     =     3405            ;note = 2  => D  -3
DSM3    =     3214            ;note = 3  => D# -3
EM3     =     3034            ;note = 4  => E  -3
FM3     =     2863            ;note = 5  => F  -3
FSM3    =     2703            ;note = 6  => F# -3
GM3     =     2551            ;note = 7  => G  -3
GSM3    =     2408            ;note = 8  => G# -3
AM3     =     2273            ;note = 9  => A  -3
ASM3    =     2145            ;note = 10 => A# -3
BM3     =     2025            ;note = 11 => B  -3

CM2     =     1911            ;note = 12 => C  -2
CSM2    =     1804            ;note = 13 => C# -2
DM2     =     1703            ;note = 14 => D  -2
DSM2    =     1607            ;note = 15 => D# -2
EM2     =     1517            ;note = 16 => E  -2
FM2     =     1432            ;note = 17 => F  -2
FSM2    =     1351            ;note = 18 => F# -2
GM2     =     1276            ;note = 19 => G  -2
GSM2    =     1204            ;note = 20 => G# -2
AM2     =     1136            ;note = 21 => A  -2
ASM2    =     1073            ;note = 22 => A# -2
BM2     =     1012            ;note = 23 => B  -2

CM1     =     956             ;note = 24 => C  -1
CSM1    =     902             ;note = 25 => C# -1
DM1     =     851             ;note = 26 => D  -1
DSM1    =     804             ;note = 27 => D# -1
EM1     =     758             ;note = 28 => E  -1
FM1     =     716             ;note = 29 => F  -1
FSM1    =     676             ;note = 30 => F# -1
GM1     =     638             ;note = 31 => G  -1
GSM1    =     602             ;note = 32 => G# -1
AM1     =     568             ;note = 33 => A  -1
ASM1    =     536             ;note = 34 => A# -1
BM1     =     506             ;note = 35 => B  -1

CO0     =     478             ;note = 36 => C   0
CSO0    =     451             ;note = 37 => C#  0
DO0     =     426             ;note = 38 => D   0
DSO0    =     402             ;note = 39 => D#  0
EO0     =     379             ;note = 40 => E   0
FO0     =     358             ;note = 41 => F   0
FSO0    =     338             ;note = 42 => F#  0
GO0     =     319             ;note = 43 => G   0
GSO0    =     301             ;note = 44 => G#  0
AO0     =     284             ;note = 45 => A   0
ASO0    =     268             ;note = 46 => A#  0
BO0     =     253             ;note = 47 => B   0

CO1     =     239             ;note = 48 => C   1
CSO1    =     225             ;note = 49 => C#  1
DO1     =     213             ;note = 50 => D   1
DSO1    =     201             ;note = 51 => D#  1
EO1     =     190             ;note = 52 => E   1
FO1     =     179             ;note = 53 => F   1
FSO1    =     169             ;note = 54 => F#  1
GO1     =     159             ;note = 55 => G   1
GSO1    =     150             ;note = 56 => G#  1
AO1     =     142             ;note = 57 => A   1
ASO1    =     134             ;note = 58 => A#  1
BO1     =     127             ;note = 59 => B   1

CO2     =     119             ;note = 60 => C   2
CSO2    =     113             ;note = 61 => C#  2
DO2     =     106             ;note = 62 => D   2
DSO2    =     100             ;note = 63 => D#  2
EO2     =     95              ;note = 64 => E   2
FO2     =     89              ;note = 65 => F   2
FSO2    =     84              ;note = 66 => F#  2
GO2     =     80              ;note = 67 => G   2
GSO2    =     75              ;note = 68 => G#  2
AO2     =     71              ;note = 69 => A   2
ASO2    =     67              ;note = 70 => A#  2
BO2     =     63              ;note = 71 => B   2

CO3     =     60              ;note = 72 => C   3
CSO3    =     56              ;note = 73 => C#  3
DO3     =     53              ;note = 74 => D   3
DSO3    =     50              ;note = 75 => D#  3
EO3     =     47              ;note = 76 => E   3
FO3     =     45              ;note = 77 => F   3
FSO3    =     42              ;note = 78 => F#  3
GO3     =     40              ;note = 79 => G   3
GSO3    =     38              ;note = 80 => G#  3
AO3     =     36              ;note = 81 => A   3
ASO3    =     34              ;note = 82 => A#  3
BO3     =     32              ;note = 83 => B   3

CO4     =     30              ;note = 84 => C   4
CSO4    =     28              ;note = 85 => C#  4
DO4     =     27              ;note = 86 => D   4
DSO4    =     25              ;note = 87 => D#  4
EO4     =     24              ;note = 88 => E   4
FO4     =     22              ;note = 89 => F   4
FSO4    =     21              ;note = 90 => F#  4
GO4     =     20              ;note = 91 => G   4
GSO4    =     19              ;note = 92 => G#  4
AO4     =     18              ;note = 93 => A   4
ASO4    =     17              ;note = 94 => A#  4
BO4     =     16              ;note = 95 => B   4



PARAM0	=	 0 
PARAM1	=	 0 
PARAM2	=	 0 
PARAM3	=	 0 
PARAM4	=	 0 
PARAM5	=	 0 
PARAM6	=	 0 
PARAM7	=	 0 
PARAM8	=	 0 
PARAM9	=	 3 		;VERSION NUMBER
;
;

; console 'copyrht1.lib:1  -  7 NOV 85 - copyright notice'

; ********************************************************************
; * THIS PROGRAM IS AN UNPUBLISHED WORK FULLY PROTECTED BY COPYRIGHT *
; * LAWS.   IT IS CONSIDERED A TRADE SECRET OF THE COPYRIGHT HOLDER. *
; *         (C) COPYRIGHT  1985  MEJ ELECTRONICS LIMITED             *
; ********************************************************************
;

; console 'defaults.asm:1  - 20 feb 87 - program defaults'
;
; defaults
; --------
;
;param0		- *** not used ***
;param1		- *** not used ***
;param2		- *** not used ***
;param3		- *** not used ***
;param4		- *** not used ***
;param5		- *** not used ***
;param6		- *** not used ***
;param7		- *** not used ***
;param8		- *** not used ***
;param9		- version number
;
; skips
; -----
;
; hardware options
;
;ant           = 0 ;configure for ANT
;joyce           =     0       ;configure for JOYCE
;arnold          =     -1      ;configure for ARNOLD
;rade    = 0 ;conigure for RADE
;
;using765  = -1  ;using 765 fdc
;
;motorcontrol  = -1  ;we can turn the motor on & off
;tccontrol       =     0       ;we don't have Terminal Count control
;fdcinterrupts   =     0       ;fdc cannot interrupt
;
;testformat      =     -1      ;allow option to format test discs
;


; console 'defardis.lib:1  -  1 apr 85 - arnold disc interface definitions'
;
;        %if      arnold
;
; fdc io adddresses
; -----------------
;
fdcmotor	=	0FA7Eh	;motor control
fdcstatus	=	0FB7Eh	;address of status reg
fdcdata		=	0FB7Fh	;address of data reg
;
; motor control
; -------------
;
motoroff	=	0	;turn off the motorr
motoron		=	1	;turn on the motor
;
;        %endif   ;arnold


; console 'defines .lib:2  - 15 dec 86 - bit definitions'
;
true	=	0FFFFH
false	=	0
;
bit7	=	80H
bit6	=	40H
bit5	=	20H
bit4	=	10H
bit3	=	08H
bit2	=	04H
bit1	=	02H
bit0	=	01H
;
notbit0	=	0H
notbit1	=	0H
notbit2	=	0H
notbit3	=	0H
notbit4	=	0H
notbit5	=	0H
notbit6	=	0H
notbit7	=	0H
;

; console 'defcnt  .lib:3  - 15 dec 86 - ascii control code definitions'
;
nul	=	0
soh	=	1
stx	=	2
etx	=	3
eot	=	4
enq	=	5
ack	=	6
bel	=	7
bs	=	8
tab	=	9
lf	=	10
vt	=	11
ff	=	12
cr	=	13
so	=	14
si	=	15
dle	=	16
dc1	=	17
dc2	=	18
dc3	=	19
dc4	=	20
nak	=	21
syn	=	22
etb	=	23
can	=	24
em	=	25
sub	=	26
esc	=	27
fs	=	28
gs	=	29
rs	=	30
us	=	31
;
rubout	=	07Fh	;the rub out char

Aonly		=	bit0	;test drive A only
Bonly		=	bit1	;test drive B only
bothdrives	=	Aonly + Bonly ;test both drives
;
driveA		=	0	;address of drive A
driveB		=	1	;address of drive B
;
; testing
; -------
;
rdonly		=	bit7	;read only testing
rwtesting	=	notbit7	;read after write testing
;
; drive specifications
; --------------------
;
firsttrack	=	0	;start at track	0
lasttrack       =     79      ;end at track 79
trackcount	=	lasttrack - firsttrack + 1 ;number of tracks
;
; buffers
; -------
;
sectorsize	=	512	;length of sectors
;


; console 'def765  .lib:3  - 15 dec 86 - 765 floppy disc controller definitions'
;
; fdc commands
; ------------
;
specify		=	03h	;specify command
wrtsec		=	05h	;write command
readsec		=	06h	;read command
restore		=	07h	;realign command
senseinterrupt	=	08h	;sense interrupt command
readid		=	0Ah	;read header id
sensedrive	=	04h	;sense drive status
formattk	=	0Dh	;format command
seek		=	0Fh	;seek command
;
; other fdc definitions
; ---------------------
;
mf		=	40h	;double density mfm mode
sk		=	20h	;skip deleted address mark
dtl		=	0FFh	;dtl not used
;
drivebits	=	03h	;ls 2 bits are drive select code
;
headselect	=	04h	;bit 2 is head select
;
; main status register
; --------------------
;
fdd0busy	=	01h	;fdd 0 is seeking
fdd1busy	=	02h	;fdd 1 is seeking
fdd2busy	=	04h	;fdd 2 is seeking
fdd3busy	=	08h	;fdd 3 is seeking
;
fdcbusy		=	10h	;fdc is busy
executionmode	=	20h	;fdc is in the execution phase
dio		=	40h	;fdc data transfer direction (1 = input)
rqm		=	80h	;r=est for master data transfer
;
; status register 0
; -----------------
;
st0icode	=	bit7+bit6 ;interrupt code mask (0 => ok)
st0seekend	=	bit5	;seek operation completed
st0echeck	=	bit4	;=ipment check
st0nready	=	bit3	;drive not ready
st0haddress	=	bit2	;current head address
st0unitselect	=	bit1+bit0 ;current unit select
;
; interrupt codes
;
st0iok		=	0	;normal termination of command
st0ierror	=	bit6	;command failed
st0iinvalid	=	bit7	;invalid command received
st0iready	=	bit7+bit6 ;ready signal changed state
;
; status register 1
; -----------------
;
st1ecylinder	=	bit7	;end of cylinder reached
st1dataerror	=	bit5	;crc error
st1overrun	=	bit4	;over run
st1ndata	=	bit2	;no data (record not found)
st1nwritable	=	bit1	;drive write protected
st1maddress	=	bit0	;address mark missing
;
; status register 3
; -----------------
;
st3fault	=	bit7	;drive fault line true
st3wprotect	=	bit6	;drive write protected
st3drready	=	bit5	;drive ready status
st3tk0		=	bit4	;track zero flag
st3twosided	=	bit3	;drive two sided flag
st3hdaddress	=	bit2	;current head address
st3us1		=	bit1	;unit select line 1
st3us0		=	bit0	;unit select line 0
;

; console 'envmess .lib:10 - 15 dec 86 - message handler definitions'
;
; message handler definitions
; ---------------------------
;
ptescape	=	bit7	;escape char
ptnotmess 	=	bit7+bit6 ;not a sub message escape char
pthex		=	bit5	;print hex value
pt16bits	=	bit4	;print 16 bit value
ptvar		=	bit3	;print variable contents
;
ptdrivemask	=	bit1+bit0 ;drive number mask
ptsidemask	=	bit2	;side number mask
ptregmask	=	3	;reg number mask
ptdrnum		=	ptnotmess+4 ;print drive number (in E)
ptsidenum	=	ptnotmess+5 ;print side number (in E)
ptvarchar	=	ptnotmess+6+ptvar ;print char in variable
;
; decimal number output
;
ptB		=	ptnotmess+1;print the contents of reg B
ptC		=	ptnotmess+0;print the contents of reg C
ptD		=	ptnotmess+3;print the contents of reg D
ptE		=	ptnotmess+2;print the contents of reg E
;
ptbc		=	ptnotmess+pt16bits+0;print the contents of BC
ptde		=	ptnotmess+pt16bits+2;print the contents of DE
;
ptv8		=	ptnotmess+ptvar	     ;print the contents of an 8 bit variable
ptv16		=	ptnotmess+ptvar+pt16bits ;print the contents of an 16 bit variable
;
; hex number output
;
pthexB		=	ptnotmess+pthex+1;print the contents of reg B
pthexC		=	ptnotmess+pthex+0;print the contents of reg C
pthexD		=	ptnotmess+pthex+3;print the contents of reg D
pthexE		=	ptnotmess+pthex+2;print the contents of reg E
;
pthexbc		=	ptnotmess+pthex+pt16bits+0;print the contents of BC
pthexde		=	ptnotmess+pthex+pt16bits+2;print the contents of DE
;
pthexv8         =     ptnotmess+ptvar     ;print the contents of an 8 bit teq
pthexv16        =     ptnotmess+ptvar+pt16bits ;print the contents of an 16 bit teq
;
printsubmessage	=	ptescape	;print a sub message
;
; escape s=ences
;
windesc		=	27	;window escape char
;
esccurup	=	'A'*256+windesc	;cursor up
esccurdown	=	'B'*256+windesc	;cursor down
esccurfward	=	'C'*256+windesc	;cursor forward
esccurbward	=	'D'*256+windesc	;cursor backward
escclear	=	'E'*256+windesc	;clear page
eschome		=	'H'*256+windesc	;home the cursor
escrevindex	=	'I'*256+windesc	;reverse index
escerapend	=	'J'*256+windesc	;erase to end of page
esceralend	=	'K'*256+windesc	;erase to end of line
esclineinsert	=	'L'*256+windesc	;insert line
esclinedelete	=	'M'*256+windesc	;delete line
escchardelete	=	'N'*256+windesc	;delete char
escrestwindow	=	'R'*256+windesc	;restore previous window number
escselwindow	=	'S'*256+windesc	;select window
escsavewindow	=	'T'*256+windesc	;save current window number
escsetwindow	=	'W'*256+windesc	;set window size
esccuraddr	=	'Y'*256+windesc	;set cursor addr
escforeground	=	'b'*256+windesc	;set foreground colour
escbackground	=	'c'*256+windesc	;set background colour
escerapstart	=	'd'*256+windesc	;erase from beginning of page
escencursor	=	'e'*256+windesc	;enable cursor blob
escdiscursor	=	'f'*256+windesc	;disable cursor blob
escsavecursor	=	'j'*256+windesc	;save cursor position
escrestcursor	=	'k'*256+windesc	;restore cursor position
esclclear	=	'l'*256+windesc	;erase line
esceralstart	=	'o'*256+windesc	;erase from beginning of line
esconinverse	=	'p'*256+windesc	;enter inverse video mode
escoffinverse	=	'q'*256+windesc	;exit inverse video mode
escwrapenable	=	'v'*256+windesc	;wrap at end of line
escwrapdisable	=	'w'*256+windesc	;dont wrap at end of line
;
; default window layout
;
offset60hz	=	7	;60 hz systems only have 25 lines not 32
;
; window parameters
;
wintopheading	=	0	;top line of heading window
winbotheading	=	5	;bottom line of heading window
;
wintopuser	=	6	;top line of user window
winbotuser	=	30	;bottom line of user window
;
wintopstatus	=	31	;top line of status window
winbotstatus	=	31	;bottom line of status window
;
wintopprntest	=	3	;top line of printer test window
winbotprntest	=	30	;bottom line of printer test window
;
windheading	=	0	;window 0 used for main heading
winduser	=	1	;window 1 is user window
windstatus	=	2	;window 2 used for status line
windprntest	=	3	;window 3 used for printer test


; console 'envform .lib:2  - 15 dec 86 - disc formats'
;
; common to all formats
; ---------------------
;
encsecsize	=	2	;encoded sector size (512)
filler		=	0E5h	;format filler
fmtbits		=	bit6+bit7 ;format code in in top 2 bits of sector number
;
; system format
; -------------
;
sfsecpertrack	=	9	;sectors per track
sffirstsector	=	41h	;first sector number
sfrestracks	=	2	;reserved tracks
sfgplrw		=	42	;gap length, read/write
sfgplformat	=	82	;gap length, format
;
; data only format
; ----------------
;
dfsecpertrack	=	9	;sectors per track
dffirstsector	=	0C1h	;first sector number
dfrestracks	=	0	;reserved tracks
dfgplrw		=	42	;gap length, read/write
dfgplformat	=	82	;gap length, format
;
; ibm format
; ----------
;
ifsecpertrack	=	8	;sectors per track
iffirstsector	=	1	;first sector number
ifrestracks	=	1	;reserved tracks
ifgplrw		=	2Ah	;gap length, read/write
ifgplformat	=	50h	;gap length, format
;
; joyce format
; ------------
;
jfsecpertrack	=	9	;sectors per track
jffirstsector	=	1	;first sector number
jfrestracks	=	1	;reserved tracks
jfgplrw		=	42	;gap length, read/write
jfgplformat	=	82	;gap length, format


; console 'envxpb  .lib:4  - 15 dec 86 - extended disc parameter block'
;
; extended disc parameter block definitions
;
xpbfirstsector	=	0	;first sector number
xpbsecpertrack	=	1	;number of sectors per track
xpbgplrw	=	2	;gap length, read/write
xpbgplformat	=	3	;gap length, format
xpbfiller	=	4	;filler byte
xpbencsecsize	=	5	;sector size (encoded)
xpbside		=	6	;two sided flag
xpb80tracks	=	7	;true if 80 track drive
xpbtrack	=	8	;current track
xpbalign	=	9	;true <=> aligned
xpbfreeze	=	10	;true <=> don't auto select format
;
xpbsize		=	11


; console 'envsysms.lib:5  - 22 may 85 - system message numbers'

sysfirstmessage	=	11
;
sysbadmessage	=	11	;'illegal message number: program abandoned'
syshelp			=	12	;'loop,error limit, quit'
sysdefaults		=	13	;'defaults are'
sysnodefaults	=	14	;'no defaults'
syscurcmnd		=	15	;':cmndletter looptcount'
systestabandon	=	16	;'err limit reached:all tests abandoned'
sysaskabandon	=	17	;'do you want to abandon testing'
sysclrstatus	=	18	;clear status window
syscounts		=	19	;'loop count = nn error count = nn(nn)'
syscommand		=	20	;'Command '
syselq			=	21	;'elq'
sysnopara		=	22	;'para error'
sysrundefaults	=	23	;'running defaults'
sysbadcpcmnd	=	24	;'is not a cmnd'
syscontc		=	25
;
; disc messages
;
sysnodisc		=	26	;'insert a disc into drive n'
syswprot		=	27	;'Write-enable disc in drive n'
;
lastsysmessage	=	syswprot

;
stacksize	=	100h	;space for stack
kbdvsize	=	0050h	;size of keyboard variable area
ddvsize		=	0100h	;size of disc driver area
vdvsize		=	0100h	;size of vdu driver area
utvsize		=	0120h	;size of utilities variable area
;
dtvsize		=	0040h	;size of dtest variable area
kbtvsize	=	0020h	;size of keytest variable area
iotvsize	=	0020h	;size of iotester variable area
prtvsize	=	1D70h	;size of printer test variable area
;
; disc buffer size
; ----------------
;
dskbufsize	=	514	;size of disc buffers (extra 2 bytes for DTEST pattern initialisation)
;
; vdu memory sizes
; ----------------
;
stsize		=	0400h	;ant scan table is 1k
palsize		=	16	;length of ant palettes
vrsize		=	90*256	;size of pixel memory
;
; ram limits
; ----------
;
ramlimit	=	0FFF0h	;end of ram variable area
;

; console 'defs    .asm:1  - 19 feb 87 - general definitions'
;
; interrupt vectors
; -----------------
;
rst0loc		=	00h	;restart 0
rst1loc		=	08	;restart 1
rst2loc		=	10h	;restart 2
rst3loc		=	18h	;restart 3
rst4loc		=	20h	;restart 4
rst5loc		=	28h	;restart 5
rst6loc		=	30h	;restart 6
rst7loc		=	38h	;restart 7
;
nmiloc		=	66h	;nmi restart


; console 'initial .asm:11 - 19 feb 87 - data init & set up routines'
;
; local definitions
; -----------------
;
retrycount      =     16      ;max number of re-trys on disc errors
;
; default values
; --------------
;
defhut		=	15	;480 ms
defhlt		=	1*2	;4 ms
defnd		=	1	;non dma mode
defsrt		=	12	;default step rate
defheadsettle	=	15	;default head settle time



