VOGONS

Common searches


First post, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

yo. you know, i was wondering: i'm in the process of game-enabling a friend's old rig, and i ran into the usual conventional memory problem, with an odd addition: himem.sys is cloggin' around 45k of that gilded portion of memory, i'm not exactly sure why... so i have a few questions:
what might be the cause of such bloating? i thought it might be that it tries to allocate the entire ram area as extended (16 megs), but i'm not exactly sure how to deflate its usage...
does anybody know of other good memory managers? i haven't tried qemm yet, but since the user is basically enough a doofus i don't wanna frazzle his computer, i won't be able to fix it in a timely manner. he has windows 95 by the way.
is there something like a memory emulator which would convert some xms, or maybe even the high and upper memory blocks, to conventional memory? my problem is that to enable such blocks, thus allowing me to move tsr programs to those portions, i need to have himem loaded first, but himem itself is quite the hog. the sad thing is, i can't experiment since i'm using 2000... and my win98 rig is half bonkers 🙁 also, keep in mind that i tried the usual textbook techniques, like trimming down the programs the system loads and enabling the monochrome area for use by dos programs, none of the standard improvements went overlooked 😒 well, any ground-breaking ideas? 😁

Reply 1 of 18, by Snover

User metadata
Rank l33t++
Rank
l33t++

QEMM is a piece of junk, don't use it. As far as the size of the resident HIMEM.SYS, I don't think I've seen that much taken up. I just checked a VM of mine and HIMEM is taking up 1kB of conventional RAM. I seem to recall it using more like 15kB in a real-world situation, but I've been out of it too long to remember. Unfortunately, you cannot create conventional RAM out of extended RAM.

Yes, it’s my fault.

Reply 2 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

hmm... well, i figured, since emm386 DOES emulate ems memory. mmm, would be fun to see if that could be done for conv too... why nobody ever thought of that, i wonder? but anyway. as i said it's first version's himem, maybe it was just THAT shoddy... i'll have to look into these hijinks a little more. other ideas, anyone? any memory managers i wasn't aware of? i found one, but that's for freedos - it wouldn't work with dos 7, right?

Reply 4 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

hunh? i thought dos was unable to load stuff into the upper and high memory blocks unless a memory manager was loaded, never knew they removed that quirk from 7. the relocation of the monochrome segment was a nice touch anyway, good work 😉 i'll try some of that stuff when i put my hands on his pc (i already tuned a bit of stuff so i'm just gonna implement the memory areas part and some other emm386 and maybe himem fixes i know of). good job, although i might suggest making multiple configs: maybe one that disables ems for some of those conv-hungry games or without optical devices support, but i guess that anyone with the need to do that kind of stuff should already know how to implement it themselves 😁 thanks man.

Reply 6 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

well, they do have an alternate memory manager, but are we sure it's safe to use on standard dos? i mean, it's not gonna kwak anything up, is it? as i specified it's not my system, if it was i'd try it right away... but i gotta take precautions here. memory managers can be quite catty, you know 😜

Reply 10 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

got that one covered. well... i guess i'll try with that memory manager, but if i can get himem to load into high memory i'm good to go without extra stuff. i'll let you know how it went, thanks you guys.

Reply 11 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

well lookie that, it worked without messing with alternate emm386 and himem versions: i infact managed to uncork about 585k or so of conventional memory. looks like i just needed to get my memory refreshed about the ol' tricks, thanks. but now there's another problem: the sound card is pulling shenanigans on me, it's a sb32 pnp and i can't get it to work under dos. it's cherry under windows, but there's no way in hell it's gonna work under dos... can anyone point me to some good dos drivers? all i found were drvs for sb16 cards, and although that one's setup does mod the autoexec there's still no output. no error messages but no audio either, nor in sb, neither in adlib mode. this just gets weirder and weirder 😵 same goes with the mouse: it's a ps2 mouse and ctmouse won't recognize it... sorry if i'm asking rather than looking for it, but since this thread is already open i thought i might even ask in one shot 😜

Reply 12 of 18, by Snover

User metadata
Rank l33t++
Rank
l33t++

Games load their own sound drivers in DOS.
SET BLASTER=A220 I7 D1 H5 P330 (this has to match your actual setting but this is the default for AWE32 cards)

If you would please to be just using 2DOSWIN, you would not need to ask such questions.

Yes, it’s my fault.

Reply 15 of 18, by japheth

User metadata
Rank Newbie
Rank
Newbie

this problem with himem.sys (win95b version) occupying about 40 kB of space is - or better was - well-known and confirmed by MS. There surely is an update available, but one can as well patch the binary itself. the bug is not in himem.sys but in io.sys (dated 5.9.1996, size 214836): modify byte at offset 51f6 from BC to 58!

Reply 16 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

whoa... guys, you rock. it's gonna be two weeks until i can test this stuff out, but i'm sure i'll be able to get the most out of that rig now. with that i should reach around 615-520k of free conv - maybe i'll even crack an attempt at ems memory - AND get the sound up and working with some thinking and little fuss. thanks dudes. p.s:

If you would please to be just using 2DOSWIN, you would not need to ask such questions

i gave a look at your config, it's good but it's designed for sb16 cards. the sb32 set blaster line, on the other hand, has two more values, the first is the well-known T6 (which is found on sblive drivers as well), the second was something620... eh, don't remember. hence, i apologize in case i looked stupid, but it looks like it wasn't such a straightforward problem. that's all i'll say in my defense 🙄

Reply 18 of 18, by Win98_R0x0rz

User metadata
Rank Newbie
Rank
Newbie

yeah, that one. it also loads the ctsyn driver, which appears to be needed with sb32 cards... what a mess. wish that piece of junk was recent enough to run dosbox... or had a regular joe's sb16. it was fun messing with dos again tho', it gave me this nostalgic feeling, you know? groovy. i think i might actually rig myself up a pentium solely for abandon... heh, who knows 😀