OSDN Git Service

joypad lib done
[motonesemu/motonesemu.git] / emulator / bus.h
1 #ifndef __bus_h__
2 #define __bus_h__
3
4 void set_bus_addr(unsigned short addr);
5 void set_bus_data(unsigned char data);
6 char get_bus_data(void);
7
8 void start_bus(void);
9 void end_bus(void);
10 void set_rw_pin(int rw);
11
12 void release_bus(void);
13 void take_bus(void);
14
15 void set_nmi_pin(int val);
16 int get_nmi_pin(void);
17
18 #endif /*__bus_h__*/
19