2020-04-24 05:14:14 +10:00
|
|
|
0x8000 CONSTANT RAMSTART
|
|
|
|
0xf000 CONSTANT RS_ADDR
|
2020-05-12 11:08:24 +10:00
|
|
|
0xfffa CONSTANT PS_ADDR
|
2020-04-24 05:14:14 +10:00
|
|
|
0x80 CONSTANT ACIA_CTL
|
|
|
|
0x81 CONSTANT ACIA_IO
|
|
|
|
4 CONSTANT SDC_SPI
|
|
|
|
5 CONSTANT SDC_CSLOW
|
|
|
|
6 CONSTANT SDC_CSHIGH
|
|
|
|
RAMSTART 0x70 + CONSTANT ACIA_MEM
|
|
|
|
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-24 05:14:14 +10:00
|
|
|
: IMMEDIATE XIMM ;
|
|
|
|
: (entry) (xentry) ;
|
2020-05-12 11:52:44 +10:00
|
|
|
: CREATE XCREATE ;
|
2020-04-24 05:14:14 +10:00
|
|
|
: : [ ' X: , ] ;
|
|
|
|
|
|
|
|
CURRENT @ XCURRENT !
|
|
|
|
|
|
|
|
282 LOAD ( boot.z80 )
|
2020-05-09 11:47:03 +10:00
|
|
|
393 LOAD ( icore low )
|
2020-05-12 11:52:44 +10:00
|
|
|
352 LOAD ( acia )
|
|
|
|
372 LOAD ( sdc.z80 )
|
2020-05-09 11:47:03 +10:00
|
|
|
415 LOAD ( icore high )
|
2020-04-24 05:14:14 +10:00
|
|
|
(entry) _
|
2020-04-27 00:15:35 +10:00
|
|
|
( Update LATEST )
|
2020-04-28 23:15:17 +10:00
|
|
|
PC ORG @ 8 + !
|
2020-05-12 11:52:44 +10:00
|
|
|
422 452 XPACKR ( core print fmt readln )
|
2020-04-27 04:37:54 +10:00
|
|
|
123 132 XPACKR ( linker )
|
2020-04-27 04:52:55 +10:00
|
|
|
," : _ ACIA$ RDLN$ (ok) ; _ "
|
2020-05-06 10:10:04 +10:00
|
|
|
ORG @ 256 /MOD 2 PC! 2 PC!
|
2020-04-24 05:14:14 +10:00
|
|
|
H@ 256 /MOD 2 PC! 2 PC!
|