fixed bug preventing JiffDOS stack from loading files

This commit is contained in:
FeralChild64 committed 2019-12-04 20:56:20 +01:00
1 parent 24a8e52ad3
commit 89b887cd12
15 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@
// I/O devices
#define CONFIG_IEC
// #define CONFIG_IEC_JIFFYDOS // please keep disabled for now
#define CONFIG_IEC_JIFFYDOS
// #define CONFIG_TAPE_NORMAL // please keep disabled for now
#define CONFIG_TAPE_TURBO
// #define CONFIG_RS232_UP2400 // please keep disabled for now
+1 -1
View File
@@ -43,7 +43,7 @@
// I/O devices
#define CONFIG_IEC
// #define CONFIG_IEC_JIFFYDOS // please keep disabled for now
#define CONFIG_IEC_JIFFYDOS
// #define CONFIG_TAPE_NORMAL // please keep disabled for now
// #define CONFIG_TAPE_TURBO
// #define CONFIG_RS232_UP2400 // please keep disabled for now
+1 -1
View File
@@ -42,7 +42,7 @@
// I/O devices
#define CONFIG_IEC
// #define CONFIG_IEC_JIFFYDOS // please keep disabled for now
#define CONFIG_IEC_JIFFYDOS
// #define CONFIG_TAPE_NORMAL // please keep disabled for now
#define CONFIG_TAPE_TURBO
// #define CONFIG_RS232_UP2400 // please keep disabled for now
+1 -1
View File
@@ -41,7 +41,7 @@
// I/O devices
#define CONFIG_IEC
// #define CONFIG_IEC_JIFFYDOS // please keep disabled for now
#define CONFIG_IEC_JIFFYDOS
// #define CONFIG_TAPE_NORMAL // please keep disabled for now
#define CONFIG_TAPE_TURBO
// #define CONFIG_RS232_UP2400 // please keep disabled for now
+1 -1
View File
@@ -317,7 +317,7 @@
#if !CONFIG_IEC_JIFFYDOS
.eval features_str = ADD_FEATURE(features_str, "IEC")
#else
.eval features_str = ADD_FEATURE(features_str, "IEC JIFFY-DEV")
.eval features_str = ADD_FEATURE(features_str, "IEC JIFFY")
#endif
#endif
+1 -5
View File
@@ -48,7 +48,6 @@ iec_tx_byte_jiffydos:
// Notify device that we are going to send byte by releasing everything
stx CIA2_PRA // cycles: 4
// Send high nibble; cycles: 4 + 3 + 4 + 2 + 2 + 2 + 3 + 4 = 24
pla // retrieve high nibble from stack
ora C3PO // restore VIC-II and RS-232 bits
@@ -80,10 +79,6 @@ iec_tx_byte_jiffydos_finalize:
ora #BIT_CIA2_PRA_CLK_OUT // pull CLK
sta CIA2_PRA
// Indicate that no byte waits in output buffer
lda #$00
sta C3PO
// Restore proper IECPROTO value
lda #$01
sta IECPROTO
@@ -99,6 +94,7 @@ iec_tx_byte_jiffydos_finalize:
iec_tx_byte_jiffydos_wait_eoi:
sta CIA2_PRA
jsr iec_wait60us // XXX is it enough?
lda C3PO
jmp iec_tx_byte_jiffydos_finalize