Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: njaddison on October 21, 2012, 06:04:41 pm

Title: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: njaddison on October 21, 2012, 06:04:41 pm
I feel kinda stupid asking this question. I know that I'll probably get some vicious replies. If not then, I stand corrected.

Would MS-DOS work on the nspire? I mean like the MS-DOS Prompt, or DOSBox.

Would the actual MS-DOS work on the nspire with a few tweaks and changes? If not, then would DOSBox, or the actual Windows Command Prompt, work?

I saw that tangrs is trying to port Linux to the nspire: http://ourl.ca/17131/318457 (http://ourl.ca/17131/318457)

So I thought, "Why not MS-DOS?"

I think that DOS would be nice on the nspire. It would allow you to run DOS games. This means that you could play MS-DOS games without them having to be ported to the nspire. Like the actual Duke Nukem 3D, for instance, which I really want on the nspire.

Also, if DOSBox could be ported to the nspire, you could run older versions of Windows!!!!!!

Please tell me whether or not this is possible. If it is, I think that both DOSBox and MS-DOS would be nice.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: TIfanx1999 on October 21, 2012, 06:08:43 pm
MS DOS itself, no. It's built for an entirely different platform. A port of dosbox should be possible though.
*Edit* Keep in mind that the Nspire is limited hardware wise though and has lower res. than most PC's. The software it would be able to run in dosbox would most likely be limited to older Dos games that:
A: Were not huge.
B: Didn't have a high resolution.
C: Were not hardware intensive.

*Edit 2:* It also depends how Dosbox is written. If it depends on using windows and making use of a lot of backwards compatability, a lot will have to be re-written or done from scratch. If it's more of a stand-alone emulator it *should* be easier. Also, Windows OSes are generally pretty big, and even though the older versions are intertwined with DOS, Windows != DOS.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: Juju on October 21, 2012, 07:30:39 pm
As AOC said, MS-DOS itself, nope. But DOSBox is actually multi-plateform, it works on Windows, Mac, Linux, Wii, name it, so why not on the Nspire?

And I think Windows 3.1 fits on 2 floppies, so it will fit in the Nspire memory.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: piexil on October 21, 2012, 10:45:18 pm
Windows != DOS.

Actually, 3.1 and earlier were just interfaces ontop of dos and 95,98 and ME used the DOS kernel.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on October 23, 2012, 01:18:03 am
Would a Nspire be enough to run a game like Wolfeinstein 3D through DOSbox?
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: Netham45 on October 23, 2012, 01:23:48 am
Would a Nspire be enough to run a game like Wolfeinstein 3D through DOSbox?

I'd doubt it. It may launch, but I don't think you'd get any level of performance off of it.

