2016-06-20 00:12:47 +00:00
|
|
|
//
|
|
|
|
// MOS6532Bridge.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 19/06/2016.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-06-20 00:12:47 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@interface MOS6532Bridge : NSObject
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) BOOL irqLine;
|
|
|
|
@property (nonatomic) uint8_t portBInput;
|
|
|
|
@property (nonatomic) uint8_t portAInput;
|
|
|
|
|
|
|
|
- (void)setValue:(uint8_t)value forRegister:(NSUInteger)registerNumber;
|
|
|
|
- (uint8_t)valueForRegister:(NSUInteger)registerNumber;
|
|
|
|
|
|
|
|
- (void)runForCycles:(NSUInteger)numberOfCycles;
|
|
|
|
|
|
|
|
@end
|