apple2idiot/examples/30-dnd5eapi-cc65/iss-tracker/apple2/src/apple2idiot.h

11 lines
406 B
C

#ifndef _A2I_H
#define _A2I_H
unsigned int read_byte(unsigned int address);
unsigned char write_byte(unsigned int address, unsigned char byte_to_write);
unsigned char* write_string_to_ram(unsigned int address, char* string_to_send);
void read_string_from_ram(unsigned int address, char *data, char length);
unsigned char write_byte_wait_for_ack(unsigned int address, unsigned char byte_to_write);
#endif