graphics corruption -- pointer

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Scott

graphics corruption -- pointer

Post by Scott »

Hi all --

my system ...

zaurus [25]> x -v
Exult version 1.1.9rc1
Built at: Feb 4 2004 17:03:40
Compile-time options: HAVE_TIMIDITY_BIN, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.3.1

Platform: Linux version 2.4.18-rmk7-pxa3-embedix-021129
zaurus [26]>

Zaurus 760, etc.

Under the mouse pointer, the graphics seem to scroll left or right -- depending on where on the screen I click. The scrolling seems to be the size of an icon/figure box or so -- maybe 32x32 or so?

Yes, I will try the latest snapshot -- but is this a known problem with a known fix?


I'm not sure offhand which SDL I'm using -- I'm on the pdaXrom -- http://www.pdaxrom.org/feed, etc. exult from http://zaurus.spy.org/feeds/davonz

Final point -- the games should allow for a person who only has left mouse button... ie: shift, control and/or alt modifiers? shift-arrow doesn't seem to run.

Anyway, excellent work... thank you!

Scott
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: graphics corruption -- pointer

Post by artaxerxes »

The zaurus port I maintain is specifically for the Qtopia platform. So if you're using the pdaxrom's ROM, you're using X11 instead. Technically there should be no difference as far as exult is concerned, except it has to be recompiled for the ARM architecture. Now, the port I made should be ok for you. The only thing is to use a proper SDL port. The one I always recommend is Alexandre Courbot's, which you can find on his site: www.gnurou.org. However, this is specifically for Qtopia. Consequently, try out the official zaurus port (found on our download page) and see if the maintainer of your SDL lib port has seen that problem happen elsewhere.

Don't forget to leave your feedback here too when you are done!

thx
Artaxerxes
Scott

Re: graphics corruption -- pointer

Post by Scott »

right... but I'm not in QTopia ... just straight X.

I do blame the issue on the version of SDL.

SDL seems to be the #1 issue with incompatibilities.
:-<

ok, have the latest exult installled... and am still getting corruption.

Scott
sashz

Re: graphics corruption -- pointer

Post by sashz »

here patch for ARM target, please patch imagewin/ibuf8.cc
there must be definition __arm__ againt __zaurus__ , because Zaurus is ARM based. That will give correct compilation for all arm systems (fb sdl, Qtopia, X11, etc) :-)


--- exult/imagewin/ibuf8.cc~ 2004-02-25 14:12:18.000000000 +0000
+++ exult/imagewin/ibuf8.cc 2004-05-11 14:44:08.000000000 +0000
@@ -215,7 +215,7 @@
if (!clip(srcx, srcy, srcw, srch, destx, desty))
return;

-#if !(defined(__sparc__) || defined(__zaurus__))
+#if !(defined(__sparc__) || defined(__arm__))
uint32 *to = (uint32*) (bits + desty*line_width + destx);
uint32 *from = (uint32*) (src_pixels + srcy*src_width + srcx);
int to_next = line_width - srcw;// # pixels to next line.
scott

Re: graphics corruption -- pointer

Post by scott »

thanks sash!
enjoy the $100!

:-)

Scott
Locked