mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-08 14:25:05 +00:00
Added forwarding of a loaded PRG from the Swift document to the wrapper. So I think that possibly completes the Swift side of things?
This commit is contained in:
@@ -42,6 +42,6 @@ class Vic20Document: MachineDocument {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override func readFromData(data: NSData, ofType typeName: String) throws {
|
override func readFromData(data: NSData, ofType typeName: String) throws {
|
||||||
print("\(data.length)")
|
vic20.setPRG(data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -14,6 +14,6 @@
|
|||||||
- (void)setKernelROM:(nonnull NSData *)rom;
|
- (void)setKernelROM:(nonnull NSData *)rom;
|
||||||
- (void)setBASICROM:(nonnull NSData *)rom;
|
- (void)setBASICROM:(nonnull NSData *)rom;
|
||||||
- (void)setCharactersROM:(nonnull NSData *)rom;
|
- (void)setCharactersROM:(nonnull NSData *)rom;
|
||||||
- (void)setROM:(nonnull NSData *)rom address:(uint16_t)address;
|
- (void)setPRG:(nonnull NSData *)rom;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
- (void)setCharactersROM:(nonnull NSData *)rom {
|
- (void)setCharactersROM:(nonnull NSData *)rom {
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setROM:(nonnull NSData *)rom address:(uint16_t)address {
|
- (void)setPRG:(nonnull NSData *)rom address:(uint16_t)address {
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setKey:(uint16_t)key isPressed:(BOOL)isPressed {
|
- (void)setKey:(uint16_t)key isPressed:(BOOL)isPressed {
|
||||||
|
Reference in New Issue
Block a user