mirror of
https://github.com/Luigi30/FruitMachine-Swift.git
synced 2024-11-23 02:33:00 +00:00
boots prodos 2.4!
This commit is contained in:
parent
181b98b95c
commit
6a149b3365
@ -63,6 +63,11 @@ class LanguageCard16K: NSObject, Peripheral, HasROM {
|
||||
readAnyway: false,
|
||||
action: actionDispatchOperation)
|
||||
|
||||
writeIOOverride = WriteOverride(start: UInt16(0xC080 + (0x10 * slotNumber)),
|
||||
end: UInt16(0xC08F + (0x10 * slotNumber)),
|
||||
writeAnyway: false,
|
||||
action: actionDispatchOperation)
|
||||
|
||||
readLanguageCardAddressingOverride = ReadOverride(start: UInt16(0xD000),
|
||||
end: UInt16(0xFFFF),
|
||||
readAnyway: false,
|
||||
@ -76,6 +81,7 @@ class LanguageCard16K: NSObject, Peripheral, HasROM {
|
||||
CPU.sharedInstance.memoryInterface.read_overrides.append(RDLCBNKOverride!)
|
||||
CPU.sharedInstance.memoryInterface.read_overrides.append(RDLCRAMOverride!)
|
||||
CPU.sharedInstance.memoryInterface.read_overrides.append(readIOOverride!)
|
||||
CPU.sharedInstance.memoryInterface.write_overrides.append(writeIOOverride!)
|
||||
CPU.sharedInstance.memoryInterface.read_overrides.append(readLanguageCardAddressingOverride!)
|
||||
CPU.sharedInstance.memoryInterface.write_overrides.append(writeLanguageCardAddressingOverride!)
|
||||
}
|
||||
|
@ -259,10 +259,6 @@ final class CPU: NSObject {
|
||||
throw CPUExceptions.invalidInstruction
|
||||
}
|
||||
|
||||
if(program_counter == 0x102F) {
|
||||
print("$102F")
|
||||
}
|
||||
|
||||
self.old_program_counter = self.program_counter
|
||||
operation!.action(CPU.sharedInstance, operation!.addressingMode)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user