VOGONS


First post, by Errius

User metadata
Rank l33t
Rank
l33t

(See Game memory footprint in DOSBox)

Hi all, another question regarding emulating less than 640 KB of memory

How do I do this for a DOS booter image? You can't run LOADFIX or similar tools in that case. I want to see if a particular booter game runs in 256 KB, 128 KB or less memory.

"This all reminds me when i took the windows vista sticker thingy off my old laptop, and on my washing machine as a joke. A few days later said washing machine stopped working. I still think this cannot be a coincidence."

Reply 1 of 5, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

You can always load up a random TSR repeatedly until the desired amount of conventional memory is consumed. I think you can even get away simply with running COMMAND.COM repeatedly, though I'm sure there's a more elegant tool floating around out there.

Reply 2 of 5, by VileR

User metadata
Rank l33t
Rank
l33t
Jorpho wrote:

You can always load up a random TSR repeatedly until the desired amount of conventional memory is consumed. I think you can even get away simply with running COMMAND.COM repeatedly, though I'm sure there's a more elegant tool floating around out there.

But subsequently booting an image (as the OP states) would obviously render all that null and void.

Errius: just use PCem - it lets you easily configure the total amount of RAM installed. DOSBox won't work for this I'm afraid... I think there was a patch which added this functionality to the Daum build, but IIRC it didn't really work as expected.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 3 of 5, by Errius

User metadata
Rank l33t
Rank
l33t

Gotcha, Pcem it is then.

Also what version of LOADFIX are you guys using? The one I have doesn't accept any switches.

I got the same result from multiple calls of an old program called LOSE64K which literally consists of just two lines:

MOV DX,FFFF
INT 27

"This all reminds me when i took the windows vista sticker thingy off my old laptop, and on my washing machine as a joke. A few days later said washing machine stopped working. I still think this cannot be a coincidence."

Reply 4 of 5, by VileR

User metadata
Rank l33t
Rank
l33t

DOSBox's internal LOADFIX can be told how many KBs you want it to eat up- e.g. "loadfix -256" to allocate 256K (mind the "-", won't work without it). There's also "-f" to free it up again.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 5 of 5, by Errius

User metadata
Rank l33t
Rank
l33t

Oh cool I had an actual LOADFIX.COM program in C:\DOS that must have been hijacking the call

"This all reminds me when i took the windows vista sticker thingy off my old laptop, and on my washing machine as a joke. A few days later said washing machine stopped working. I still think this cannot be a coincidence."