VOGONS


Question about device

Topic actions

First post, by Arkoudos

User metadata
Rank Newbie
Rank
Newbie

First of all i am new here so if i ask something wrong plz have patient 😀.
Itried dosbox 0.62 and i had no probs until now.
For a programm i needed to use this command

device=c:\drex_drv.sys

I tried to put it at the autoexec section but then i get this msg

device. illegal command

at the promth i had the same problem
But in the conf file i see that the command "device" i used 🙁

So what i make wrong ?

Thx in advance

Reply 1 of 7, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

There are no autoexec.bat nor config.sys files under DOSBox. You must make a bootable floppy containing that device driver and boot it from DOSBox. Search the forum and read the documentation. 😎

PS - There is an autoexec section inside DOSBox configuration file but I don't remember if you could put device= statements there. I think not, but you should check it out nonetheless.

Reply 2 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

nope devices loading is not supported. (at least not officially)

Water flows down the stream
How to ask questions the smart way!

Reply 3 of 7, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
Arkoudos wrote:

For a programm i needed to use this command

device=c:\drex_drv.sys

Eh - why do you need that?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 4 of 7, by Guest

User metadata

I need this file to put passwords to a database that only runs in dos
Without this the database dasnt work 🙁
Btw device is not supported and external boot is out of the question since the database will be on a flash and my notebook dont have a floppy.

Regards and thx for the answers 😀

Reply 5 of 7, by Arkoudos

User metadata
Rank Newbie
Rank
Newbie

nope devices loading is not supported. (at least not officially)
But.... is there a way ?

Reply 6 of 7, by robertmo

User metadata
Rank l33t++
Rank
l33t++

you can boot real dos from a disk image in dosbox. that should allow you to type almost everything you want in config.sys

Reply 7 of 7, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

I'm sure there was a program that loaded the devices for you so you could load them in a bat file. It was used for iso image mounting since it required a special cdrom driver to be loaded (which was .sys of course).