Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
706B

  1. 0x8000 CONSTANT RAMSTART
  2. 0xf000 CONSTANT RS_ADDR
  3. 0x80 CONSTANT ACIA_CTL
  4. 0x81 CONSTANT ACIA_IO
  5. 4 CONSTANT SDC_SPI
  6. 5 CONSTANT SDC_CSLOW
  7. 6 CONSTANT SDC_CSHIGH
  8. RAMSTART 0x70 + CONSTANT ACIA_MEM
  9. 212 LOAD ( z80 assembler )
  10. 262 LOAD ( xcomp )
  11. : CODE XCODE ;
  12. : IMMEDIATE XIMM ;
  13. : (entry) (xentry) ;
  14. : : [ ' X: , ] ;
  15. CURRENT @ XCURRENT !
  16. 282 LOAD ( boot.z80 )
  17. 352 LOAD ( acia.z80 )
  18. 372 LOAD ( sdc.z80 )
  19. 393 LOAD ( icore low )
  20. 415 LOAD ( icore high )
  21. (entry) _
  22. ( Update LATEST )
  23. PC ORG @ 8 + !
  24. 422 437 XPACKR ( core )
  25. 358 360 XPACKR ( acia.fs )
  26. 438 452 XPACKR ( print fmt readln )
  27. 123 132 XPACKR ( linker )
  28. ," : _ ACIA$ RDLN$ (ok) ; _ "
  29. ORG @ 256 /MOD 2 PC! 2 PC!
  30. H@ 256 /MOD 2 PC! 2 PC!