Mirror of CollapseOS
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

47 linhas
1.2KB

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