more JiffyDOS code - low nibble TX, general turbo dispatcher

This commit is contained in:
FeralChild64 committed 2019-11-18 19:03:05 +01:00
1 parent 28bc07ea23
commit d0fd34e79f
10 files changed
+422 -293

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
//
// Helper table for encoding lower nibble for JiffyyDOS,
// values found by observing the actual transfer
//
#if CONFIG_IEC_JIFFYDOS
// XXX consider calculating the values on-the-fly
iec_jiffydos_bittable:
.byte $00
.byte $80 // $10 + $70
.byte $20
.byte $A0 // $30 + $70
.byte $40
.byte $C0 // $50 + $70
.byte $60
.byte $E0 // $70 + $70
.byte $10 // $80 - $70
.byte $90
.byte $30 // $A0 - $70
.byte $B0
.byte $50 // $C0 - $70
.byte $D0
.byte $70 // $E0 - $70
.byte $F0
#endif // CONFIG_IEC_JIFFYDOS