mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-16 16:28:59 +00:00
23 lines
534 B
C
23 lines
534 B
C
|
//
|
||
|
// MOS6532Bridge.h
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 19/06/2016.
|
||
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#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
|