From: <gb...@di...> - 2001-02-10 12:00:57
|
Hi, > The UniversalInfo contains as its first element (decoderInfoPtr) a pointe= r > to a list of hardware base addresses. The AddrMapFlags (which also comes = from > the UniversalInfo) contains one bit for each of these addresses, signifyi= ng > its validity. That was too easy for you to find it out. ;-) Did I miss an Inside Mac ? Subsidiary question: why did the problem show up only when B2 was run as root ? > So you can replace hardware addresses by patching the DecoderInfo of the > UniversalInfo used in the ROM (for example at the beginning of > rom_patches.cpp/ patch_rom_32()). Done. > For a production version of B2 it seems better to silenty ignore illegal > accesses (and have a "debug" option to turn on strict checking). I set up a global variable for that (PatchHWBases) because you may want to add a command-line switch to disable the patch ? Bye, Gwenol=E9. |