Caanoo / WIZ Emus To Be Ported To Wiz


mittens posted on May 28 2009 at 03:19 AM) [quote="Exophase posted on May 27 2009 at 05:29 PM said:
Right now, my Windows and Linux computers are both detecting something on USB, but with "this device is malfunctioning" rather than correctly detecting the hardware. Did anyone have to install drivers or something??
I don't know nothing about BoB though, usually Windows detect USB drivers as 'malfunctioning' when it was not supplied enough power. Usually it's solved with supplying external power but I shame Wiz have other external power connector. (on Dev board maybe?"]
[/quote]Interesting. No, the BoB is also powered through USB. USB is working fine for some people over BoB, so I don't really know. If it's just on the edge power-wise then it could be pretty unpredictable. I do think I've been able to pick it up as a Wiz at SOME point in the past, but not regularly. I hope nothing's damaged... I'm still going to hope that a direct cable will fix it.

Just so no one thinks I've flaked out on what I said, I do have Temper working to the same degree it was before, I'm just kind of unhappy with the mmuhack I did that we're using. I don't know why but it just doesn't work reliably, and if the code to get the page table fails and returns the wrong address in a way that the hack can't determine it's wrong then it can crash the program by misdetecting and overwriting things in physical memory than it shouldn't. I added some more safe guards but I don't think I can really protect against this... I just don't know why it's failing. I should be clearing icache and dcache okay, even though the writes shouldn't end up in dcache anyway. I want to try putting together a kernel module, I'll see if I have the kernel source stashed away somewhere. That should make all of our lives easier.
 
Last edited by a moderator:
Exophase posted on May 28 2009 at 10:14 AM said:
I'm just kind of unhappy with the mmuhack I did that we're using. I don't know why but it just doesn't work reliably, and if the code to get the page table fails and returns the wrong address in a way that the hack can't determine it's wrong then it can crash the program by misdetecting and overwriting things in physical memory than it shouldn't.
Yeah ive seen some of my apps freeze during the mmuhack tests.
Whats the benefit of a module over a shared lib?
 
Last edited by a moderator:
Pickle posted on May 28 2009 at 07:50 PM said:
Yeah ive seen some of my apps freeze during the mmuhack tests.
Whats the benefit of a module over a shared lib?
It's not possible to do the mmuhack without running supervisor code because it needs to retrieve the base address of the process's pagetable so that it knows where to hack. So the only options are either kernel module or hack a kernel syscall to do what's wanted. The latter has the added problem that it involves self modifying code, and clearing icache/dcache SHOULD fix problems but for some unknown reason it isn't always. A kernel module could avoid this and also have simpler code that doesn't have to go through /dev/mem but uses another physical to virtual map provided by the kernel.

Maybe some other features that GPH blundered out of the kernel could be added via a kernel interface too, like fixing the broken 240x320 setting and initializing the screen in the desired way. It'd be best if the module was added then these things were interfaced through /proc or something, instead of having to add it over and over again.
 
Last edited by a moderator:
Exophase posted on May 28 2009 at 02:14 PM) [quote="mittens posted on May 28 2009 at 03:19 AM said:
Exophase posted on May 27 2009 at 05:29 PM said:
Right now, my Windows and Linux computers are both detecting something on USB, but with "this device is malfunctioning" rather than correctly detecting the hardware. Did anyone have to install drivers or something??
I don't know nothing about BoB though, usually Windows detect USB drivers as 'malfunctioning' when it was not supplied enough power. Usually it's solved with supplying external power but I shame Wiz have other external power connector. (on Dev board maybe?"]
Interesting. No, the BoB is also powered through USB. USB is working fine for some people over BoB, so I don't really know. If it's just on the edge power-wise then it could be pretty unpredictable. I do think I've been able to pick it up as a Wiz at SOME point in the past, but not regularly. I hope nothing's damaged... I'm still going to hope that a direct cable will fix it.

Just so no one thinks I've flaked out on what I said, I do have Temper working to the same degree it was before, I'm just kind of unhappy with the mmuhack I did that we're using. I don't know why but it just doesn't work reliably, and if the code to get the page table fails and returns the wrong address in a way that the hack can't determine it's wrong then it can crash the program by misdetecting and overwriting things in physical memory than it shouldn't. I added some more safe guards but I don't think I can really protect against this... I just don't know why it's failing. I should be clearing icache and dcache okay, even though the writes shouldn't end up in dcache anyway. I want to try putting together a kernel module, I'll see if I have the kernel source stashed away somewhere. That should make all of our lives easier.[/quote]Dumb question, but does Temper really need an mmuhack? It was pretty fast on the GP2X at low clock speeds for most things.
 
Last edited by a moderator:
DaveC posted on May 29 2009 at 03:22 AM said:
Dumb question, but does Temper really need an mmuhack? It was pretty fast on the GP2X at low clock speeds for most things.
No. But do you really think I'd be happy with a version of Temper for Wiz that performs about the same as the GP2X one?

It's moot now because our good friend notaz put together an mmuhack kernel module. We're all saved.
 
Last edited by a moderator:
Exophase posted on May 29 2009 at 04:20 AM said:
DaveC posted on May 29 2009 at 03:22 AM said:
Dumb question, but does Temper really need an mmuhack? It was pretty fast on the GP2X at low clock speeds for most things.
No. But do you really think I'd be happy with a version of Temper for Wiz that performs about the same as the GP2X one?

It's moot now because our good friend notaz put together an mmuhack kernel module. We're all saved.
I suppose not but then again I don't remember there being any problems with the GP2X one outside of the unrelated Exile bug. A few games had occasional stuttery sound but +25 MHz overclock completely fixed that.


OT: Is the SD reading speed any better on the Wiz? I remember games that spooled from the card like NeoGeo had these pauses as the card was accessed on the GP2X. It was a SoC hardware bug. Has that improved on the Wiz?
 
Last edited by a moderator:
Talking about emu to be ported on wiz, I was wondering if someone is working on Uae4all porting. It was one of my favourites emu on gp2x, and I think that on Wiz could be perfect. Amiga rules!
 
Last edited by a moderator:
DaveC posted on May 20 2009 at 11:59 PM) Here are some links to source code for some common emus for the GP2X (obviously ones already in development like MAME etc aren't included said:
. Feel free to add to the list but please GP2X source only, PC sources require much more work, this list was for quick and "easy" ports.
These are also "wishes" for Wiz ports

GNGEO super fast NeoGeo emu (runs more games smoother than MAME) : https://developer.berlios.de/project/showfi...p?group_id=6986

Final BurnAlpha, Great arcade emu: http://www.geocities.com/dcancilier@sbcglo...et/fba72src.zip

GPLynx - fast Atari Lynx Emu: http://www.geocities.com/dcancilier@sbcglobal.net/lynx.zip

ZX81's site. Treasure trove of source code for older classic systems such as Atari 2600, Amstrad, Coleco etc. http://zx81.zx81.free.fr/serendipity/index...es/38-Emulators

Atari 800 computer: http://www.scrameta.net/a800.html

Atari 2600 emu, Stella: http://stella.sourceforge.net/development.php

UAEfor all Amiga emu: http://criticalhippo.googlepages.com/uae4allgp2x

XMESS emu by Telengard (includes ColecoVision emu with better sound than the ZX81 version) Wiki has broken link use this: http://home.comcast.net/~bsturk/gp2x.html

And of course this big wiki list although the Lynx source is not here: http://wiki.gp2x.org/wiki/Software_Directory


This is the pc sorce newest one i know of http://www.barryharris.me.uk/files/fba_src_029706.zip FinalBurnAlpha i dont know about the other he posted but this also has PGM game support like Knights of Valor and Oriental Legends. i would looooooove to see this for GP2X-WiZ and the sitelink http://www.barryharris.me.uk/fba.php

Also any chance of a Sega System32 emu like this? http://www.emuhype.com/index.phtml?s=modeler&ss=index
 
Last edited by a moderator:
Im sure that SOMEONE out there besides just me wants a Sega 32x emulator. I found a great open-source one called Gens/GS, and here is a link to the source code.

http://info.sonicretro.org/images/1/1b/Gens-2.15.5-gs-m5.3.tar.gz

I can't wait to play Knuckles' Chaotix and Virtua Fighter 32x on my wiz!
 
vEGA-rJ said:
Any news about GNGEO? It's strange that has not yet ported to wiz...
I heard it has some nasty bug that prevents it from working and only manifests itself on Wiz.

devour said:
Im sure that SOMEONE out there besides just me wants a Sega 32x emulator. I found a great open-source one called Gens/GS, and here is a link to the source code.

http://info.sonicretro.org/images/1/1b/Gens-2.15.5-gs-m5.3.tar.gz

I can't wait to play Knuckles' Chaotix and Virtua Fighter 32x on my wiz!
That emu is full of x86 asm, it cannot be ported. There is a rewrite called gens4all but it doesn't support 32x.
 
Last edited by a moderator:
notaz said:
vEGA-rJ said:
Any news about GNGEO? It's strange that has not yet ported to wiz...
I heard it has some nasty bug that prevents it from working and only manifests itself on Wiz.

Have you looked at the source at all to see if how bad the bug is or what it could be? It may not be a big issue (or maybe it is who knows).
 
Last edited by a moderator:
stonestn said:
wishes as well
neogeo pocket color
wonderswan color

Hell yeah i second those, dingoo already has some sort of emu for neogeo pocket.
 
Last edited by a moderator:
I'm currently porting an Oric-1/Atmos emulator, will release it in the next few days (just have to add a keyboard ..)
 
Picodrive needs to be properly ported, the current build available doesn't utilise CPU overclocking like it should, and the emulator needs some optimising.
 
Back
Top