mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-17 00:18:05 +11:00
d1718a90c7
Because that mode behaves exactly like in a regular TMS9918, a new driver for TMS9918 has been added in blkfs and SMS' VDP now uses it. Also, fix broken 5x7 font.
13 lines
349 B
Plaintext
13 lines
349 B
Plaintext
( Z80 driver for TMS9918. Implements grid protocol. Requires
|
|
TMS_CTLPORT, TMS_DATAPORT and ~FNT from the Font compiler at
|
|
B520. Load range B470-472 )
|
|
CODE _ctl ( a -- sends LSB then MSB )
|
|
HL POP, chkPS,
|
|
A L LDrr, TMS_CTLPORT OUTiA,
|
|
A H LDrr, TMS_CTLPORT OUTiA,
|
|
;CODE
|
|
CODE _data
|
|
HL POP, chkPS,
|
|
A L LDrr, TMS_DATAPORT OUTiA,
|
|
;CODE
|