1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-19 23:32:28 +00:00
CLK/OSBindings/Mac/Clock SignalTests/Bridges/MOS6522Bridge.h
2018-05-13 15:19:52 -04:00

23 lines
539 B
Objective-C

//
// MOS6522Bridge.h
// Clock Signal
//
// Created by Thomas Harte on 18/06/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MOS6522Bridge : 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)runForHalfCycles:(NSUInteger)numberOfHalfCycles;
@end