2020-05-14 22:15:31 -04:00
|
|
|
( 8K of onboard RAM )
|
|
|
|
0xdd00 CONSTANT RS_ADDR
|
|
|
|
( Memory register at the end of RAM. Must not overwrite )
|
|
|
|
0xddca CONSTANT PS_ADDR
|
2020-06-28 19:45:28 -04:00
|
|
|
RS_ADDR 0x80 - CONSTANT SYSVARS
|
|
|
|
0xc000 CONSTANT HERESTART
|
2020-11-13 12:15:20 -05:00
|
|
|
0xbf CONSTANT TMS_CTLPORT
|
|
|
|
0xbe CONSTANT TMS_DATAPORT
|
2020-11-09 17:15:41 -05:00
|
|
|
SYSVARS 0x70 + CONSTANT GRID_MEM
|
2020-11-14 22:35:08 -05:00
|
|
|
SYSVARS 0x73 + CONSTANT CPORT_MEM
|
2020-11-02 18:53:57 -05:00
|
|
|
0x3f CONSTANT CPORT_CTL
|
|
|
|
0xdc CONSTANT CPORT_D1
|
|
|
|
0xdd CONSTANT CPORT_D2
|
2020-11-14 22:35:08 -05:00
|
|
|
SYSVARS 0x74 + CONSTANT PAD_MEM
|
2020-09-21 17:51:08 -04:00
|
|
|
5 LOAD ( z80 assembler )
|
2020-05-14 22:15:31 -04:00
|
|
|
262 LOAD ( xcomp )
|
|
|
|
524 LOAD ( font compiler )
|
2020-11-25 21:42:07 -05:00
|
|
|
165 LOAD ( Sega ROM signer )
|
2020-06-26 21:41:17 -04:00
|
|
|
282 LOAD ( boot.z80.decl )
|
2020-05-14 22:15:31 -04:00
|
|
|
270 LOAD ( xcomp overrides )
|
|
|
|
|
2020-12-07 19:17:51 -05:00
|
|
|
DI, 0x100 JP, 0x62 ALLOT0 ( 0x66 )
|
|
|
|
RETN, 0x98 ALLOT0 ( 0x100 )
|
2020-05-14 22:15:31 -04:00
|
|
|
( All set, carry on! )
|
|
|
|
CURRENT @ XCURRENT !
|
|
|
|
0x100 BIN( !
|
2020-06-26 21:41:17 -04:00
|
|
|
283 335 LOADR ( boot.z80 )
|
2020-05-15 22:44:49 -04:00
|
|
|
353 LOAD ( xcomp core low )
|
2020-05-14 22:15:31 -04:00
|
|
|
CREATE ~FNT CPFNT7x7
|
2020-11-13 12:15:20 -05:00
|
|
|
470 472 LOADR ( TMS9918 )
|
|
|
|
602 604 LOADR ( VDP )
|
2020-11-09 17:15:41 -05:00
|
|
|
402 404 LOADR ( Grid )
|
2020-11-02 18:53:57 -05:00
|
|
|
625 626 LOADR ( SMS ports )
|
2020-09-20 10:21:21 -04:00
|
|
|
612 617 LOADR ( PAD )
|
2020-10-28 18:06:58 -04:00
|
|
|
390 LOAD ( xcomp core high )
|
2020-05-14 22:15:31 -04:00
|
|
|
(entry) _
|
|
|
|
( Update LATEST )
|
|
|
|
PC ORG @ 8 + !
|
2020-11-14 22:35:08 -05:00
|
|
|
," VDP$ GRID$ PAD$ (im1) " EOT,
|
2020-11-25 21:42:07 -05:00
|
|
|
ORG @ 0x100 - DUP 256 /MOD 2 PC! 2 PC!
|
|
|
|
DUP 1 ( 16K ) segasig
|
|
|
|
0x4000 + 256 /MOD 2 PC! 2 PC!
|