flat assembler
Message board for the users of flat assembler.

Index > DOS > DOS type and verisons

Author
Thread Post new topic Reply to topic
Jmac



Joined: 23 Nov 2009
Posts: 54
Jmac 01 Jun 2010, 01:49
Hi all..

i read in the FAQ's that MS_DOS is dead...but Dos is not..

What dos comes with XP.....

or should I be downloading something New


John
Post 01 Jun 2010, 01:49
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 01 Jun 2010, 02:03
Wikipedia says NTVDM runs a mod'ed DOS 5 http://en.wikipedia.org/wiki/DOS#With_Microsoft_Windows

If you want to use a DOS-like OS for some reason, FreeDOS is probably the most up to date one you'll find. Dex4u has a toy OS named miniDOS that is supposed to mimic DOS and it's APIs. You could run either in Bochs.
Post 01 Jun 2010, 02:03
View user's profile Send private message Reply with quote
Jmac



Joined: 23 Nov 2009
Posts: 54
Jmac 01 Jun 2010, 04:31
Hi..

Thanks for that.......now..If I wanted to put freeDOS in an old win95 computer....what effect would that have to the computer..
Post 01 Jun 2010, 04:31
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 01 Jun 2010, 23:30
Depends, I don't know if the FreeDOS installer can partition disks, so about the worst that could happen is that it could format the hdd without asking first, or it could blow up... whichever happens first...

You should probably try it in a VM before installing it though. There plenty of good, free virtual machines, Bochs is used a lot by OSdev'ers, but is suitable for real use too.

The worst possibility, sorry for the crappy ad, it's worth it though.
Post 01 Jun 2010, 23:30
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 06 Jun 2010, 11:59
> What dos comes with XP.....

None at all (there is NTVDM ...)

> or should I be downloading something New

* If you want to develop for DOS, get DOS

* If you want to develop for something else, get that one (and use appropriate subforum)

> wanted to put freeDOS in an old win95 computer....what
> effect would that have to the computer..

None at all (waste 0.3 to 300 MiB of HD space).

Be warned that FreeDOS distros are obsolete and the installer isn't good, also the 2039 kernel has a bad regression. If you want to get FreeDOS, download kernel 2038 and latest versions of the other stuff, and install manually. You can drop FreeDOS instead or besides Windaube 95/98/ME, use the METAKERN thing to multiboot Smile

> http://www.metacafe.com/watch/1022826/exploding_computer/ The worst possibility, sorry for the crappy ad, it's worth it though.

B.S. (entirely black screen)
Post 06 Jun 2010, 11:59
View user's profile Send private message Reply with quote
Jmac



Joined: 23 Nov 2009
Posts: 54
Jmac 07 Jun 2010, 00:45
Hi all

Tell me if I am totally wrong here....but does DOS work better as such when wanting to talk to the real world.
My question resulted from not being able to run a piece of code, given on another part of the forum to get the CPU frequency.... would not work on my old Toshiba Satellite 220CDS laptop...I think the conclusion was that its not seeing the rdtsc instruction.....From my reading, which at time can be a dangerous thing....the rdtsc came out of being protected to being able to be used in programs in pentium with mmx of similar....which I dont think mine is.....so as it does have a TSC it seems it cant be read...

Is there any way to change this......I Think it is CR4 that has a bit that controls this.
Post 07 Jun 2010, 00:45
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 07 Jun 2010, 06:20
> was that its not seeing the rdtsc instruction.
> I Think it is CR4 that has a bit that controls this.

YES, but AFAIK neither Windaube nor Linux do set it, and even worse, in DOS you have real mode so this bit is irrelevant and RDTSC will work if present (Pentium, maybe late 80486's too).

Maybe in V86 mode RDTSC will not work on late 80486's or early Pentium's, that's why FreeDOS EMM386 and JEMM386 do "emulate" this instruction.
Post 07 Jun 2010, 06:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.