
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>

#include "hwInterface.h"

void startTimer() {;};
void stopTimer() {;};
void enableTimerInterrupt() {;};
void enableExternalInterrupt() {;};
void disableExternalInterrupt() {;};

uint8_t ports[2] = {0xFF, 0xFF};

uint8_t portRead(uint8_t port) {
    return ports[port];
}

void portWrite(uint8_t data, uint8_t port) {
    ports[port] = data;
}


uint8_t busRead() {
    static uint8_t busIn = 0;
    return busIn;
};

void busWrite(uint8_t data) {
    static uint8_t busOut;
    busOut = data;
    printf("busOut: 0x%02X\n", busOut);
};
