Homebrew DS2x86 (SCDS2 Entry)

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
DS2x86 is still very much a work in progress, and will most likely have significant updates every two weeks.

DoomLogo.png
Arena1.png
DS2x86_SI_396.png


http://dsx86.patrickaalto.com

Pate
 

Recorderdude

Musician, Animator, Buffoon.
Member
Joined
Jun 19, 2010
Messages
1,392
Trophies
0
Age
28
Website
Visit site
XP
272
Country
United States
spinal_cord said:
bigpaws said:
it is one of the only actual ds programs compared to all those homebrew maker programs


Huh?

He means that this is one of the only games/emulators entered into the homebrew competition so far.


The only other games/emus are DS(i)x86 and Mind Maze, the rest are coding-related or menus/loaders.


DS2x86
PC Emulator for DSTwo, with 386 protected mode support
2 Pate 117 Today, 03:35 PM
Last post by: spinal_cord


picocDS - C programming on the go!
kind of
tongue.gif

8 asiekierka 324 Yesterday, 02:59 PM
Last post by: SmokeFox

DSx86
PC emulator for DS and DSi
0 Pate 64 Yesterday, 12:42 AM
Last post by: Pate


devkitARM
11 realWinterMute 396 26th February 2011 - 07:31 PM
Last post by: RoyalCardMan

DS App Studio
0 RoyalCardMan 63 26th February 2011 - 06:56 PM
Last post by: RoyalCardMan

NightFox's lib for Libnds (NFlib)
0 knightFox 116 24th February 2011 - 02:37 PM
Last post by: knightFox

libBAG R4
0 BassAceGold 185 23rd February 2011 - 02:36 AM
Last post by: BassAceGold

ohneswanzenegger
write nand.bin on PC
7 giantpune 749 23rd February 2011 - 02:31 AM
Last post by: Hielkenator

Mind Maze (W.I.P)
3 knightFox 187 22nd February 2011 - 09:51 PM
Last post by: Rydian


iMenu
13 spinal_cord 731 22nd February 2011 - 04:34 AM
Last post by: CannonFoddr

nandBinCheck
butthole depuckerer
14 giantpune 504 21st February 2011 - 05:19 PM
Last post by: asper

nandExtract
nand.bin info & extract
 

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
Version 0.05 released!

The major improvements and fixes in this version are the following:

- Preliminary support for high resolution EGA/VGA modes 640x200, 640x350 and 640x480 added. NOTE! Scaling does not work properly in these modes yet.
- Implemented preliminary support for Mode-X mode 360x240 (for the Settlers game).
- Implemented a lot of missing opcode variations, now a majority of the most common opcodes have been implemented, but many rare opcodes are still missing.
- Increased the EMS memory size to 4MB, which allows Elder Scrolls: Arena to start up.
- You can now switch between the configuration sections in the INI file on-the-fly, by clicking on the current configuration name.
- Fixed a stack alignment problem in overlay loading, which caused an "Exception 5" error in some programs.
- Fixed a bug in SETZ opcode, which caused Warcraft to hang when giving a command to dig gold. NOTE! It is recommended that you play Warcraft with "no sound", as the SoundBlaster emulation in DS2x86 seems to cause intermittent freezes and crashes.
- Fixed a bug in division-by-zero interrupt handling, which caused Formula One: Grand Prix to fail.

Please send me the debug logs from this version again, they are very helpful when I improve DS2x86!

Pate
 

dib

Well-Known Member
Member
Joined
May 1, 2004
Messages
1,583
Trophies
1
Website
Visit site
XP
503
Country
United States
Does it run QBASIC or at least GWBASIC/BASICA? That would be pretty interesting and a reason to run out and buy a DS Two.

Good luck with the contest.
 

VatoLoco

Don't crush that dwarf, hand me the pliers.
Member
Joined
Jan 29, 2008
Messages
2,330
Trophies
1
Age
52
Location
Ya Cant Get There From Here
Website
www.backwoodzstudioz.com
XP
3,011
Country
United States
dib said:
Does it run QBASIC or at least GWBASIC/BASICA? That would be pretty interesting and a reason to run out and buy a DS Two.

Good luck with the contest.

I havent tried it myself, but by looking at the compatibility wiki, QuickBASIC (QBASIC predecessor) runs on the regular DSx86.

