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

+22
View File
@@ -0,0 +1,22 @@
iec_wait100us:
;; Wait 100usec
;; PAL:
;; - CPU frequency 0.985248 MHz, we need to waste at least 99 cycles
;; NTSC:
;; - CPU frequency 1.022727 MHZ, we need to waste at least 103 cycles
;; Waste cycles in a loop
ldy #$12 ; 2 cycles
* dey ; 2 cycles * 18
bpl - ; 3 cycles * 17 + 2 cycles
rts ; 6 cycles
;; 6 cycles JSR to routine,
;; 97 cycles routine with RTS
;; 1 cycle to fetch next instruction
;; ---
;; 104 cycles