directory structure cleanup

This commit is contained in:
FeralChild64 committed 2019-07-20 22:25:57 +02:00
1 parent c7727d4f0f
commit c30d4b31c9
75 files changed
+45 -45

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
;; According to http://www.zimmers.net/anonftp/pub/cbm/programming/serial-bus.pdf
;; pages 7--8.
;; See also https://www.pagetable.com/?p=1135, https://github.com/mist64/cbmbus_doc
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
;; Wait till device releases CLK line
jsr iec_wait_for_clk_release
;; Pull CLK line, it should be held by talker
jsr iec_pull_clk_release_data
plp
clc
rts