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 ;
|
2020-05-12 21:08:18 -04:00
|
|
|
: COMPILE XCOMPILE ; IMMEDIATE
|
|
|
|
: [COMPILE] X[COMPILE] ; IMMEDIATE
|
2020-04-28 07:51:41 -04:00
|
|
|
: 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-12 21:27:06 -04:00
|
|
|
430 459 XPACKR ( core 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!
|