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