PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Blit sample GPF

Hi all... getting a GPF when trying to execute the Blit sample in the desktop emulator. Anything special need to be done to run in the emulator? (I've built PocketFrog for all targets, Blit compiles and links so I assume that's not the problem).

Exact GPF details are:

The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "read".

Null pointer? I haven't modified the code in the least. V0.6.0 by the way. Thanks!
I just tried Blit in both the PocketPC and PocketPC 2002 emulators, and it works flawlessly...

Which emulator are you using? Have you tried the other?

Anyone experience similar problems?
No, but i'm still having that problem with clipping screen output to 240x240 on PPC2000 emulator.
On 2002 anything's fine.

Probably this is softwre/driver problem. I'll reinstall my XP soon and report here for result.
I've only tried the PPC2000 emulator, I'll give PPC2002 a shot in a bit. The weird thing is that I previously had this sample running prior to v0.60.0. I've used your GAPIEmu for quite a few things... is there any chance of a conflict having that lib/dll installed at the same time as PocketFrog? I'll play with it a bit more when I get home...
Mmmm... I am not using GAPIEmu anymore... PocketFrog doesn't need it anymore, although it will use it if it's there. My guess is that there is some conflict between them, although it shouldn't happen.

Delete GX.DLL and try again?
Yes, that's exactly what it was... renamed gx.dll in /windows on the emulator to _gx.dll and lo and behold, the blit sample ran perfectly. So, if anyone else has the problem, there you go!