QUOTEQuickBasic 4.5
Playable
Works perfectly, though it won't switch to screen modes 11, 12, or 13. Sometimes it gives "unsupported INT call" error when doing a for loop
 

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
Version 0.06 released last Sunday! It does not have any major new features, just small fixes and improved protected mode opcode support.

Pate
 

mad008

Member
Newcomer
Joined
Nov 7, 2010
Messages
9
Trophies
0
XP
49
Country
United States
hi,

A little question about "warcraft" (on DS2X86 v0.06), when you select at the main menu "start new game" than "single player" and than "custom game" when selecting a worker to build the "farm" the button is missing. Also when selecting "town hall" the fallowing builds are missing: "build road" and "build wall".

has any one else the same issue ?


Edit:
Solution; make a save in dosbox and load the save file whit DS2x86.
 

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
Version 0.07 released!

This version has the following improvements:

- Blinking cursor in text modes (finally!).
- HIMEM.SYS emulation added, allows Chaos Engine to run.
- Fixed a serious total crash problem in 32-bit string opcodes.
- Fixed a stack alignment problem that could cause "Exception 4" BSOD errors.
- Improved BSOD reporting, now includes a stack trace.
- Improved horizontal blank reporting, this might solve hanging problems in some games.
- Improved Mode-X graphics blitting code to handle wrap-around properly.
- Changed the screen refresh interrupt interval from 60Hz to 59Hz. This might help with the intermittent "stuck key" problem in some games.
- Direct file read to EGA memory is now supported (f.ex. in "Heimdall").
- Implemented a number of previously missing opcodes.

More info and download from my DSx86 pages at http://dsx86.patrickaalto.com

Pate
 

Master_Thief

Member
Newcomer
Joined
Sep 12, 2009
Messages
15
Trophies
0
XP
56
Country
My test results for 0.07.

Alone In The Dark - Playable - Excellent speed, no sound though.
Chaos Engine - Playable - Works, no sound though.
CyClones - Playable - Works, though no sound and is a little slow.
Frontier: Elite - Playable - Works, though no sound.
Indy 500 - Playable - Works, though is a little slow.
In Extremis - Playable - Works, though no sound and a little slow.
Jagged Alliance - Playable - Works, though no sound.
Knights Of Xentar - Playable?? - Now gets ingame, but uses 640 screen resolution so is difficult to play.
Lands Of Lore - Playable - Works, though no sound.
Lemmings 3 - Partially Working - Now gets ingame, but has graphics issues with sprites and bottom options.
Micro Machines - Playable - Works, though no sound.
Mortal Kombat - Playable - Works, though no sound and a little slow.
Mortal Kombat 2 - Playable - Works, though is a little slow.
Nascar - Playable - Works, though is extremely slow.
Quarantine - Playable - Works, though is a little slow.
Theme Park - Playable - Works, though no sound.
Time Gate - Playable - Works, though no sound and a little slow.
Ultima Underworld 2 - Partially Working - No sound and saving/loading not working.
Universe - Playable - Works, no sound though.
Whales Voyage - Playable - Works, though no sound.
Witchaven - Playable - Works, though no sound and very slow.

Complete list of games tested
 

phoenixclaws

Well-Known Member
Member
Joined
Oct 10, 2007
Messages
497
Trophies
0
Age
40
Location
USA
XP
203
Country
United States
Don't expect sound for a while since that part has not been fully coded into DS2x86 yet. Nothing like what is coded into DSx86. Although I hope Pate is able to code that portion soon. Most games just aren't the same without it.
 

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
I plan to add proper audio support into DS2x86 during my summer vacation (in July), if I don't have time to do it sooner. I would like to start working on it already, but there are still so many hanging and crashing issues with the CPU emulation that I think I'll need to make that more robust before working on the audio side.

Pate
 

mad008

Member
Newcomer
Joined
Nov 7, 2010
Messages
9
Trophies
0
XP
49
Country
United States
Games I've tested (v0.07):

