OXYGENHUB
◆ main x16-emulator / src / vera_spi.h
335 B · Objective-C · last changed main: while the CPU waits in WAI, step the machine to its next event at once 14 days ago source blame history raw
1
// Commander X16 Emulator
2
// Copyright (c) 2019 Michael Steil
3
// All rights reserved. License: 2-clause BSD
4
5
#include <inttypes.h>
6
#include <stdbool.h>
7
8
void vera_spi_init();
9
void vera_spi_step(int mhz, int clocks);
10
bool vera_spi_busy(void);
11
uint8_t vera_spi_read(uint8_t address);
12
void vera_spi_write(uint8_t address, uint8_t value);