Author Topic: SNES on C860  (Read 4954 times)

GMan

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
SNES on C860
« on: March 17, 2004, 09:34:08 am »
Hi,

I\'ve got the snes9x emulator from http://www.suhami.net/zaurus/index.cgi?Emulator/snes9x and the libSDL from http://www.self-core.org/~kaoru-k/wiki/Lib...inuxZaurus.html (thanks to the site at http://viz.aset.psu.edu/ga5in/SharpZaurus.html for the info).

I can play games in fullscreen in landscape mode only with the following command:
Code: [Select]
snes9x -hi -x2 -ns -xs 640 -sy 480

However, the framerate is severely reduced because of the hires option  (-hi) and I think it is doing full VGA (not 100% sure).  Is there a way to run this at 320x240 fullscreen?  I\'ve tried:
Code: [Select]
snes9x -xs 320 -ys 240
but this produces a black box in the middle of my screen and I have to cancel to continue.

If I run:
Code: [Select]
snes9x -xs 640 -ys 480
it runs in fullscreen, but only the top left corner of the screen is actually drawn to.

Any help would be appreciated!
Thanks.
-Gary

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
SNES on C860
« Reply #1 on: March 22, 2004, 07:49:30 pm »
Hi, you need to follow the instructions at
http://viz.aset.psu.edu/ga5in/SharpZaurus.html

You need a script for EACH game you want to launch, and make desktop entry file as described, this puts an entry on your launcher, and treats it like an SL-5500 app, i.e. it runs in QVGA.

This gives you full screen full speed SNES games, just tried it and it works great.
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

GMan

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
SNES on C860
« Reply #2 on: March 23, 2004, 08:57:11 am »
Ahh - that was my problem   I thought I didn\'t need to create an icon and could run it from the command line.  I did have to do the SQL_QT_INVERT_ROTATION=1 when using the zports SDL though.

Thanks!

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
SNES on C860
« Reply #3 on: March 23, 2004, 09:58:07 pm »
I believe there may be something wrong with the zports SDL library, on my 860, applications are completely upside-down.
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

GMan

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
SNES on C860
« Reply #4 on: March 23, 2004, 10:55:15 pm »
Yeah - but if you add SQL_QT_INVERT_ROTATION=1 to your .sh script it will be right-side up.  I don\'t know if this affects performance.  Do you know of a launcher for snes9x?  Otherwise, I;d have to have a million items in my Games folder.  If not, I\'ll probably look at creating one.

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
SNES on C860
« Reply #5 on: March 23, 2004, 10:56:15 pm »
export SQL_QT_INVERT_ROTATION=1

in the shell script that launches the game should fix it.  

I\'ve had the exact same problem on my c860, but others have not.  I suspect that running the 1.2.5 SDL lib for c860 writes some config that is read by the zports 1.2.6 SDL.  If you run an SDL app from the CLI you will see that it detects that you are running a c860, but then it detects that your display type is sl-5500.  Don\'t know how, why , or where it is getting this info...

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

ads

  • Newbie
  • *
  • Posts: 40
    • View Profile
SNES on C860
« Reply #6 on: March 24, 2004, 03:45:51 am »
I don\'t know about the 860 but fro the 7xx range \"Zemufeex\" works great and takes alll the hasstle out of writing scripts. Find it on killfiz.
BTW I\'m using the 1.2.5 SDL lib no problem with rotation
c750. Cacko Qt elena

cowbean

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
SNES on C860
« Reply #7 on: April 27, 2004, 07:49:25 pm »
is there something special that must be done to get sounds working?  TIA

GMan

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
SNES on C860
« Reply #8 on: April 27, 2004, 09:23:37 pm »
cowbean, if you are using the script mentioned above, it includes the \'-ns\' option which disables sounds.  Sound will slow things down...

zaphod

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
SNES on C860
« Reply #9 on: April 27, 2004, 10:15:07 pm »
Just wondering, has anyone had much luck with other SDL emulators on C7XX and C8XX?

I have gotten the following to work reasonably (playably) well using the patched SDL that comes from the Japanese snes9x site:

snes9x
dgen  Sega Genesis(requires a libstdc++ from familiar)
znester NES emulator
zstella Atari 2600
zmamefull

However, I can only get snes9x and zstella to run full screen. The other two only appear as a small square in the middle of the screen. Still playable though. I\'m not sure which mame is best since there are a bunch of them floating around.

ultra-hp

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
SNES on C860
« Reply #10 on: May 10, 2004, 10:44:40 pm »
Do I have to make a file called bustamove.sh using vi or some other editor and type the command below?

/opt/QtPalmtop/bin/bustamove.sh:

#!/bin/sh
export SDL_QT_INVERT_ROTATION=1
/home/QtPalmtop/bin/snes9x -xs 320 -ys 240 -ns /home/zaurus/Documents/Rom_Files/Bust-a-Move.smc.gz

If I type #!/bin/sh I get an error
bash: #!/bin/sh: event not found
when I type the rest
export SDL_QT_INVERT_ROTATION=1
/home/QtPalmtop/bin/snes9x -xs 320 -ys 240 -ns /home/zaurus/Documents/Rom_Files/Bust-a-Move.smc.gz
all I get is a black screen. No flickering - nothing - just black.

Any ideas?
Using Cacko 1.21 with Hotfix a
Sharp Zaurus SL-C760
Qtopia Version 1.5.4
Linux Kernel Version 2.4.18-rmk7-pax3.emb