Implement Game Gear start button and region register
author |
Michael Pavone <pavone@retrodev.com> |
date |
Sun, 21 Aug 2022 22:56:32 -0700 |
parents |
c206a422d466 |
children |
|
rev |
line source |
1610
|
1 #ifndef JCART_H_
|
|
2 #define JCART_H_
|
|
3
|
|
4 void *jcart_write_w(uint32_t address, void *context, uint16_t value);
|
|
5 void *jcart_write_b(uint32_t address, void *context, uint8_t value);
|
|
6 uint16_t jcart_read_w(uint32_t address, void *context);
|
|
7 uint8_t jcart_read_b(uint32_t address, void *context);
|
|
8 void jcart_adjust_cycles(genesis_context *context, uint32_t deduction);
|
|
9 void jcart_gamepad_down(genesis_context *context, uint8_t gamepad_num, uint8_t button);
|
|
10 void jcart_gamepad_up(genesis_context *context, uint8_t gamepad_num, uint8_t button);
|
|
11
|
|
12 #endif //JCART_H_
|