mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-21 09:30:55 +00:00
use the toolbox.
This commit is contained in:
parent
883816f7cd
commit
271bc85c37
@ -13,6 +13,8 @@
|
||||
#include <cpu/CpuModule.h>
|
||||
#include <cpu/fmem.h>
|
||||
|
||||
#include <toolbox/toolbox.h>
|
||||
|
||||
uint8_t *Memory;
|
||||
uint32_t HighWater = 0x10000;
|
||||
uint32_t MemorySize = 0;
|
||||
@ -463,7 +465,10 @@ int main(int argc, char **argv)
|
||||
WriteLong(Memory, address + Flags.stack - 4, 0xffffffff);
|
||||
}
|
||||
|
||||
cpuSetALineExceptionFunc(ToolBox::dispatch);
|
||||
memorySetMemory(Memory, MemorySize);
|
||||
|
||||
|
||||
for (unsigned i = 0; i < 10000; ++i)
|
||||
{
|
||||
if (Flags.traceCPU)
|
||||
|
Loading…
Reference in New Issue
Block a user