Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

39 lignes
970B

  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 0x80 - CONSTANT SYSVARS
  6. 0xc000 CONSTANT HERESTART
  7. SYSVARS 0x70 + CONSTANT VDP_MEM
  8. 0xbf CONSTANT VDP_CTLPORT
  9. 0xbe CONSTANT VDP_DATAPORT
  10. 32 CONSTANT VDP_COLS
  11. 24 CONSTANT VDP_ROWS
  12. SYSVARS 0x72 + CONSTANT PAD_MEM
  13. 0x3f CONSTANT PAD_CTLPORT
  14. 0xdc CONSTANT PAD_D1PORT
  15. 212 LOAD ( z80 assembler )
  16. : ZFILL, ( u ) 0 DO 0 A, LOOP ;
  17. 262 LOAD ( xcomp )
  18. 524 LOAD ( font compiler )
  19. 282 LOAD ( boot.z80.decl )
  20. 270 LOAD ( xcomp overrides )
  21. 0x100 JPnn, 0x63 ZFILL, ( 0x66 )
  22. RETN, 0x98 ZFILL, ( 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. 623 628 LOADR ( VDP )
  30. 632 637 LOADR ( PAD )
  31. 380 LOAD ( xcomp core high )
  32. (entry) _
  33. ( Update LATEST )
  34. PC ORG @ 8 + !
  35. ," VDP$ PAD$ " EOT,
  36. ORG @ 0x100 - 256 /MOD 2 PC! 2 PC!
  37. H@ 256 /MOD 2 PC! 2 PC!