Carmageddon: Error “insert cd”. When doing an install it hangs.
Carmageddon Demo: Exception 2 at 80198CA0!
Obelix: Works
Full throttle: Works, movie's work. After the bike fight it hangs (press esc to pass before it hang). Save and load work. (tested it with no sound). Same times there is a tinny slowdown.
Need for speed: Error “getvesainfo – invalid vesa info. Vesa driver is installed?”.
Knights of Xentar: Works, At the frame whit the red hear guy it hangs. Screen scaling don’t work.
Deadly Racer: Works.

Oddworld: Abe’s oddysee: log error, when skip it works, very slow, screen black and white. Controls are hanging (when holding a button), CPU components acts as suppose to. At the menu in “game speak” Abe acts as suppose to. When trying to save the game it hangs. Intro movies don’t show. You can take control over other enemies (“Sligs”), but also when holding a control the “Slig” or “Abe” moves on it one (control hangs).To control “Abe” you have to wait 3 seconds every time you push the left key or else the controls hangs and “Abe” moves one it one. Tested at 396MHZ, 15FPS and in scale mode.
Worms united: Works, CPU acts weird it moves to the left and then it waits till the time is over or it just waits till the time is over.
Worms Demo: Works, CPU acts weird it moves to the left and then it waits till the time is over or it just waits till the time is over.
Zool 2: Loads, gives black screen.
Warcraft: Works, when trying to save the game and you switch from touch screen mouse to keyboard the keyboard don’t work. Also at Warcraft Demo. Also when you select at the main menu "start new game" than "single player" and than "custom game" when selecting a worker to build the "farm" the button is missing. Also when selecting "town hall" the fallowing builds are missing: "build road" and "build wall". Movies are hanging at the first frame.
Blood: loads, than gives “src\loadsave.cpp(501): File error #1 loading save file header.”
Theme Hospital Demo: “Failed to initialize VRES256 screen”.
Warcraft 2: log error.
Blouse brothers 2: Loads, gives black screen.
GTA: log error.
Tomb raider: Loads, gives black screen.
Little Divil: Works, also sound and save/ load game.
Elder Scrolls: Arena: Works, little slow down.
Command and Conquer: log error.
Destruction derby: log error.
Settlers: log error.
Jazz jack rabbit: log error.
Little big Adventure: log error.
Gp500II: Works, Mouse hang in menu.
Burntime: loads the intro than it hangs.
 

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
Version 0.08 released!

This version has the following improvements:
- A lot of new opcodes implemented!
- Windows 3.00a can be run in either Real or Standard mode.
- Improved BSOD reporting further, now errors in the core emulation are reported in the dsx86dbg.log file.
- Some other bug fixes and improvements.

Pate
 

Buleste

Old Fart
Member
Joined
Dec 19, 2010
Messages
852
Trophies
0
Age
51
Website
www.redbubble.com
XP
590
Country
Many thanks for your hard work as always.


EDIT:SOUND!!!!! We have sound on some games (albeit not high quality but this is due to the crappy SDK rather than Pate's excellent hard work).
DUNE2 now has sound.
UFO - Enemy Unknown and X-COM - Terror From The Deep can run the intro movie with sound but you cannot play the game yet.
Frontier - No sound
Bloodnet - No sound and running the setup and selecting Soundblaster causes crashes.
Knights of Legend - No sound (but then it doesn't support SB anyway).

Time to test a few more.

EDIT2: I've tested some more games and whilst I have not found anymore working games with sound I have found the following
Syndicate - Intro runs with sound (game still not working).
Dungeon Master 2 - The Setup test of the sound card works and plays the test. It also auto detects the sondcard (game still not running).
X-Wing - Initialises the sound (you hear a click) but doesn't actually play any

@Mad008 Settlers is now working fine.
 

Pate

Well-Known Member
OP
Member
Joined
Dec 23, 2010
Messages
108
Trophies
0
XP
82
Country
Finland
Version 0.09 released!

This version has the following improvements:
- Implemented screen scaling for all common graphics modes.
- Fixed the DOS and BIOS date/time functions to return proper Real Time Clock values. This might fix some hanging games.
- Fixed EGA Read Mode 1 handling (fixes EGATrek graphical issues)
- Fixed EGA Read Mask initial value (fixes Ultima V hanging)
- Added a warning message for games that need a Floating Point Unit.
- Screen copies are saved to incrementally numbered files SCR00.BMP..SCR99.BMP.

See my blog at http://dsx86.patrickaalto.com for more info and download link!

Pate
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Lol