You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
697 B
C

// redbus.h
void rb_enable(void);
void rb_disable(void);
void __fastcall__ rb_set_window(void* address);
void __fastcall__ rb_map_device(unsigned char id);
// 0x00 Map device in Reg A to redbus window.
// 0x80 Get mapped device to A.
// 0x01 Redbus Window offset to A
// 0x81 Get RB window offset to A.
// 0x02 Enable redbus
// 0x82 Disable redbus
// 0x03 Set external memory mapped window to A.
// 0x83 Get memory mapped window to A.
// 0x04 Enable external memory mapped window.
// 0x84 Disable external memory mapped window.
// 0x05 Set BRK address to A
// 0x85 Get BRK address to A
// 0x06 Set POR address to A
// 0x86 Get POR address to A
// 0xFF Output A register to MC logfile.