2016-01-05 04:16:37 +00:00
|
|
|
//
|
|
|
|
// CSElectron.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 04/01/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "CSMachine.h"
|
2016-01-12 00:48:31 +00:00
|
|
|
#import "KeyCodes.h"
|
2016-01-05 04:16:37 +00:00
|
|
|
|
|
|
|
@interface CSElectron : CSMachine
|
|
|
|
|
2016-01-07 04:14:36 +00:00
|
|
|
- (void)setOSROM:(nonnull NSData *)rom;
|
|
|
|
- (void)setBASICROM:(nonnull NSData *)rom;
|
2016-01-13 03:34:26 +00:00
|
|
|
- (void)setROM:(nonnull NSData *)rom slot:(int)slot;
|
2016-01-21 02:55:38 +00:00
|
|
|
- (BOOL)openUEFAtURL:(nonnull NSURL *)URL;
|
2016-01-07 04:14:36 +00:00
|
|
|
|
2016-01-12 00:48:31 +00:00
|
|
|
- (void)setKey:(uint16_t)key isPressed:(BOOL)isPressed;
|
|
|
|
|
2016-02-05 04:05:47 +00:00
|
|
|
- (void)drawViewForPixelSize:(CGSize)pixelSize onlyIfDirty:(BOOL)onlyIfDirty;
|
2016-02-05 03:28:50 +00:00
|
|
|
|
2016-01-05 04:16:37 +00:00
|
|
|
@end
|