1 | /*****************************************************************************\ |
2 | Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. |
3 | This file is licensed under the Snes9x License. |
4 | For further information, consult the LICENSE file in the root directory. |
5 | \*****************************************************************************/ |
6 | |
7 | #ifndef _OBC1_H_ |
8 | #define _OBC1_H_ |
9 | |
10 | struct SOBC1 |
11 | { |
12 | uint16 address; |
13 | uint16 basePtr; |
14 | uint16 shift; |
15 | }; |
16 | |
17 | extern struct SOBC1 OBC1; |
18 | |
19 | void S9xSetOBC1 (uint8, uint16); |
20 | uint8 S9xGetOBC1 (uint16); |
21 | void S9xResetOBC1 (void); |
22 | uint8 * S9xGetBasePointerOBC1 (uint16); |
23 | uint8 * S9xGetMemPointerOBC1 (uint16); |
24 | |
25 | #endif |
26 | |