1 |
|
/* |
2 |
|
* rsrc_patches.cpp - Resource 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 |
28 |
|
#include "audio_defs.h" |
29 |
|
#include "rsrc_patches.h" |
30 |
|
|
31 |
+ |
#if ENABLE_MON |
32 |
+ |
#include "mon.h" |
33 |
+ |
#endif |
34 |
+ |
|
35 |
|
#define DEBUG 0 |
36 |
|
#include "debug.h" |
37 |
|
|
89 |
|
if (base) { |
90 |
|
p16 = (uint16 *)(p + base); |
91 |
|
|
92 |
< |
#if defined(AMIGA) |
92 |
> |
#if defined(AMIGA) || defined(__NetBSD__) |
93 |
|
// Set 0x0000 to scratch memory area |
94 |
|
extern uint32 ScratchMem; |
95 |
|
*p16++ = htons(0x207c); // move.l #ScratchMem,a0 |
113 |
|
if (base) { |
114 |
|
p16 = (uint16 *)(p + base); |
115 |
|
|
116 |
< |
#if defined(AMIGA) |
116 |
> |
#if defined(AMIGA) || defined(__NetBSD__) |
117 |
|
// Set 0x0000 to scratch memory area |
118 |
|
extern uint32 ScratchMem; |
119 |
|
*p16++ = htons(0x207c); // move.l #ScratchMem,a0 |