Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Running DOS as an OS

Credits go to BAF, clovekx, Crazy Photon, da_flo, HoHo, khristina yer, ReyBrujo, Sirocco, and X-G for helping out!
This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
Running DOS as an OS
Evan Wilson
Member #5,878
May 2005
avatar

I know that DOS stands for disk operating system, but is there a way to run dos as my operating system temporarily? I mean, the computer I'm using (not this one, my computer) doesn't have a big enough hard drive to install windows again (I even fooled with the partitions, but no dice) and the one disk linux system I tried to install was like, corrupted.

So, is there a way to have a computer that will just boot up and run dos? And if so, do you guys know how to configure that? I mean, all I want to do is run simple dos games, like the old Duke Nukem and other Apogee titles.

--Inform Yourself--
Scientology

X-G
Member #856
December 2000
avatar

Google for and download a DOS boot disk.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

HoHo
Member #4,534
April 2004
avatar

If you have CD or DVD drive just get Knoppix. Its a lot better and is actually a real OS ;)

I think it is possible to buy dos from MS or their resellers but I haven't seen it on sale myself.

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

ReyBrujo
Moderator
January 2001
avatar

Bootdisk.com?

(Edited: I read about Partition Logic, comes in a LiveCD or floppy that boots Visopsys, maybe you can risk it).

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Crazy Photon
Member #2,588
July 2002
avatar

There was a good boot disk that you could even install in the HDD called Super MS-DOS, I will go search for a link of it...

EDIT: Here!

-----
Resistance is NEVER futile...

clovekx
Member #3,479
April 2003
avatar

FREE-DOS just run
format c: /s
and it should run

BAF
Member #2,981
December 2002
avatar

:Ponly if you want to lose your data do you run format c:

da_flo
Member #1,907
February 2002
avatar

You have no sense of humour, BAF ;)

khristina yer
Member #5,795
May 2005
avatar

Quote:

I think it is possible to buy dos from MS or their resellers but I haven't seen it on sale myself

I have seen it... $200
[edit]
You can find it for free, look for abandonware in a search engine and dig around.
[/edit]

I've done what your tring to do. I put msdos on a 20gig hd with 512megs of ram.
It can only read a little bit of the ram and has errors with emm386 unless you configure it to just use 32megs/16megs. Also it can't read the entire hard-drive. But It installed just fine. I was running things like privateer and
dune2.
You will need to get a mouse driver, get the mouse driver called cutemouse. If you have a soundblaster live then your'll need to get creative's emulator. I used the emulator with my audigy2 gamer board, but it has some major problems.
You will also have to be able to install things with the cdrom. You need to get someting like oakcdrom.sys. Which you can get from a windows98/95 boot disk.

here is a config.sys (be carful probably full of typeos)

DEVICE=C:\DOS\HIMEM.SYS                                                       DEVICE=C:\DOS\EMM386.EXE RAM                                                  
BUFFERS=15,0                                                                  
                                               DOS=UMB                                                                       
LASTDRIVE=E                                                                   
FCBS=4,0                                                                      
DEVICEHIGH /L:1,12048 =C:\DOS\SETVER.EXE                                      
DEVICEHIGH=c:\oakcdrom.sys /d:cdromone                                        
DOS=HIGH                                                                      
FILES=40

This is what my config.sys is in my bochs emulator.

AUTOEXEC.BAT

SET BLASTER=A220 I5 D1 H5 P330 T6                                             
C:\DOS\SMARTDRV.EXE /X
loadhigh c:\dos\mscdex /d:cdromone /l:e                                       
loadhigh c:\cm\ctmouse.exe
@ECHO OFF                                                                     
PROMPT $p$g                                                                   
PATH C:\DOS                                                                   
SET TEMP=C:\DOS

Thats what my configured stuff looks like in my bochs emulator.

