Mirror of CollapseOS
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

43 Zeilen
1.1KB

  1. ( 8K of onboard RAM )
  2. 0xdd00 CONSTANT RS_ADDR
  3. ( Memory register at the end of RAM. Must not overwrite )
  4. 0xddca CONSTANT PS_ADDR
  5. RS_ADDR 0xb0 - CONSTANT SYSVARS
  6. 0xc000 CONSTANT HERESTART
  7. 0xbf CONSTANT TMS_CTLPORT
  8. 0xbe CONSTANT TMS_DATAPORT
  9. SYSVARS 0xa0 + CONSTANT GRID_MEM
  10. SYSVARS 0xa3 + CONSTANT CPORT_MEM
  11. 0x3f CONSTANT CPORT_CTL
  12. 0xdc CONSTANT CPORT_D1
  13. 0xdd CONSTANT CPORT_D2
  14. SYSVARS 0xa4 + CONSTANT PAD_MEM
  15. 5 LOAD ( z80 assembler )
  16. 262 LOAD ( xcomp )
  17. 524 LOAD ( font compiler )
  18. 165 LOAD ( Sega ROM signer )
  19. 282 LOAD ( boot.z80.decl )
  20. 270 LOAD ( xcomp overrides )
  21. DI, 0x100 JP, 0x62 ALLOT0 ( 0x66 )
  22. RETN, 0x98 ALLOT0 ( 0x100 )
  23. ( All set, carry on! )
  24. CURRENT @ XCURRENT !
  25. 0x100 BIN( !
  26. 283 335 LOADR ( boot.z80 )
  27. 353 LOAD ( xcomp core low )
  28. CREATE ~FNT CPFNT7x7
  29. 470 472 LOADR ( TMS9918 )
  30. 602 604 LOADR ( VDP )
  31. 402 404 LOADR ( Grid )
  32. 625 626 LOADR ( SMS ports )
  33. 612 617 LOADR ( PAD )
  34. 390 LOAD ( xcomp core high )
  35. (entry) _
  36. ( Update LATEST )
  37. PC ORG @ 8 + !
  38. ," VDP$ GRID$ PAD$ (im1) " EOT,
  39. ORG @ 0x100 - DUP |M 2 PC! 2 PC!
  40. DUP 1 ( 16K ) segasig
  41. 0x4000 + |M 2 PC! 2 PC!