mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 00:32:44 +00:00
Print name of unsupport tool trap
This commit is contained in:
parent
e31c376a7d
commit
4007491eec
@ -41,6 +41,7 @@
|
|||||||
#include "sane.h"
|
#include "sane.h"
|
||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
#include "loader.h"
|
#include "loader.h"
|
||||||
|
#include "macos/traps.h"
|
||||||
// yuck. TST.W d0
|
// yuck. TST.W d0
|
||||||
extern "C" void cpuSetFlagsNZ00NewW(UWO res);
|
extern "C" void cpuSetFlagsNZ00NewW(UWO res);
|
||||||
|
|
||||||
@ -510,7 +511,8 @@ namespace ToolBox {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "Unsupported tool trap: %04x\n", trap);
|
fprintf(stderr, "Unsupported tool trap: %04x (%s)\n",
|
||||||
|
trap, TrapName(trap));
|
||||||
fprintf(stderr, "pc: %08x\n", cpuGetPC());
|
fprintf(stderr, "pc: %08x\n", cpuGetPC());
|
||||||
exit(255);
|
exit(255);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user