As far as DosBOX goes, it uses SDL for it's input/output handling, so all we'd need is a version of SDL for the Nspire. It just so happens we have that. (http://ourl.ca/14975)

After that, it'd be the non-trivial task of getting it to run directly on the Nspire hardware.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on October 23, 2012, 01:25:49 am
Is DosBOX really demanding on resources, though? Like, is it so demanding that it would never get close to emulate a DOS port of Wacky Fun Random Numbar Generator v1.00000069 on a TI-Nspire? Or are just 3D games out of the question?
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: Netham45 on October 23, 2012, 01:34:58 am
It's the emulation aspect more than the emulator itself. x86 is a tricky platform to emulate at a reasonable speed on full computers in pure software, doing it on a such an underpowered ARM processor with memory and storage constraints would be next to impossible, at least with any sort of playable speed.

DosBOX was ported to the PSP, which has similar (though still superior: faster CPU, dedicated GPU) hardware; it was unable to play virtually any games at any sort of speed. Even rather simple sidescrollers like the original Duke Nukum were unplayable.

Edit: Just to clarify, it should be possible to get it to run, and you may even be able to do something useful with it, but even if it gets running it would hit hardware constraints before it played any games well.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: Lionel Debroux on October 23, 2012, 01:49:47 am
The rule of thumb, for emulation, is that good emulation of a given platform requires ~10x faster clock rate. Depending on the capabilities of the emulated CPU, and the capabilities of the host CPU, it can be like 5x or 30x (rough estimates)
IOW, anything that ran correctly only on newer hardware than 386 at 20 MHz (30 MHz if we're lucky) and/or used special hardware capabilities is unlikely to run smoothly on the Nspire, even if we can take advantage of at least two facts:
* emulating sound is not necessary, which frees some CPU budget;
* most DOS games do not use a resolution higher than 320x240 - i.e. no CPU-intensive software scaling required.



OT: the floppy version of the legendary Dune I game (1990-1992), which I've had since 1993-1994 and finished in 1996 or 1997, is IMO a good test for DOSBox, on any platform.
AFAIK, it's the first non-turn-based strategy / role playing game ever (at least on PCs, if not on all platforms). The graphics were fantastic, and the SoundBlaster-based sound is pretty good. If you don't know about that game yet, you should all try it on DOSBox, it can be addictive ;)
I finished the game without a walkthrough, but it took me quite a number of attempts, because it's fairly easy to unknowingly miss the single action that needs to be done to trigger a key storyline sequence point, and as a result, be unable to finish the game. All I can say is that it's necessary to talk to every person character in the game, and to pay thorough attention to what they have to say :)
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on October 23, 2012, 01:52:54 am
Thanks for the info. That also includes some other factors though, right? Eg I remember people saying that emulating an Atari 2600 would be very hard to emulate on a TI-Nspire due to how weird its architecture (I think of the CPU) is and that it was why there were so few games for that platform.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: calc84maniac on October 23, 2012, 01:55:33 am
Thanks for the info. That also includes some other factors though, right? Eg I remember people saying that emulating an Atari 2600 would be very hard to emulate on a TI-Nspire due to how weird its architecture (I think of the CPU) is and that it was why there were so few games for that platform.
I think Atari 2600 had more of the issue that it would be hard to create an emulator properly, but not particularly hard for the Nspire to run it, since it's still very underpowered hardware in comparison.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on October 23, 2012, 01:58:12 am
Thanks for the info. That also includes some other factors though, right? Eg I remember people saying that emulating an Atari 2600 would be very hard to emulate on a TI-Nspire due to how weird its architecture (I think of the CPU) is and that it was why there were so few games for that platform.
I think Atari 2600 had more of the issue that it would be hard to create an emulator properly
(Well, unless you're Calc84maniac :trollface:)
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: njaddison on October 24, 2012, 09:06:12 pm
would games in DosBox run faster on the CX than on a regular nspire, if it could be ported? if so, what could be done to make the speed relatively the same? just curious :).
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on October 25, 2012, 04:31:35 pm
The CX is a bit faster, so yes. However it's possible to make the old models run at the same speed as the regular CX speed.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: Nosferatu Arucard 1983 on May 20, 2013, 09:21:14 am
Running a DOS emulator on the weak ARM SoC of NSpire would be too slow, like a 1 to 4 MHz 80286 CPU.
Even a Tegra 3 ARM chip run DOSBox like a moderate 80486 CPU!
In fact the Tegra 3 can emulate Pentium II code at decent speeds if we use a JIT emulator, like the Winulator software for Android that can play Starcraft at full speed on a Android Tablet.
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: flyingfisch on May 20, 2013, 10:50:25 am
Holy necro... O.O
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DrDnar on May 20, 2013, 11:46:48 am
Holy necro... O.O
"Holy" and "necro" don't usually go together.
Title: Re: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on May 20, 2013, 11:50:46 am
Necropost*
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: TIfanx1999 on May 20, 2013, 12:37:28 pm
Holy necro... O.O
"Holy" and "necro" don't usually go together.
well...
Title: Re: Would MS-DOS (ex. MS-DOS itself, DOSBox, Windows CMD Prompt) work on the nspire?
Post by: DJ Omnimaga on May 20, 2013, 04:44:00 pm
So basically, bumping old threads would be called satanic posting? :P