| Previous | 15994 Revisions | Next |
| r1303 Tuesday 20th November, 2007 at 00:49:24 UTC by Nathan Woods |
|---|
| [AMIGA] Created a better interface for this call |
| [src/mame/includes] | amiga.h |
| [src/mame/machine] | amiga.c |
| [src/mess/machine] | amigakbd.c |
| r1302 | r1303 | |
|---|---|---|
| 72 | 72 | UINT16 *amiga_expansion_ram; |
| 73 | 73 | UINT16 *amiga_autoconfig_mem; |
| 74 | 74 | |
| 75 | const amiga_machine_interface *amiga_intf; | |
| 75 | static const amiga_machine_interface *amiga_intf; | |
| 76 | 76 | |
| 77 | 77 | static autoconfig_device *autoconfig_list; |
| 78 | 78 | static autoconfig_device *cur_autoconfig; |
| r1302 | r1303 | |
| 1759 | 1759 | cur_autoconfig = cur_autoconfig->next; |
| 1760 | 1760 | } |
| 1761 | 1761 | } |
| 1762 | ||
| 1763 | ||
| 1764 | ||
| 1765 | /************************************* | |
| 1766 | * | |
| 1767 | * Get interface | |
| 1768 | * | |
| 1769 | *************************************/ | |
| 1770 | ||
| 1771 | const amiga_machine_interface *amiga_get_interface(void) | |
| 1772 | { | |
| 1773 | return amiga_intf; | |
| 1774 | } |
| r1302 | r1303 | |
|---|---|---|
| 394 | 394 | READ16_HANDLER( amiga_autoconfig_r ); |
| 395 | 395 | WRITE16_HANDLER( amiga_autoconfig_w ); |
| 396 | 396 | |
| 397 | const amiga_machine_interface *amiga_get_interface(void); | |
| 397 | 398 | |
| 399 | ||
| 398 | 400 | /*----------- defined in audio/amiga.c -----------*/ |
| 399 | 401 | |
| 400 | 402 | void *amiga_sh_start(int clock, const struct CustomSound_interface *config); |
| r1302 | r1303 | |
|---|---|---|
| 61 | 61 | /* Special case Page UP, which we will use as Action Replay button */ |
| 62 | 62 | if ( (index == 3) && ( delta & 0x80000000 ) && ( newvalue & 0x80000000 ) ) |
| 63 | 63 | { |
| 64 | | |
| 64 | | |
| 65 | 65 | |
| 66 | 66 | if ( amiga_intf != NULL && amiga_intf->nmi_callback ) |
| 67 | 67 | { |
| Previous | 15994 Revisions | Next |