VOGONS


ram drive

Topic actions

First post, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Rather than rewriting a ram drive, use one of the ones already available.

http://www.ibiblio.org/pub/micro/pc-stuff/fre … es/dos/ramdisk/

srdsk209c.zip
http://www.mdgx.com/dos.htm

They need to be loaded as a device from the config.sys, but that's where this post comes in. There is a dos utility that lets you load devices from the command line, anyone know it? I forget what it's called and SNR is high searching with generalized keywords. Anyway, there's the possible solution for using a ramdrive in dosbox.

Reply 1 of 10, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There is a tool, but block devices won't chain in under dosbox.

Reply 2 of 10, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Well, another solution is to setup a ramdrive outside of dosbox and just mount it as a drive.

Reply 3 of 10, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Right, though hd speed and even external drive speed is usually no issue
especially when the drive/device is read-cached/read-ahead.

Reply 5 of 10, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

One of the guys from the closed thread was saying he was having issues with his flash drive, so perhaps this would help. Any rate, there is an available solution.

Reply 6 of 10, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

If you're referring to a 63MB limit in dosbox, that's only a compile correction away.

Reply 7 of 10, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Flash drives are fast to read (access time is 10 times lower than average hdd) but slow to write. If running from flash is slow, the game must be writing to it...which is very bad for flash 😜 Although at current prices, even if you change it every month... 😀

http://www.si-gamer.net/gulikoza

Reply 8 of 10, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

that's only a compile correction away.

There's more to it (xms interface), but it's irrelevant at that point.

Reply 9 of 10, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

Ya, I was only addressing the memory limit. I take it block device handling needs some linked list or other to chain? That's my best guess from your comment:), but I don't know the details of the handling.

Reply 10 of 10, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I take it block device handling needs some linked list or other to chain?

There's way more about it. The chaining in a linked list (device chain) is needed
for char devices as well, but block devices additionally have drive letters assigned
to them, and a fullblown access interface (i don't know too much about it as i've
never dealt with it).