PocketMatrix forums

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

PocketScumm on HP620lx

I tried running ScummVM 0.6.0 SH3 version on my old HP 620lx ... I did not really expect it to work and it didn't. Only thing that happens when I start it is:

Program: scummvm.exe
Exception: 0xc0000005
Address: 00000000

Any chance of it working on such an old device?

Specs:

Ram: 16 MB RAM
Screen: 640x240 - 256 colors
CPU: SH3 at 75 mhz
OS: WinCE 2.0

I only installed the exe file...no SDL stuff. Also, this device have no gapi/gx.dll.

lh
perhaps one day ... but it's difficult to understand what's going on without debugging on a real device ...
Yep, I understand that.

What would I need to compile PocketScumm myself? I see a reference to EVC++ in the README file....guess that is Embedded Visual C++. Any particular version I need?

Also, do I need anything else SDL related than the SDL.lib from your (arisme) site?
you'll need Embedded Visual C++ 3 ... everything is ready on my site to compile your own version if you want to do some debugging
Thanks for the quick reply!

I'll have a go and see how far I come before giving up... =)

lh
Everything should compile without hassle ... and when debugging at least we'll see where it crashes :wink:
I've tried to compile PocketScumm now...EVC++ 3.0 only supports WinCE 2.11 so I tried that first. (I've found an description of how to make it support WinCE 2.0 but I'll leave that till later).

Anyway, I got a lot of warnings but maybe thats normal?

Also, i left out vorbis, mad and mpeg2 support since I was missing some files.

I had to comment out a lot of functions in missing.cpp since the linker reported that they also existed in coredll.lib...?

After this everything compiled but the linker then complains:

LINK : fatal error LNK1104: cannot open file "aygshell.lib"

Not to sure about this but I did not think that HPC's had this library? Don't know why the linker want to include this file.

I also have an old Compaq Aero 2120 (CE 2.11, mips CPU and 16 bit screen...but no GX). Maybe it would be an better idea to try to make PocketScumm work on that device?

lh
I shouldn't link with aygshell - are you using the project file from CVS ?

warnings are normal, I'm too lazy to remove the offending pragmas :wink:

otherwise you shouldn't remove the functions from missing.cpp, it doesn't harm to have some redefinitions.
I'm using the file scummvm-0.6.0.zip downloaded from the scummvm.org download page. This is the exact 0.6.0 version I guess.

Maybe I've installed evc++ wrong somehow...I'll give it another try tomorrow.

lh
Ok, I've now trying to compile for Palm-size PC 2.11.

Pocket PC 2002 version compiled in the end after I disabled some lib stuff I was missing.

The 2.11 version compiles now but the linker complains about:

sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol fseek
sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol ftell
sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol fread
sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol ferror
sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol fwrite
sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol fclose
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol fclose
sdl.lib(SDL_rwops.obj) : error LNK2001: unresolved external symbol fopen
sdl.lib(SDL_error.obj) : error LNK2001: unresolved external symbol _getstdfilex
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol _getstdfilex
sdl.lib(SDL_error.obj) : error LNK2001: unresolved external symbol fprintf
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol fprintf
sdl.lib(SDL_dibvideo.obj) : error LNK2001: unresolved external symbol SHFullScreen
sdl.lib(SDL_dibaudio.obj) : error LNK2001: unresolved external symbol __imp_CreateSemaphoreW
sdl.lib(SDL_syssem.obj) : error LNK2001: unresolved external symbol __imp_CreateSemaphoreW
sdl.lib(SDL_dibaudio.obj) : error LNK2001: unresolved external symbol __imp_ReleaseSemaphore
sdl.lib(SDL_syssem.obj) : error LNK2001: unresolved external symbol __imp_ReleaseSemaphore
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol _isctype
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol _wfopen
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol fgetc
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol strrchr
sdl.lib(SDL_main.obj) : error LNK2001: unresolved external symbol _wfreopen


Some of these exist in missing.obj so I don't understand why the linker complains about these?

The others are used in sdl.lib but don't seem to exist in WinCE 2.11 and I guess I will have to implement these myself somehow?

Have PocketScumm ever been compiled for CE 2.11?

lh
I'm compiling it successfuly (without changes) for Handheld PC and Palm size PC. I think this includes WinCE 2.11