DS2x86 (SCDS2 Entry)

Discussion in 'NDS - Emulation and Homebrew' started by Pate, Feb 27, 2011.

Feb 27, 2011

DS2x86 (SCDS2 Entry) by Pate at 5:37 AM (31,323 Views / 0 Likes) 191 replies

  1. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    Country:
    Finland
    DS2x86 is still very much a work in progress, and will most likely have significant updates every two weeks.

    [​IMG] [​IMG] [​IMG]

    http://dsx86.patrickaalto.com

    Pate
     


  2. bigpaws

    Member bigpaws Cat with da Big Paws!

    Joined:
    Nov 22, 2009
    Messages:
    604
    Location:
    Nintendo World
    Country:
    United States
    i fully support
    after it is one of the only actual ds programs compared to all those homebrew maker programs
    im hoping for win95 to run
     
  3. spinal_cord

    Member spinal_cord Knows his stuff

    Joined:
    Jul 21, 2007
    Messages:
    2,871
    Location:
    somewhere
    Country:
    United Kingdom

    Huh?
     
  4. Recorderdude

    Member Recorderdude Musician, Animator, Buffoon.

    Joined:
    Jun 19, 2010
    Messages:
    1,392
    Country:
    United States
    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 [​IMG]
    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
     
  5. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    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
     
  6. dib

    Member dib GBAtemp Advanced Maniac

    Joined:
    May 1, 2004
    Messages:
    1,561
    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.
     
  7. VatoLoco

    Member VatoLoco Don't crush that dwarf, hand me the pliers.

    Joined:
    Jan 29, 2008
    Messages:
    2,261
    Location:
    Ya Cant Get There From Here
    Country:
    United States
     
  8. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    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
     
  9. mad008

    Newcomer mad008 Newbie

    Joined:
    Nov 7, 2010
    Messages:
    9
    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.
     
  10. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    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
     
  11. syrusch

    Member syrusch GBAtemp Regular

    Joined:
    Oct 26, 2010
    Messages:
    108
    Location:
    Lausanne
    Country:
    Switzerland
    Hi,

    Thanks Pat. You're awesome. Will try this new release today and then report my testing here. Thank you !
     
  12. stanleyopar2000

    Member stanleyopar2000 The Official GBATEMP Thread Killer. No Mercy.

    Joined:
    Jun 22, 2007
    Messages:
    3,928
    Country:
    United States
    nice going..but don't forget us Sudoku Hack users [​IMG]
     
  13. Master_Thief

    Newcomer Master_Thief Member

    Joined:
    Sep 12, 2009
    Messages:
    15
    Country:
    United Kingdom
    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
     
  14. phoenixclaws

    Member phoenixclaws GBAtemp Fan

    Joined:
    Oct 10, 2007
    Messages:
    492
    Location:
    USA
    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.
     
  15. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    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
     
  16. mad008

    Newcomer mad008 Newbie

    Joined:
    Nov 7, 2010
    Messages:
    9
    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.
     
  17. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    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
     
  18. Buleste

    Member Buleste Old Fart

    Joined:
    Dec 19, 2010
    Messages:
    852
    Country:
    United Kingdom
    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.
     
  19. Pate
    OP

    Member Pate GBAtemp Regular

    Joined:
    Dec 23, 2010
    Messages:
    108
    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
     
  20. lemmymet

    Banned lemmymet Banned

    Joined:
    Mar 9, 2011
    Messages:
    57
    Location:
    Netherlands
    Country:
    Netherlands
    YIPPIEE a new version, i gonna try it NOW! [​IMG]
     

Share This Page