mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-28 07:29:45 +00:00
28 lines
679 B
Objective-C
28 lines
679 B
Objective-C
//
|
|
// CSElectron.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 04/01/2016.
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#include "CSMachine.h"
|
|
#import "KeyCodes.h"
|
|
|
|
@interface CSElectron : CSMachine
|
|
|
|
- (void)setOSROM:(nonnull NSData *)rom;
|
|
- (void)setBASICROM:(nonnull NSData *)rom;
|
|
- (void)setROM:(nonnull NSData *)rom slot:(int)slot;
|
|
- (BOOL)openUEFAtURL:(nonnull NSURL *)URL;
|
|
|
|
- (void)setKey:(uint16_t)key isPressed:(BOOL)isPressed;
|
|
- (void)clearAllKeys;
|
|
|
|
- (void)drawViewForPixelSize:(CGSize)pixelSize onlyIfDirty:(BOOL)onlyIfDirty;
|
|
|
|
@property (nonatomic, assign) BOOL useFastLoadingHack;
|
|
@property (nonatomic, assign) BOOL useTelevisionOutput;
|
|
|
|
@end
|