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.

44 Zeilen
1.1KB

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