mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 20:18:04 +11:00
sms: don't use BC
The PAD driver was broken since IP moved to BC. Oops.
This commit is contained in:
parent
eafcb0c440
commit
32d5f87b4e
@ -1,4 +1,4 @@
|
|||||||
Sega Master System Recipe
|
Sega Master System Recipe
|
||||||
|
|
||||||
622 VDP 630 PAD
|
602 VDP 610 PAD
|
||||||
640 KBD
|
620 KBD
|
||||||
|
@ -3,13 +3,13 @@ CODE _status
|
|||||||
PAD_CTLPORT OUTiA,
|
PAD_CTLPORT OUTiA,
|
||||||
PAD_D1PORT INAi,
|
PAD_D1PORT INAi,
|
||||||
0x3f ANDi, ( low 6 bits are good )
|
0x3f ANDi, ( low 6 bits are good )
|
||||||
B A LDrr, ( let's store them )
|
H A LDrr, ( let's store them )
|
||||||
( Start and A are returned when TH is selected, in bits 5 and
|
( Start and A are returned when TH is selected, in bits 5 and
|
||||||
4. Well get them, left-shift them and integrate them to B. )
|
4. Well get them, left-shift them and integrate them to B. )
|
||||||
A 0b11011101 LDri, ( TH output, selected )
|
A 0b11011101 LDri, ( TH output, selected )
|
||||||
PAD_CTLPORT OUTiA,
|
PAD_CTLPORT OUTiA,
|
||||||
PAD_D1PORT INAi,
|
PAD_D1PORT INAi,
|
||||||
0b00110000 ANDi,
|
0b00110000 ANDi,
|
||||||
A SLA, A SLA, B ORr,
|
A SLA, A SLA, H ORr,
|
||||||
PUSHA,
|
PUSHA,
|
||||||
;CODE
|
;CODE
|
||||||
|
Loading…
Reference in New Issue
Block a user