mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:18:06 +11:00
1312817117
Previously, recipes that began spitting binary contents before loading block 282 would end up with VARIABLE code in their binary, thus breaking them. We fix this by making this loading process 2-part.
16 lines
535 B
Plaintext
16 lines
535 B
Plaintext
0x8000 CONSTANT RAMSTART
|
|
0xff00 CONSTANT RS_ADDR 0xfffa CONSTANT PS_ADDR
|
|
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 ) 282 LOAD ( boot.z80.decl )
|
|
270 LOAD ( xcomp overrides ) 283 335 LOADR ( boot.z80 )
|
|
353 LOAD ( xcomp core low ) 582 LOAD ( acia )
|
|
380 LOAD ( xcomp core high )
|
|
(entry) _
|
|
( Update LATEST )
|
|
PC ORG @ 8 + !
|
|
," ACIA$ " EOT,
|