[WIP/DEMO] 3DOS - 8086(DOS) emulator for the 3DS

Discussion in '3DS - Homebrew Development and Emulators' started by shutterbug2000, Aug 7, 2015.

  1. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    NOTE: This emulator is based off of 8086tiny, all I've done is make it run on a 3DS. If you want to see the source code, go there because it's the same besides about 10-15 lines of code. :P

    So, I've decided to put out my latest project: "3DOS", a port of 8086tiny to the 3DS.

    It's "functional", but it doesn't have input support(*should* be fairly easy to do) and only supports text mode(which is strange at times due to the terminal output for the 3DS/ctrulib not having "ANSI escape?", which I think 8086tiny uses for some printing. If anyone knows how to convert this to just ASCII or whatever, let me know :P), but graphics are supported using SDL, so it shouldn't be too hard make that work.

    I've attached a copy of the emulator, along with the bios file for it and a copy of freeDOS, which will make it to the command prompt, but you can't input anything.

    [​IMG]
     

    Attached Files:

    • 3DOS.zip
      File size:
      1.3 MB
      Views:
      3,182
  2. Shubshub

    Shubshub The Shubinator

    Member
    902
    482
    Oct 16, 2009
    New Zealand
    The dark part of your house
    if the source is available you should take a look at DSX86 Its basically a DOS Emulator for the Nintendo DS

    EDIT: http://dsx86.patrickaalto.com/ Here's the website although I couldn't find any "source code" downloads
     
    SSQ likes this.
  3. futaris

    futaris Member

    Newcomer
    40
    9
    May 25, 2006
    Brisbane
    8086 tiny plus has MCGA support. I think it doesn't use the ANSI console either.
     
  4. Selim873

    Selim873 Nunnayobeesnes

    Member
    1,176
    588
    Jul 31, 2010
    United States
    Chillin' with Bob Ross
    I love you.
     
  5. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Lol thanks!

    Also, I figured I should mention: Try out different disk images, and let me know if they boot or not. I *might* make a tutorial later about how to make one, but for now, google is your friend :P
     
  6. Selim873

    Selim873 Nunnayobeesnes

    Member
    1,176
    588
    Jul 31, 2010
    United States
    Chillin' with Bob Ross
    Haha you're welcome! I've never used 8086tiny (DOSBOX user), so I'll have to look into it when I have more free time. :P I will be EXTREMELY happy to be able to play Out of This World after 3DOS has some time worked on!
     
  7. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Cool! I'm actually probably gonna work on the input now, so I'll let you know how that goes.

    Also, a "disk image" is the fd.img supplied in the zip. :D
     
    Selim873 likes this.
  8. Selim873

    Selim873 Nunnayobeesnes

    Member
    1,176
    588
    Jul 31, 2010
    United States
    Chillin' with Bob Ross
    Alrighty! Well, MS-DOS 6.22 is going to be tested. Also, when you get input working, do you think you could have it mount a C: drive in a folder at the root of the SD card by chance at startup by default? So maybe whenever someone starts 3DOS, the C: drive will be in SD://3DOS/ I'm planning on attempting to install Windows 3.1, or at least run the installer, for the giggles. :P

    EDIT: MS-DOS boots! Gives an XMS driver error, but it boots. :P
     
  9. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Cool! Also, sadly, due to how 8086Tiny works, there is no way to "mount", everything is a disk image. I could make a 3DS folder to .img converter, which it will load by default.

    — Posts automatically merged - Please don't double post! —

    Nice! Also, testing the first version of input right now!
     
  10. olshrimpeyes

    olshrimpeyes Your question is bad and you should feel bad

    Member
    454
    283
    Jul 30, 2015
    United States
    GNU/Somewhere
    Really cool, great work on this. I'd love to see how it progresses.
     
  11. Selim873

    Selim873 Nunnayobeesnes

    Member
    1,176
    588
    Jul 31, 2010
    United States
    Chillin' with Bob Ross
    Oh okay. lol I'm totally going to toy around with this with some of my free time!
     
  12. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Also, if you want to load custom programs to test, use WinImage to make a img.
     
  13. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,212
    1,044
    Jan 9, 2006
    Cool. I'll watch this emulator!
     
  14. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    Now just watch in two weeks we'll be booting Windows 3.X.
     
    memomo and BufferOverflow like this.
  15. BufferOverflow

    BufferOverflow Member

    Newcomer
    36
    25
    Nov 15, 2014
    Gambia, The
    Baden-Württemberg
    We got run Windows 3.11 for Workgroups on a DS, and we will run this on 3DS again, because we can. :nds:
     
    SSQ likes this.
  16. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    Ok then. 95.
     
  17. BufferOverflow

    BufferOverflow Member

    Newcomer
    36
    25
    Nov 15, 2014
    Gambia, The
    Baden-Württemberg
    Damn, I hope so, 3DS have more ram than DS.
     
  18. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    Yeah. 95 can run on a potato, if at least it can display on the top screen and have a virtual keyboard, and the slide pad doubling as a mouse, that'd be really neat to see.
     
    memomo and kactusss like this.
  19. BufferOverflow

    BufferOverflow Member

    Newcomer
    36
    25
    Nov 15, 2014
    Gambia, The
    Baden-Württemberg
    My friend, you know what I mean. You read out of my thoughts.
     
    memomo and loco365 like this.
  20. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    So, input is somewhat working! Currently, directions on the Dpad can be pressed, up = d, right = i, down = r, and start = enter. So, by pressing up, right, down, start, the directory listing is displayed. I'll have a video of this up later, as well as a .3DSX, but for now, take this image, I'm going to sleep :P:[​IMG]
     
    Selim873 likes this.