Error in C++ / NES emulator program

Asked By 20 points N/A Posted on -
qa-featured

Hello,

I am attempting to plan a Nintendo NES emulator.

Also I have coded a number of opcodes (NES utilizes a 6502 processor) as well as them worked rightly.

However now I am attempting to assign a part of memory but I find this error message.

Please help me to solve it.

Unhandled Exception

General Protection Exception

EMUTEST.CPP 134

EMUTEST(2) 0x1B7F:0x0286 Processor

Fault

                       OK

Thanks a lot.

SHARE
Answered By 0 points N/A #150279

Error in C++ / NES emulator program

qa-featured

Hello Pamela,

If you cannot be able to catch the problem using the debugger in Visual C++ , and if the error that you're getting is indeed crashing the entire system, you will need to take a look at and try the resolution specified there:

http://support.microsoft.com/kb/315263

But if the error does not crash the system, and as well the debugger is not getting you to the point of where the error is occurring, you will need to try using OutputDebugString as well as WinDbg to narrow down on the line that is causing the problem by doing a binary search with two output strings to see where the crash occurs.

http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx

http://msdn.microsoft.com/library/windows/hardware/ff551063(v=vs.85).aspx

Regards,

Carl

 

Login/Register to Answer

Related Questions