commented-out some dead code, improved ATN handling
This commit is contained in:
1 parent
76b39abd8e
commit
24a8e52ad3
2 files changed
+16
-11
No files matched your search
+12
-10
@@ -63,17 +63,19 @@ kernalstatus_reset:
|
|||||||
sta IOSTATUS
|
sta IOSTATUS
|
||||||
rts
|
rts
|
||||||
|
|
||||||
kernalstatus_TIMEOUT_WRITE: // XXX detect this!
|
// The following two statuses are currentl not implemented - and most likely not really needed
|
||||||
lda IOSTATUS
|
|
||||||
ora #K_STS_TIMEOUT_WRITE
|
|
||||||
sta IOSTATUS
|
|
||||||
rts
|
|
||||||
|
|
||||||
kernalstatus_TIMEOUT_READ: // XXX detect this!
|
// kernalstatus_TIMEOUT_WRITE:
|
||||||
lda IOSTATUS
|
// lda IOSTATUS
|
||||||
ora #K_STS_TIMEOUT_READ
|
// ora #K_STS_TIMEOUT_WRITE
|
||||||
sta IOSTATUS
|
// sta IOSTATUS
|
||||||
rts
|
// rts
|
||||||
|
|
||||||
|
// kernalstatus_TIMEOUT_READ:
|
||||||
|
// lda IOSTATUS
|
||||||
|
// ora #K_STS_TIMEOUT_READ
|
||||||
|
// sta IOSTATUS
|
||||||
|
// rts
|
||||||
|
|
||||||
kernalstatus_EOI:
|
kernalstatus_EOI:
|
||||||
lda IOSTATUS
|
lda IOSTATUS
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ iec_tx_byte_jiffydos:
|
|||||||
phx_trash_a
|
phx_trash_a
|
||||||
phy_trash_a
|
phy_trash_a
|
||||||
|
|
||||||
|
// Make sure we are not sending data on ATN
|
||||||
|
jsr iec_release_atn
|
||||||
|
|
||||||
// Store previous sprite status on stack
|
// Store previous sprite status on stack
|
||||||
jsr jiffydos_prepare
|
jsr jiffydos_prepare
|
||||||
pha
|
pha
|
||||||
@@ -96,7 +99,7 @@ iec_tx_byte_jiffydos_finalize:
|
|||||||
|
|
||||||
iec_tx_byte_jiffydos_wait_eoi:
|
iec_tx_byte_jiffydos_wait_eoi:
|
||||||
|
|
||||||
jsr iec_wait20us // XXX is it enough?
|
jsr iec_wait60us // XXX is it enough?
|
||||||
lda C3PO
|
lda C3PO
|
||||||
jmp iec_tx_byte_jiffydos_finalize
|
jmp iec_tx_byte_jiffydos_finalize
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user