2020-05-08 20:50:34 +10:00
|
|
|
0x8000 CONSTANT RAMSTART
|
|
|
|
0xb000 CONSTANT RS_ADDR
|
2020-05-09 22:50:55 +10:00
|
|
|
RAMSTART 0x70 + CONSTANT LCD_MEM
|
2020-05-10 01:55:58 +10:00
|
|
|
0x01 CONSTANT KBD_PORT
|
2020-05-08 20:50:34 +10:00
|
|
|
212 LOAD ( z80 assembler )
|
|
|
|
262 LOAD ( xcomp )
|
2020-05-08 23:07:44 +10:00
|
|
|
522 LOAD ( font compiler )
|
2020-05-08 20:50:34 +10:00
|
|
|
: CODE XCODE ;
|
|
|
|
: IMMEDIATE XIMM ;
|
|
|
|
: (entry) (xentry) ;
|
2020-05-10 01:55:58 +10:00
|
|
|
: CREATE XCREATE ; ( for KBD tbls )
|
2020-05-08 20:50:34 +10:00
|
|
|
: : [ ' X: , ] ;
|
|
|
|
|
|
|
|
CURRENT @ XCURRENT !
|
|
|
|
|
|
|
|
282 LOAD ( boot.z80 )
|
2020-05-09 11:47:03 +10:00
|
|
|
393 LOAD ( icore low )
|
2020-05-10 01:55:58 +10:00
|
|
|
555 557 LOADR ( LCD low )
|
2020-05-10 10:54:47 +10:00
|
|
|
566 570 LOADR ( KBD low )
|
2020-05-09 11:47:03 +10:00
|
|
|
415 LOAD ( icore high )
|
2020-05-08 23:07:44 +10:00
|
|
|
(entry) ~FNT CPFNT3x5
|
2020-05-08 20:50:34 +10:00
|
|
|
(entry) _
|
|
|
|
( Update LATEST )
|
|
|
|
PC ORG @ 8 + !
|
2020-05-08 21:56:34 +10:00
|
|
|
422 437 XPACKR ( core )
|
2020-05-10 01:55:58 +10:00
|
|
|
558 560 XPACKR ( LCD high )
|
2020-05-10 05:31:41 +10:00
|
|
|
438 451 XPACKR ( print fmt readln )
|
2020-05-10 04:28:55 +10:00
|
|
|
," : _ LCD$ (ok) RDLN$ ; _ "
|
2020-05-08 20:50:34 +10:00
|
|
|
ORG @ 256 /MOD 2 PC! 2 PC!
|
|
|
|
H@ 256 /MOD 2 PC! 2 PC!
|