fixed bug preventing JiffDOS stack from loading files
This commit is contained in:
1 parent
24a8e52ad3
commit
89b887cd12
15 files changed
+12
-10
No files matched your search
@@ -103,6 +103,12 @@ Adds support for the IEEC bus - for serial printers, disk drives, etc.
|
||||
|
||||
Needs over 1000 bytes in KERNAL segment. If unsure - enable.
|
||||
|
||||
### `CONFIG_IEC_JIFFYDOS`
|
||||
|
||||
Adds support for JiffyDOS pprotocol to the IEC bus (note, that it currentlyy lacks the optimized LOAD loop, so it will be slower than original JiffyDOS enabled Kernal ROMs).
|
||||
|
||||
Needs over 320 bytes in KERNAL segment. If unsure - enable.
|
||||
|
||||
### `CONFIG_TAPE_TURBO`
|
||||
|
||||
Adds a minimal turbo tape support - just LOAD command (device 7, like on _Action Replay_ and _Final_ cartridges)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user