1 |
|
/* |
2 |
|
* rom_patches.cpp - ROM patches |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 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 |
693 |
|
|
694 |
|
void InstallDrivers(uint32 pb) |
695 |
|
{ |
696 |
< |
D(bug("InstallDrivers\n")); |
696 |
> |
D(bug("InstallDrivers, pb %08x\n", pb)); |
697 |
|
M68kRegisters r; |
698 |
|
|
699 |
|
// Install Microseconds() replacement routine |
1215 |
|
#endif |
1216 |
|
|
1217 |
|
#if !ROM_IS_WRITE_PROTECTED |
1218 |
< |
#if defined(AMIGA) |
1218 |
> |
#if defined(AMIGA) || defined(__NetBSD__) |
1219 |
|
// Set fake handle at 0x0000 to scratch memory area (so broken Mac programs won't write into Mac ROM) |
1220 |
|
extern uint32 ScratchMem; |
1221 |
|
wp = (uint16 *)(ROMBaseHost + 0xccaa); |