2015-07-17 00:40:46 +00:00
|
|
|
//
|
|
|
|
// Atari2600.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 14/07/2015.
|
|
|
|
// Copyright © 2015 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2015-07-26 19:25:11 +00:00
|
|
|
#import "CSCathodeRayView.h"
|
2015-08-19 00:33:24 +00:00
|
|
|
#include "Atari2600Inputs.h"
|
2015-07-24 00:45:07 +00:00
|
|
|
|
2015-07-17 00:40:46 +00:00
|
|
|
@interface CSAtari2600 : NSObject
|
|
|
|
|
2015-07-28 01:15:10 +00:00
|
|
|
@property (nonatomic, weak) CSCathodeRayView *view;
|
2015-07-24 00:45:07 +00:00
|
|
|
|
2015-07-17 00:40:46 +00:00
|
|
|
- (void)runForNumberOfCycles:(int)cycles;
|
2015-09-03 16:28:16 +00:00
|
|
|
- (void)setROM:(NSData * __nonnull)rom;
|
2015-08-19 00:58:05 +00:00
|
|
|
|
2015-08-19 00:33:24 +00:00
|
|
|
- (void)setState:(BOOL)state forDigitalInput:(Atari2600DigitalInput)digitalInput;
|
2015-08-19 00:58:05 +00:00
|
|
|
- (void)setResetLineEnabled:(BOOL)enabled;
|
2015-07-17 00:40:46 +00:00
|
|
|
|
|
|
|
@end
|