tape code size optimization

This commit is contained in:
FeralChild64 committed 2020-01-14 18:12:20 +01:00
1 parent 30238362c1
commit 8e162a3161
2 files changed
+10 -1

No files matched your search

+9
View File
@@ -13,6 +13,12 @@
tape_turbo_get_bit:
#if CONFIG_TAPE_NORMAL
jsr tape_normal_get_pulse // reuse routine from NORMAL system
#else
lda #$10
!:
bit CIA1_ICR // $DC0D
@@ -21,6 +27,9 @@ tape_turbo_get_bit:
ldx #%01010001 // start timer, force latch reload, count timer A underflows
stx CIA2_CRB // $DD0F
#endif
#if CONFIG_TAPE_TURBO_AUTOCALIBRATE
tax
cmp IRQTMP+0