You blaster would be different.
And you need to configure emm386.exe RAM
to just use 16/32 megs of ram(you'll get distorted sound with privateer if you don't).
I forgot how to configure it, but you could find something on the net I'm sure.

[edit2]
http://dosbox.sourceforge.net/news.php?show_news=1
you could just try using that.
if it doesn't work try a pc emulator.
http://bochs.sourceforge.net/

[edit3]
I googled and found something that might work for emm386.
devicehigh= c:\dos\emm386.exe RAM 32000000
try that. seems like the real thing was different though?:-/

Evan Wilson
Member #5,878
May 2005
avatar

Well, the computer has 16k Ram, so it's not like I'm overclocking DOS. I'll just get a dos bootdisk for the moment until I get some more Ram and a bigger hd (mine is like, 2 gigs)

Then I'll install either Gentoo or Ubuntu.

--Inform Yourself--
Scientology

Sirocco
Member #88
April 2000
avatar

I'm guessing you mean 16mb of RAM... which is quite a lot for the vast majority of DOS apps ;)

-->
Graphic file formats used to fascinate me, but now I find them rather satanic.

da_flo
Member #1,907
February 2002
avatar

16 k of RAM ?
I hope you mean 16 MB... :o

Evan Wilson
Member #5,878
May 2005
avatar

Heh, yeah, still, it's not enough to install Red Hat.

Oh well, I think I got things under control.

Thanks!

--Inform Yourself--
Scientology

Arthur Kalliokoski
Second in Command
February 2005
avatar

You didn't say which version of Windows you're running? Anyway, I doubt FreeDos would run on NT/Win2000/XP. If you're not using HPFS (sp? the high performance file system) a boot disk might work. I got W98, and edited MSDOS.SYS (it's a text file on win9x) to BOOTGUI=0, BOOTMULTI=0 and entered a new line LOGO=0 so I can see the device drivers load instead of looking at whatever LOGO.SYS (a bmp file) has in it (usually clouds)

I tried the Freedos thing myself, it worked so-so, crashed occasionally. It could read all of drive D: which MSDOS 7.1 chokes on in actual dos. You don't have to reformat your drive, it can install a boot loader which can coexist with GRUB at least.

However, I also like to copy all my files from windows to linux partition occasionally, then dd the windows partitions with a few megs of zeros, and reinstall windows, then copy my programming & info stuff back. Linux couldn't grok the FreeDos thing and I had some probs doing the above.

[EDIT]

I forgot there's a third party program available for free somewhere on the web called DOSBOX, I've seen lots of gaming sites that imply this works well for old dos games on XP.

They all watch too much MSNBC... they get ideas.

Panda
Member #6,001
July 2005
avatar

I think that you can use format in FreeDOS like "format a:"
and put some necessary files (don't kill the kernel, you'll need it).
This is my setting:

[FDCONFIG.SYS](CONFIG.SYS)
FILES=40
BREAK=OFF
LASTDRIVE=Z
BUFFERS=20,0
FCBS=40
STACKS=0,0
DOS=HIGH,UMB
VERSION=6.20
DEVICE=C:\FDOS\BIN\HIMEM.EXE
DEVICE=C:\FDOS\BIN\EMM386.EXE NOEMS
DEVICE=C:\FDOS\BIN\TDSK.EXE 16384 512 144 1
DEVICE=C:\FDOS\BIN\ATAPICDD.SYS /D:CDROM001
DEVICE=C:\FDOS\BIN\CDRCACHE.SYS CDROM001 CDRCACH$ 32
DEVICE=C:\FDOS\BIN\NANSI.SYS /S
SHELL=C:\FDOS\COMMAND.COM C:\FDOS/E:2048 /P=C:\FDOS\FDAUTO.BAT

