apple2idiot/cc65-lib/apple2idiot.h

11 lines
406 B
C
Raw Permalink Normal View History

2021-10-05 23:54:29 +00:00
#ifndef _A2I_H
#define _A2I_H
unsigned int read_byte(unsigned int address);
2021-10-05 23:54:29 +00:00
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);
2021-10-05 23:54:29 +00:00
#endif