more comments, slightly safer IEC

This commit is contained in:
FeralChild64 committed 2019-07-17 23:04:04 +02:00
1 parent 6bf715e610
commit 47019cc25d
12 files changed
+102 -12

No files matched your search

+5
View File
@@ -4,6 +4,10 @@
iec_turnaround_to_talk:
;; Timing is critical here - execute on disabled IRQs
php
sei
;; First make sure both CLK, DATA and ATN are released at our side
jsr iec_release_atn
jsr iec_release_clk_data
@@ -14,5 +18,6 @@ iec_turnaround_to_talk:
;; Pull CLK line, it should be held by talker
jsr iec_pull_clk_release_data
plp
clc
rts