Dsx86
#1
Posted 27 September 2011 - 11:31 PM
Would this help to improve our port of dosbox or even a new dos emulator? This doesn't necessarily mean for the Wiz specifically, maybe the Pandora version could benefit as well?
DSx86 has very high compatability considering the hardware it's used on. http://dsx86compatibility.pbworks.com/w/page/26738915/Compatibility%20List
#2
Posted 27 September 2011 - 11:45 PM
@ This is my ARM ASM optimized version of the original "fmopl.c" @ AdLib emulation C source code (as found in the DOSBox source @ code), which had the following copyright statements: @ @ File: fmopl.c - software implementation of FM sound generator @ types OPL and OPL2 @ @ Copyright © 2002,2003 Jarek Burczynski (bujar at mame dot net) @ Copyright © 1999,2000 Tatsuyuki Satoh , MultiArcadeMachineEmulator development @ @ This code only emulates a single OPL2 FM sound generator, as @ found in the original AdLib card. I hope the code has enough @ comments so you can figure out how it works, if you are interested. @ The main changes between this code and the original "fmopl.c" @ code is that I tried to precalculate and move away from the inner @ loops all possible code, sometimes at the expense of accuracy. @ @ Efficiency has been my primary goal, accuracy is secondary. @ Currently I believe this code uses about 60% of the ARM7 CPU @ power to run all 9 AdLib channels.
#3
Posted 27 September 2011 - 11:52 PM
#4
Posted 28 September 2011 - 12:11 AM
Also, I think fmopl.c might be the old core that DOSBox has recently ditched in favor of the Adlib emulation core that ScummVM uses.
#5
Posted 28 September 2011 - 12:22 AM
It might help if you're looking to get a less CPU-intensive Adlib emulation and are willing to sacrifice some accuracy to get it.
Also, I think fmopl.c might be the old core that DOSBox has recently ditched in favor of the Adlib emulation core that ScummVM uses.
your right, dosbox does not use fmopl.c anymore it was replaced by a faster implementation.
#6
Posted 28 September 2011 - 01:01 AM
I guess these guys really dug deep into the Hardware to speed up Dos Emulation on such a slow system. Exactly what we need for the Pandora, how many MHz has a NDS? I guess not even close to the 600+ MHz of our Pandora.
EDIT: the compatibility list is indeed incredible!
So this is the difference between an accurate and an optimized Emulator, really impressive. I already see me playing Dungeon Keeper with an equal optimized Emulator on my Pandora. So, who wants to code such a thing?
Edited by fusion_power, 28 September 2011 - 01:07 AM.
#7
Posted 28 September 2011 - 01:35 AM
#8
Posted 28 September 2011 - 02:56 AM
#9
Posted 28 September 2011 - 01:23 PM
Dude, it's written by Patrick Aalto? That's awesome! I have an old DOS game he wrote back in the day, Line Wars. I remember e-mailing him one time to ask for an EGA driver (since the game documentation said there was one available for those without VGA graphics). His reply to me was that the advertised driver had been abandoned before finishing development since EGA graphics were all but gone at the time the game came out.
In fact he used that game in the early development of the emulator.
#10
Posted 28 September 2011 - 01:48 PM
http://wiz.rusbase.net/forum/viewtopic.php?p=2533
Edited by quasist, 28 September 2011 - 01:49 PM.
#11
Posted 28 September 2011 - 02:49 PM
Dude, it's written by Patrick Aalto? That's awesome! I have an old DOS game he wrote back in the day, Line Wars. I remember e-mailing him one time to ask for an EGA driver (since the game documentation said there was one available for those without VGA graphics). His reply to me was that the advertised driver had been abandoned before finishing development since EGA graphics were all but gone at the time the game came out.
In fact he used that game in the early development of the emulator.
Awesome. I have to correct myself, though. I don't have Line Wars, I have Line Wars II.
#12
Posted 28 September 2011 - 08:31 PM