[FDAUTO.BAT](AUTOEXEC.BAT)
@ECHO OFF
PROMPT $P$G
PATH C:\DJGPP\BIN;C:\FDOS\BIN;C:\TOOLS;C:\SETEDIT\BIN
SET DJGPP=C:\DJGPP\DJGPP.ENV
SET HELPPATH=C:\FDOS\HELP
SET LANG=US
SET NLSPATH=C:\FDOS\NLS
LBACACHE BUF 8192 FLOP
TICKLE
SHSUCDX /D:CDRCACH$
SET BLASTER=A220 I5 D1 H5 P330
MOUSE
ECHO WELCOME TO FREEDOS

TDSK is for ramdisk (N/1024)
ATAPICCD and SHSUCDX are for CD-ROM,
CDRCACHE is for CD-ROM cache (N/4)
LABCACHE is for harddisk cache (N/1024), TICKLE is for floopy cache
MOUSE or CTMOUSE is for mouse (include wheel mouse)
also you can put EDIT, XCOPY, DELTREE,ZIP, UNZIP32 etc.
I hope these could help you. :)

DJGPP 2.03/GCC compiler 4.0.1/GNU binutils 2.16.1
GNU Make 3.79.1/GNU Texinfo 4.8/GNU Sed 4.1.4
Allegro 4.2.0 beta 4/FreeDOS 9

ReyBrujo
Moderator
January 2001
avatar

Indeed, 16mb RAM is too little for most Linux distros. You may be able to use DSL (though it requires 64mb I think).

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Evan Wilson
Member #5,878
May 2005
avatar

I tried DSL, but it didn't work.

And when I say tried, I mean I looked at the requirements and laughed.

--Inform Yourself--
Scientology

ReyBrujo
Moderator
January 2001
avatar

Hmm... Try DragonLinux, Slackzip or CDLinux. Dragonlinux may work, it runs on top of DOS, same as Slackzip.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Kitty Cat
Member #2,815
October 2002
avatar

I had BasicLinux working on a 16MB machine. Don't expect to get X working very well, if at all, with that, though. Maybe if you have a good swap partition..

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

ReyBrujo
Moderator
January 2001
avatar

There is a Floppy distribution, with X interface, but it works. Dragonlinux should work fine enough, and you can download a version with and without X.

(Edited: here is a screenshot of the floppy distro. That whole thread may be useful for you).

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

aybabtu
Member #2,891
November 2002

Quote:

I mean, the computer I'm using (not this one, my computer) doesn't have a big enough hard drive to install windows again

Quote:

I'll just get a dos bootdisk for the moment until I get some more Ram and a bigger hd (mine is like, 2 gigs)

Why don't you just use Windows 95 or 98? I had Windows 95 installed on a computer with a 816mb harddrive, with only 8 mb RAM. It only takes 100 or 200mb I think, if even that. Seems like you'd have plenty of space for either. I would probably recommend Windows 95, actually...I liked it a lot better than 98.

Plus, you get all the benefits of DOS there too...should be no problem to play old DOS games. I used to do it all the time until I got a "new" computer.

Evan Wilson
Member #5,878
May 2005
avatar

I tried installing windows 95, but it says I don't have enough space. I'll try either getting a dos boot disk or a smaller linux distro.

--Inform Yourself--
Scientology

khristina yer
Member #5,795
May 2005
avatar

http://www.bootdisk.com/

very good source.

Evan Wilson
Member #5,878
May 2005
avatar

So I was wondering:

I got dos working, so that I can run games off of a disk.

Unfortunately, this is really slow and doesn't work as well as I'd like it to.

Is there any way to access the C Drive? When I try to access it, it tells me there's an invalid drive specification. I redid the partition, activated it, and everything. Still, no access to the C drive. I want to know because if it's possible, I'd love to have gcc on there so I could use like, Edit.com to write cpp files and compile them..

Any way to do this?

--Inform Yourself--
Scientology

khristina yer
Member #5,795
May 2005
avatar

I'm afraid dos only works with dos partitioned and formatted drives. But other OS'es can read dos drives

 1   2   3 


Go to: