Author Topic: Dingux SMS_SDL  (Read 4397 times)

Offline joyrider

  • *
  • Posts: 220
    • Willems Soft
Dingux SMS_SDL
« on: October 19, 2009, 09:36:42 PM »
Hey all,

Here is my port (based on dosfishe's initial port) of sms plus sdl. It is the aligned version and should run full speed on all games both game gear and master system. I have implemented the same menu system of dingux gnuboy. So you can scale to native res, Fullscreen Stretched and FullScreen Aspect. There is volume control added in as well multiple save state saves (max 9 per game).

download is availible here :
http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,71,193

Readme :
Code: [Select]
DINGUX SMS_SDL
--------------
Dingux SMS_SDL is port a of sms plus sdl which is a game gear and a master system emulator!
i based this version on the previous availible version from Dosfish and added some extra features
like a Scaler (Native Res, FullScreen Stretched, FullScreen Aspect) a menu just like the one in
gnuboy, the data is word aligned so this one runs way faster than the version that was currently availible.
This option was already availible in the code but it seems the previous version wasn't compiled with it, and we
didn't know about it's effects before.


Installation
------------
Copy sms_sdl binary anywhere you'd like and use dmenu using the selector option to launch your games.

Usuage
------

Select+start = menu

Game Gear uses the start key, while master system uses the B key to start (there was no start key on the
original system either as far as i can remember). DPAD, B/A are the ingame keys and with the Y button you
can take a screenshot of the current screen. L is quicksave and R is quickload.

Credits
-------
Dingux sms_sdl has been originally ported by dosfish.
This version is based on it and has been modified by joyrider aka willems davy.
Thanks to the original authors of sms plus sdl, without them this wouldn't have been possible.
Thanks to harteex for the tga loading and bin2h, Alekmaul for the scaler example and Codiak for testing.
Thanks to all the guys on #dingoo-a320 and #dingoonity on freenode irc chat.


Offline vimrc

  • *
  • Posts: 66
Re: Dingux SMS_SDL
« Reply #1 on: October 19, 2009, 09:56:24 PM »
Thanks a lot! Thanks for the read_dword() and write_dword().  ;D

Offline Kronus

  • *
  • Posts: 155
Re: Dingux SMS_SDL
« Reply #2 on: October 19, 2009, 09:59:17 PM »
Hope the misalignment issue that you guys were talking about are finally fixed, I'll try this one later on, I posted this up at the main page news.  ;D
"I'm happy to serve the Dingoo Community!"

Offline omgmog

  • Administrator
  • Doesn't sleep.
  • *
  • Posts: 514
    • omgmog.net
Re: Dingux SMS_SDL
« Reply #3 on: October 19, 2009, 10:11:11 PM »
Another great release! :D

I'll be looking forward to using this when my Dingoo arrives.

Portable "Alex The Kidd" here I come!

Thanks Joyrider!
Play nice.
- Max
omgmog.net | @omgmog

The Collection
Dingoo A320, Dingoo A330, Dingoo A380, GP2X Wiz, GBA Micro, DS Lite, DSi, PSP-3000, Letcool N350JP, Zipit Z2, HTC Desire (CM7.1), Kindle 3, HP Touchpad (CM9)

Offline joyrider

  • *
  • Posts: 220
    • Willems Soft
Re: Dingux SMS_SDL
« Reply #4 on: October 19, 2009, 10:27:05 PM »
Thanks a lot! Thanks for the read_dword() and write_dword().  ;D

hehe it was there all the time it was just not used in the previous version, but indeed they are handy :) (just to make it clear i didn't create those).

it was this emulator that made me wonder why the emulator ran so much better with it enabled, led us (mth was intrigued as well) to the alignment and the sysmips call (after some googling)

Offline Kojote

  • *
  • Posts: 32
    • PDRoms - Homebrew for you!
Re: Dingux SMS_SDL
« Reply #5 on: October 19, 2009, 10:35:39 PM »
looks great, now if there would be a native *cough* version too ;)
PDRoms - Giana's Return - Speckdrumm

Offline Goon

  • *
  • Posts: 157
Re: Dingux SMS_SDL
« Reply #6 on: October 19, 2009, 11:35:40 PM »
Man, this excellent news. Full speed SMS/GG Emulation!

Just brilliant. Thanks for your hard work!

Offline Doom_master1122

  • *
  • Posts: 29
Re: Dingux SMS_SDL
« Reply #7 on: October 20, 2009, 12:42:59 AM »
Works wonderfully. I was able to play Fantasy Zone and Montezuma's Revenge, plus many others.

Offline strider_mt2k

  • *
  • Posts: 108
    • Dingoo Scene-Voice of the Dingoo Revolution!
Re: Dingux SMS_SDL
« Reply #8 on: October 20, 2009, 01:13:51 AM »
This guy is pure win, or close enough to it!
My A320: Black, Dingux+Custom Firmware, Heat Sink Mod Rev. 2.0,  Reset Button Mod

Offline segakiki

  • *
  • Posts: 37
Re: Dingux SMS_SDL
« Reply #9 on: October 20, 2009, 02:41:48 PM »
Amazing port joyrider! i can now play gg shinobi fullscreen!! woo hoo!!!

Offline fraser0206

  • *
  • Posts: 22
Re: Dingux SMS_SDL
« Reply #10 on: October 20, 2009, 06:24:29 PM »
hi can some help me with this, what is the selector option in dmenu i have copied the sms_sdl binary onto my card but donot know how to run it. any help is much appreciated

Offline remax

  • *
  • Posts: 57
Re: Dingux SMS_SDL
« Reply #11 on: October 20, 2009, 08:24:15 PM »
I have not full performance in this emulator. I have small hickups in sound for example.

The most noticable time is in Game Gear games, for example Game gear Shinobi.

Am I the only one?

I have replaced the zImage with the one wth ipu disabled but it didn't helped...
« Last Edit: October 20, 2009, 08:25:54 PM by remax »

Offline joyrider

  • *
  • Posts: 220
    • Willems Soft
Re: Dingux SMS_SDL
« Reply #12 on: October 21, 2009, 01:13:29 PM »
The sound in SMS plus sdl is not spot on, and i can't fix this myselve, you probably already noticed that it can't play the "SEGA" sound in start screens (like with sonce 1 GG) either. So you'll have to live with it.

If it are hickups and you checked top and mmcqd keeps poping up to the top you could try the commands

renice 20 `pidof mmcqdŽ

& remounting /boot  with nodiratime and noatime. which has to be done while no programing is running (not even dmenu) and being in /

Offline remax

  • *
  • Posts: 57
Re: Dingux SMS_SDL
« Reply #13 on: October 21, 2009, 01:23:15 PM »
The sound in SMS plus sdl is not spot on, and i can't fix this myselve, you probably already noticed that it can't play the "SEGA" sound in start screens (like with sonce 1 GG) either. So you'll have to live with it.

If it are hickups and you checked top and mmcqd keeps poping up to the top you could try the commands

renice 20 `pidof mmcqdŽ

& remounting /boot  with nodiratime and noatime. which has to be done while no programing is running (not even dmenu) and being in /

Okay i'll try this ;)

If it don't work, I will totally live with these minor problems as this emulator is far better than the previous release and it's totally playable.

I just wanted to be sure that the problems didn't came from a bad configuration of my dingoo as anyone seemed to be talking about perfect emulation and that wasn't what i could see on my handheld (most of the time video emulation is perfect, but there is sometimes some littles slowdowns, and the sound has small hickups).
So that was just a report.

The improvement are nevertheless great.

Offline segakiki

  • *
  • Posts: 37
Re: Dingux SMS_SDL
« Reply #14 on: October 21, 2009, 01:42:57 PM »
I get small slowdowns with all the emulators running on dingux, happens usually the first couple of seconds of loading a rom.
I think its a problem with dingux itself?