2020-04-28 07:51:41 -04:00
|
|
|
0xf000 CONSTANT RS_ADDR
|
2020-05-11 21:08:24 -04:00
|
|
|
0xfffa CONSTANT PS_ADDR
|
2020-04-29 12:26:44 -04:00
|
|
|
RS_ADDR 0x80 - CONSTANT RAMSTART
|
2020-04-28 07:51:41 -04:00
|
|
|
212 LOAD ( z80 assembler )
|
|
|
|
262 LOAD ( xcomp )
|
|
|
|
: CODE XCODE ;
|
|
|
|
: IMMEDIATE XIMM ;
|
|
|
|
: (entry) (xentry) ;
|
|
|
|
: : [ ' X: , ] ;
|
|
|
|
|
|
|
|
CURRENT @ XCURRENT !
|
|
|
|
|
|
|
|
0x3000 BIN( !
|
|
|
|
282 LOAD ( boot.z80 )
|
2020-04-29 21:00:45 -04:00
|
|
|
492 LOAD ( trs80.z80 )
|
2020-05-08 21:47:03 -04:00
|
|
|
393 LOAD ( icore low )
|
|
|
|
415 LOAD ( icore high )
|
2020-04-28 07:51:41 -04:00
|
|
|
(entry) _
|
|
|
|
( Update LATEST )
|
2020-04-28 09:15:17 -04:00
|
|
|
PC ORG @ 8 + !
|
2020-04-29 12:26:44 -04:00
|
|
|
," CURRENT @ HERE ! "
|
2020-05-02 21:47:32 -04:00
|
|
|
422 459 XPACKR ( core print readln fmt blk )
|
2020-04-30 16:10:35 -04:00
|
|
|
499 500 XPACKR ( trs80.fs )
|
2020-05-04 09:21:10 -04:00
|
|
|
( 0x0a == NLPTR. TRS-80 wants CR-only newlines )
|
|
|
|
," : _ ['] CR 0x0a RAM+ ! BLK$ FD$ (ok) RDLN$ ; _ "
|
2020-05-05 20:10:04 -04:00
|
|
|
ORG @ 256 /MOD 2 PC! 2 PC!
|
2020-04-28 07:51:41 -04:00
|
|
|
H@ 256 /MOD 2 PC! 2 PC!
|