1 |
|
/* |
2 |
|
* rom_patches.cpp - ROM patches |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2002 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
998 |
|
*wp++ = htons(M68K_NOP); |
999 |
|
*wp = htons(M68K_NOP); |
1000 |
|
|
1001 |
< |
wp = (uint16 *)(ROMBaseHost + 0x2be8); // 60Hz handler (handles everything) |
1001 |
> |
wp = (uint16 *)(ROMBaseHost + 0x2be4); // 60Hz handler (handles everything) |
1002 |
> |
*wp++ = htons(M68K_NOP); |
1003 |
> |
*wp++ = htons(M68K_NOP); |
1004 |
|
*wp++ = htons(M68K_EMUL_OP_IRQ); |
1005 |
|
*wp++ = htons(0x4a80); // tst.l d0 |
1006 |
|
*wp = htons(0x67f4); // beq 0x402be2 |
1638 |
|
*wp++ = htons(M68K_NOP); |
1639 |
|
*wp = htons(M68K_NOP); |
1640 |
|
|
1641 |
< |
wp = (uint16 *)(ROMBaseHost + 0xa29a); // 60Hz handler (handles everything) |
1641 |
> |
wp = (uint16 *)(ROMBaseHost + 0xa296); // 60Hz handler (handles everything) |
1642 |
> |
*wp++ = htons(M68K_NOP); |
1643 |
> |
*wp++ = htons(M68K_NOP); |
1644 |
|
*wp++ = htons(M68K_EMUL_OP_IRQ); |
1645 |
|
*wp++ = htons(0x4a80); // tst.l d0 |
1646 |
|
*wp = htons(0x67f4); // beq 0x4080a294 |