03/21/2001

I accomplished two things yesterday. The first was to set up an experimental Squid Web cache at work. Then I left to go edit video. How nice of me. I hope it held up all day, but I suspect it didn’t have any problems. Linux is awfully reliable.

Mandrake makes it really nice. Basically you do a server install, then once it’s up and going, issue three commands and you’ve got a Web cache. I guess I ought to document what those three commands are, huh? I think they’re written down at work.

The system requirements are steep; you need lots of memory and lots of disk space

And now that I’ve had one, I want another one in my other office. There’s a 133 MHz Power Mac sitting over there with a big disk and a ton of RAM. It’s not useful for running Mac apps because it’s too slow. I think I’ll grab a PowerPC distribution of Linux, install it, grab Squid and compile it, and set it up for over there. Squid needs memory and a good disk subsystem much more than it needs CPU power, and this Mac has both. And I understand Linux loves RISC, so I suspect this’ll make a nice Squid server.

I also spent 7 hours learning how to edit video. This after a half-day at work. I’m emerging from the zone–I’m very difficult to work with because I’ll zone in, forget about my surroundings, and totally lose track of time and other things like food, drink, and rest. It’s almost totally like my body shuts down and it’s just my mind and my hands. Now I’m back, and it’s catching up with me, and sooner than I expected. It must mean I’m getting old.

At any rate… What I learned is that editing video with modern equipment is very easy. Stringing video clips together is as easy as stringing words together. After about four hours’ instruction, I was good enough to put together video that looks outstanding to the untrained eye. Making it look good to the trained eye will take another seven hours’ training and years of experience. I can get the training pretty easily.

Raw skills can be taught, and I guess I had some of them already. I already knew the Mac and I knew page layout, and video layout uses a lot of the same concepts (not to mention keystrokes). Some things have to be developed, and some things you’re pretty much born with. It’s too soon to know how much I lack is developmental and how much is innate.

I think it says something that I don’t even know what equipment we were using–I just ignored everything but the key commands used for stringing together video. I think that’s part of the secret. Pay no attention to the things you don’t need now. You can always learn them when you need them. Master the things you need now. Better to be A-plus at what you need to know now than C-plus at everything, including things you’ll never use and the things you need now. So what if you don’t know much? At least you know something.

And I know this: I want to do this on a PC.

Experiments running old Mac software on a new Mac

Mailbag:

Compressed ramdisk; partitioned HDD; ram limitations

Mac adventures. Nothing fun. Take my advice: Don’t bother trying to get MS Office 4.2.1b running under MacOS 9. Not that most people would try to run software that’s two versions back on a new system, but… I guess these guys didn’t have money left in their budget to upgrade their old software after paying too much for an iMac.

Now, on a PC, the answer’s simple. Multiboot an older copy of Windows. (But Office 4.21 runs just fine under newer Windows, but humor me.) I can run DOS 1.0 on a Pentium IV if I want to for some insane reason, to get the ultimate in backward compatibility. If there’s some CP/M-86 app I want to run for some odd reason, I can run CP/M-86 on a P4 too–it’ new machines is software that tries to access the IBM PC’s ROM Basic. Very few programs did. The compatibility problem you’re most likely to run into is due to programs not handling very high CPU speeds well, but that’s curable with slowdown.

Older Mac software is very hit and miss with newer versions of the OS, and you can’t do backlevel OSs on new Macs. Whatever the current OS was at the time of a model’s introduction is generally the oldest OS you can run. There’s no booting into System 7.5.5 on your G4 for optimum compatibility with a legacy app you need that hasn’t been updated.

I almost resorted to trying to run it in the vMac Mac Plus emulator , but I found the hard disk files too cumbersome to deal with–getting files into them is really a chore, and besides, vMac didn’t seem too interested in mounting a hard disk image–only floppies. It’s a real shame the excellent Basilisk Mac II emulator hasn’t been ported to the PowerMac.  I’ve used it to run 68040- software on Windows PCs in a pinch numerous times, and fast PCs emulate the 040 much faster than the real thing. A Mac Basilisk port would be a very workable solution for running finicky older software on newer machines.

Later, I spent a couple of hours trying to get an Epson Stylus 850 printer working on another iMac with a USB-to-parallel adapter. Usually it works flawlessly. This one doesn’t want to play. I got rid of the “port is in use” error I had been getting by uninstalling and reinstalling the driver (my last resort, after trashing the printer preferences, AppleTalk preferences, and everything else I could think of in the Preferences folder, then zapping the PRAM by holding down Cmd-Option-P-R at boot time and letting it chime seven times), but then Chooser asked whether the printer was connected to the printer or modem port. Answer: neither. It’s an iMac. It’s connected to USB. I humored it by trying both phantom ports, but neither setting worked. Then I downloaded a patch from Epson’s Web site and installed it. The port-in-use errors came back. Lovely. I gave up for the day. Macs are supposed to be easier? Hardly. Maybe they’re a little easier to use (I doubt it) but they sure are a lot harder to fix.

Along the way I found this useful list of extensions and control panels though . So something good came of all this.

Mailbag:

Compressed ramdisk; partitioned HDD; ram limitations

03/19/2001

Another useful hidden utility. If you’ve never used Sysmon.exe, remember it. With Windows 98 and newer, you can use it to track CPU usage, memory usage, and disk throughput (usunted information, I always searched the Web. When I wanted useful information, I hit DejaNews. Sure, there was a lot of junk out there, but 50% of it was good stuff, and most of that never made it onto the Web. I never did find any useful information on the Asus SP97V motherboard on the Web, because the hardware sites weren’t into it. I found out what I wanted to know about it from DejaNews. When I wanted to know how to get Windows NT Workstation machines to authenticate against an OS/2 domain, I found out how on DejaNews. When I needed information about XTs and ATs for some insane reason, I hit DejaNews.

I spent a little time in the comp.sys.ibm.pc.hardware hierarchy for old time’s sake yesterday. I’m sure I’ll get a ton of spam now because I probably didn’t spam-filter all of my e-mail addresses, but that’s OK. It was pretty fun. I’ll have to do it again someday soon. It’s the closest thing I can find to an old-style BBS that still exists and has a sizable community. The scary thing is, some of the old WWIVnet message boards had a bigger community than comp.sys.ibm.pc.hardware seems to have. The questions I answered were hardly difficult ones, and some of them had been sitting for a couple of days, which never would have happened on WWIVnet. And I know WWIVnet wasn’t even the biggest of the BBS networks, it just happened to have a lock on the St. Louis market in the late 1980s and early 1990s. I wonder where all those wizards went?

I ought to install a text-based newsreader on my Linux box to give myself a more authentic atmosphere though. This stuff just doesn’t look right when it’s running in a GUI. Not to me at least–back when I was dialing up BBSs, nobody ever ran Windows. At the very least, it should be running in a terminal window. Hmm. Maybe next time…

Even if the community is smaller, Usenet does have one big advantage over the old-school BBS though: No busy signals.

03/18/2001

About DDR… I should have stated the difference between the two types yesterday. PC1600 DDR runs on a 100 MHz double-pumped bus. PC2100 DDR runs on a 133 MHz double-pumped bus. Obviously PC2100 is much more desirable, providing about 33% as much bandwidth. Crucial is selling PC1600–a fact I didn’t notice–at the price of PC133 SDRAM. That’s less than 50 cents a meg. They aren’t currently selling PC2100 directly, which is what you probably want. PC2100 is currently selling for about a dollar a meg from other sources.

The short term bang-for-the-buck option is to go with a KT133A-based board, a 133 MHz FSB Athlon, and PC133 SDRAM. You’ll get 85-90% of the performance for $100-$150 less. Long-term, however, a DDR solution will make more sense from a performance standpoint and an economy-of-upgrading standpoint. Take a look at what EDO memory costs today and you’ll see what I mean. It’s more expensive than Rambus memory–while Rambus sells for about $2 a meg, antiquated EDO memory sells for about $3 a meg. The price of FPM memory, an even older technology, is over $3 a meg.

So… If you’re swapping out a motherboard and can afford PC2100 DDR, it makes sense to go ahead and get a board that uses it.

What’s this PCxx stuff mean anyway? It’s fairly easy to understand SDRAM monikers–PC100 means the memory bus runs at 100 MHz, PC133 means the memory bus runs at 133 MHz. But manufacturers have gotten ridiculous with the naming schemes of new memory. Along comes Rambus with PC600, PC700, and PC800 memory. But the slowest Rambus memory isn’t 4.5x faster than PC133–far from it. And then comes DDR, not to be outdone, calling itself PC1600 and PC2100.

Here’s what it means. PC600 Rambus is running at a memory bus speed of 300 MHz. PC700 Rambus is using a 356 MHz bus speed. And PC800 Rambus is using a 400 MHz bus speed. CPUs still run at their old bus speeds of 100 or 133 MHz when using Rambus.

Now, PC1600 DDR runs on a 100 MHz bus, while PC2100 DDR runs on a 133 MHz bus. Their names refer to the amount of memory bandwidth available.

So, PCxx isn’t a direct comparison of speed at all. Comparing SDRAM, Rambus, and DDR by their names is like comparing apples, oranges and bananas.

And now for something totally different…

The height of hypocrisy. The RIAA is saying  that paying royalties to songwriters for their work is too difficult–a similar argument to the one Napster used in its defense. The RIAA can’t have it both ways. (Never mind everyone else has to pay to use the songs, and rightfully so.) Hopefully the government will agree. Otherwise the only thing the past year has proven is that the RIAA can bully around anyone who’s smaller than they are.

The story goes like this. Now that the RIAA has turned Napster (who had little ground to stand on) and MP3.com (who had all the ground in the world to stand on) into shells of their former selves, they’re poised to launch their own online service(s). But the RIAA, who represents the record labels, has tried to cut the NMPA, who represents the songwriters, out of the deal.

I’ve heard people advocate pirating music, then tracking down an address for an artist and paying the artist directly. That’s more honorable than paying the RIAA. An honorable and legal approach is to just buy music from artists who also own their record label–when you constantly bend the rules in your favor, it’s hard to keep friends, as the powers that be at the RIAA seem to have not learned on the grade-school playground.

03/17/2001

PC133 prices. I wrote last week that memory prices were about to jump, after reading a piece in The Register. Then I read something in The Register yesterday, after the prices of 128-megabit chips fell, quoting an NEC exec as saying NEC doesn’t expect memory prices to rebound until next year.

So… Nobody knows what memory prices are going to do. It’s truly like buying gasoline right now, isn’t it?

But the point will soon be moot for a lot of people anyway. Tom’s Hardware reviewed three AMD 760-based boards this week . A look at Pricewatch confirms these boards aren’t widely available yet (I found two listings on the Biostar board, two listings on the Gigabyte, none on the Asus, and a listing on an AOpen board), and Pricewatch hasn’t set aside an AMD 760 category yet, but by searching Pricewatch for AMD 760 you can find boards. The Biostar is currently the least expensive by far, but having used Biostar boards on occasion, I definitely prefer Asus, AOpen and Gigabyte.

Prices on an AMD 760-based board range from $129 to $189 before shipping, and these are bottom-feeder vendors so you know they’ll charge you $20 to ship it if they can find any excuse to do so.

If Intel’s your game, it’s easier to find a P3 DDR board based on the VIA Apollo Pro266 chipset. Pricing is very similar to the AMD 760 solutions, and availability is wider. As for performance, the only review I’ve seen of the Gigabyte GA-6RX was disappointing, but seeing as AnandTech doesn’t care about anything but overclocking CPUs and Gigabyte couldn’t care less about overclockers, that’s not too much of a surprise. But common sense must prevail here: If I just spent $450 on new DDR-capable kit, why would I immediately set out to overclock it and potentially burn it up?

Part of the problem might well be the Apollo Pro266 chipset. Tom’s Hardware has said the best-performing DDR chipset is the AMD 760, period. And of course Intel’s not about to give AMD a license to produce P3 chipsets, and AMD wouldn’t produce a P3 chipset even if Intel begged them to do so.

DDR memory. As for DDR memory, Crucial is still selling PC1600 DDR for the same price as CAS2 PC133 SDRAM. That’s considerably higher than you’ll pay for bottom-feeder PC133, but seeing as no one should be buying that stuff anyway, that’s a good price.

The outlook for upgrades. You may easily pay $180 or more for an AMD 760-based board right now. A 1 GHz Athlon with a 266 MHz FSB will run about $220, and 128 MB of PC1600 DDR will run $55. So you can be in a DDR-based system for right around $450 before shipping, which is considerably less than I paid to get into a Pentium-75 with EDO memory back when a Pentium with EDO was the thing to have. There’s no point in doing it if you’ve got a recent system because the performance increase isn’t spectacular, but if you’re upgrading an aging PC or building a new system outright, DDR is definitely worth a look. If you’re already looking to spend a fair bit to replace a motherboard, CPU, video card, and hard drive, the extra $100 you’ll spend to get into DDR looks like it’s worth it.

03/16/2001

Mailbag:

Questions; CS UK; Music

Why didn’t I answer any mail last night? Because I was getting cultured. My friend Jeanne was planning a trip to a natural foods market called Wild Oats and asked if I wanted to come along. Another friend had recommended I go there to get some soy powder when she found out I’d temporarily become a vegetarian. So hey, why not? I’ll try anything once, right? Well, not quite anything, but what harm can it do?

An irony hit me, of course. The natural market called Wild Oats… A juice place in Columbia called The Main Squeeze… Why is it so many health-related places use double-entendre names? I mean, strip clubs aren’t that provocatively named. Oh well.

So I got there and I noticed an awful lot of signs that said you had to pay before you started eating. Isn’t that common courtesy? Sheesh. The first thing I set out to get was an eggplant. I know I can get eggplant at the regular grocery store, but hey, I was there, so why not? Besides, maybe organically grown eggplant is better for you. I just have a suspicion that eggplant would make a killer pizza topping. So I got myself a nice one-and-a-half-pound eggplant while Jeanne talked about this guy who used to wander around town holding an eggplant like a baby. Hey, I might be eccentric, but I’m not that eccentric.

Then I spied alfalfa sprouts, which I suspect would make a great soyburger topping. Probably even better on beef, but hey, I won’t be eating that for a while yet. Unfortunately they only sold those in huge packages that’d probably last me a month, but I doubt they’d keep that long. Then I spied seeds. “Make your own sprouts!” it proclaimed. A 4-oz. package of seeds is supposed to make several pounds of sprouts. Hmm, $2.99 for that, versus $1.99 for a pound of alfalfa I’ll end up throwing out because most of it goes bad, and I can make whatever quantities I want… Easy decision.

We walked down the vitamin/mineral/herbal aisle. I picked up some manganese because it’s hard to find. And I found soy powder in some manly-sized containers. My friend Brenna had said to put a scoop in the blender along with some fruit. Cool. I had my powder, now all I needed was some fruit and a blender… Then I realized a manly man doesn’t need a blender. Why blend with a blender when you can blend with a Dremel?

We walked down the snack aisle, where I spied Soy nuts. Barbecue flavor. “These’ll be good for my image,” I said, grabbing a bag. I’ll keep the empty bag at work when I’m done with it. Cubicle decoration.

We walked up and down the store. In the pet food section I spied something curious: vegetarian dog food. I picked up a can. “Yes, some people force it on their dogs too.”

“Forcing vegetarianism on your dog is just wrong,” I said. “It’s not natural.” I half-regretted it afterward, seeing as there were probably a lot of vegetarians around, but I didn’t get any dirty looks.

I noticed Wild Oats was very heavy on people with dreadlocks and tattoos. I noticed I got a few looks, mostly from girls. I suspect it’s because I was dressed conservatively. Not that there’s anything at all wrong with looks from girls, mind you.

“I bet I was the only Republican in there,” I said as we left the store. Jeanne laughed. “I should have applied for minority status.”

And after we walked out to the car in the rain and drove off, I realized I hadn’t inspected the lot too closely. “Was that an SUV liberal place?” I asked.

“Yes it was,” Jeanne said.

I said there weren’t many things more hypocritical than a big, oversized SUV with environmentalist bumper stickers on it. She agreed.

Mailbag:

Questions; CS UK; Music

03/15/2001

Fun problem today. A system decided it couldn’t find HAL.DLL at boot time. The result: a dead PC. “Replace the file,” it says. Yeah, that’s easy to do when the system won’t boot! Chicken and egg, anyone?

There is a read/write NTFS driver for DOS  floating around out there, but all of the non-Microsoft NTFS drivers that try to write NTFS have risks involved. I’ll use these tools for data recovery, but I’m nervous about trying to use them for disaster recovery. The chances of creating a bigger disaster are just too great–NTFS isn’t a simple filesystem and it’s poorly documented.

So, the safe solution is to grab the appropriate install CD (NT4, Win2000), and boot from it as if you’re going to reinstall. It’ll ask whether you want to install or repair an existing installation. Choose repair. It’ll offer to do a whole bunch of things. De-select everything but checking the system and boot files. Let it do its thing (it’ll take a few minutes), then pull the CD and reboot. You’ll be back in business–almost. Reinstall the current service pack to avoid the mismatched files problem.

This solution works when HAL.DLL, the NT kernel, or any number of other system files decide to take early retirement on you. At least the fix usually only takes a few minutes.

If you’re an aspiring IT professional, or if you’re looking to get a new job, or you’re up for review, remember this. It seems to be a frequent interview question, and for some reason people are really impressed when you know this.

And no, HAL.DLL didn’t pop up and ask, What are you doing, Dave? at any point during the repair.

Fun discussion today. I was talking about Internet dating, for some reason. And a colleague(?) whose opinion I really value said a few things that got me thinking. “You’re a lot braver than I am,” she said. Ahem. I’m not sure that’s the word I’d choose, not in light of The Register‘s story  My Internet Love is a Corpse-Hoarding Granny . Not that this is a level of journalism anyone should aspire to, but it was good for a few laughs in the office.

Hmm. I know my sister spent more time in chatrooms online than I ever have. Hey, Di, I know you met some real creeps online. You ever meet anyone that bad?

Anyway. My coworker talked about the risk of disappointment when you finally see the person–definitely a valid concern–and wondered about the initial chemistry. I think you can get some of that, but the problem is your imagination can tend to take over and it’s easy to make the person into something else. I read an interview with Aimee Mann some time ago. The interviewer asked what a particular song was about, and she said the best part of a relationship for most people is the beginning, because you can make the other person in your own mind into a creature that doesn’t exist. That’s even more true on the ‘Net.

But that imagination can set you up for disappointment. That person could end up being even better than you imagined. Or they could be totally different, your mind can translate “different” as “worse,” and then it’s crash and burn time.

I know it works for a lot of people so I’m not gonna knock it. I thought the potential downside she raised was interesting and something I’d never really thought much about.

And that’s good. I had a brief discussion with Dan  yesterday, and I guess I raise some things a lot of people never really thought much about. I’m glad someone’s keeping me on my toes.

03/14/2001

Just a note about yesterday. The missing backslashes in Tony Brewer’s mail were my fault, not his. Manilla uses the backslash as a control character, so unless I double up on them Manilla munches them and you get run-together strings like c:windowscommandattrib.exe.

And a memory tip. I read in The Register yesterday that at least one industry expert expects memory prices are about to climb. With brand-name PC133 128s going for $40, if you’re in the market, go get it.

My sources have been wrong every time I’ve said memory prices looked like they’d level off, so I almost hesitate to say anything, but I’d hate to see prices quadruple next month without me saying something.

Then again, if brand-name PC133s are going for $20 next month I’ll feel equally foolish, so I guess I can’t win, can I?

Speaking of prices, I don’t have any new sources of $35 motherboards this week, but I can probably find one if someone wants…

Given the title of this site, I wish I had some great tidbit to pass on, but I spent half the day playing with ramdisks and the other half trying to figure out why someone’s laptop couldn’t see the router even though the router was seeing the laptop. Not very inspiring.

So enough about computers. Let’s talk about music, seeing as Napster has some ultimatum by today. I think today’s the day the hammer falls if they aren’t filtering out certain titles. This should be interesting, seeing as Sony didn’t provide them with filenames to filter like the court ordered, and there are at least two efforts under way to encrypt/decrypt filenames real-time. Ironically, record companies’ efforts to defeat that effort are supposedly forbidden by the Digital Millenium Copyright Act.

One of my favorite bands of all time is coming back. I’ve been hearing rumblings off and on about a new album from Depeche Mode for several years, but they actually look to release a new album in a couple of months.

It’s hard to imagine that Mode’s last great album, 1990’s Violator, came out 11 years ago. Songs of Faith and Devotion, their 1993 effort, was overshadowed by the efforts of that year’s up-and-coming alternative rock bands, and the band’s troubles didn’t end there. First keyboardist Alan Wilder left the group, then lead singer Dave Gahan, battling heroin addiction, attempted suicide. After Gahan spent time in rehab, the band released 1997’s Ultra, which was just totally ignored. I’d love to be proven wrong on this, but I suspect this newest effort will be ignored too.

My grandparents’ generation swooned to Frank Sinatra. My parents swooned to Elvis Presley. My generation swooned to The Cure and Depeche Mode. (I’m trying to figure out if this should frighten me.) I guess I should find out what the youth of today swoon to, but I’ve got a feeling after I find out, I’ll understand it about as much as my parents understood The Cure and Mode. And that’s why I don’t think this album will go too far. Mode’s audience doesn’t buy that many records anymore, and to the demographic who does buy records these days, Mode will sound like a relic of a bygone day.

The quality of the album is hard to gauge from the 30-second snippets on their site, but the content isn’t. Mode specializes in two types of songs: spiritual alienation songs and make-out songs. And somehow they usually manage to sound depressed in both types of song. What can I say? They’re talented. People don’t call ’em “Depressed Mode” for nothing.

But I’ve gotten off track. Exciter looks to be a make-out album, with one obligatory song of spiritual alienation (“Breathe,” which is a bit surprising because that sounds like a make-out title if I ever heard one). As for the sound, the synthesizers are much more prominent this time around than they were on the last two albums. They sound like Depeche Mode again, rather than sounding like Depeche Mode following whatever’s trendy that year.

And at the risk of going off track again, do girls take it as an insult when someone dedicates a Depeche Mode song to one of them? They probably should. “Enjoy the Silence” sounds like a love song, and on one level it is, but the lyrics are really just a long-winded, disguised way of saying, “Shut up.”

“Words are very unnecessary, they can only do harm…”

Or maybe I’m the only one who pays that much attention to lyrics. Probably.

And speaking of albums that’ve been long overdue… I checked in on Peter Gabriel’s Up over the weekend. Supposedly that’ll be released this summer. Gabriel announced Up in 1998, days before R.E.M. announced their next record, which was also titled Up. As I recall, R.E.M. actually apologized for that. That turned out to be totally unnecessary, seeing as it’s now two and a half years later, R.E.M.’s Up is mostly forgotten (a shame because it was good), and Gabriel’s album of the same name still hasn’t been released.

Let’s see… After four self-titled albums, Gabriel got caught in a rut of two-letter names for his studio albums: 1986’s So, 1992’s Us, and then whenever’s Up. Who’s to say his follow-up, which at this rate would probably come out in about 2013, will be titled It? Fits the pattern, and it’d be a fitting title for a final effort.

The search for the compressed ramdisk is over!

Things that make you go… D’OH! I spent, as I’ve said a number of times before, the better part of a weekend trying to figure out how to run Windows from a ramdisk. I figured I couldn’t have been the first to do such a thing, but I couldn’t find any reference online to anyone who had. After a weekend of turning some hair gray, I got it working on my own.

Then I set out to compress my ramdisk. Disk compression makes sense when disk space is expensive, and RAM is comparatively expensive, and even if disk compression slows it down by 100%, compressed RAM is still many orders of magnitude faster than a metal disk. I couldn’t get it working. I didn’t say it was impossible, because I’ll never write anything off as impossible, but I said I couldn’t get it working. I figured that’d be the last I’d hear of it.

Then over the weekend, Tony Brewer, a reader of the Optimizing Windows, wrote in, quoted that paragraph verbatim and casually said, “It’s most definitely possible.” I was flabbergasted. Had he done it? I wrote back and asked if he’d done it and if he’d be willing to share the secret.

Indeed he had, and he was kind enough to share the secret. It turns out I was very, very close to getting it working. But close is only good enough in nuclear war, not computers.

Here’s what he had to say:

Dave,

There is an elegant and simple method for running Win9x on a compressed RAM disk. Assuming that Win9x is already installed on C: and using the same drive letters as in Chapter 11 of your book:

Run DriveSpace in Windows to create an empty compressed drive E: of the desired size using free space on C:, re-boot, then install Win9x to E:windows (with the swap file on C:). Edit c:\msdos.sys, c:\config.sys and c:\autoexec.bat as follows:

c:msdos.sys
——————
[Paths]WinDir=e:\windows
WinBootDir=e:\windows
HostWinBootDrv=c

c:\config.sys
—————–
device=c:\windows\himem.sys
device=c:\windows\emm386.exe    ;or use umbpci.sys
dos=high,umb
devicehigh=c:\windows\ifshlp.sys
devicehigh=c:\windows\setver.exe

c:\autoexec.bat
———————

path=e:\windows;e:\windows\command;e:\windows\system
set temp=c:\ temp
set tmp=c:\temp
….

After re-booting, Win9x should run on the compressed drive E:, hosted by physical disk C:. To have a compressed RAM disk, the host must be an uncompressed RAM disk, D: for example. In c:d??space.ini (c:dblspace.ini or c:drvspace.ini, probably the former), change the ActivateDrive setting to read:

ActivateDrive=E,D1

This tells the DriveSpace driver to mount the compressed volume file (CVF) d??space.001 as drive E: with host drive D:. (Mounting is not automatic as it was with host drive C:, because RAM disk D: does not exist when io.sys loads the DriveSpace driver, dblspace.bin or drvspace.bin.)

Edit c:\autoexec.bat so that it contains the following:


path=c:\windows;c:\windows\command;c:\windows\system
REM Create RAM disk
xmsdsk {desired size of RAM disk in kilobytes} d: /t /y
REM Copy CVF to RAM disk
attrib c:\drvspace.001 -s -h -r
copy c:\drvspace.001 d:\
attrib c:\drvspace.001 +s +h +r
attrib d:\drvspace.001 +s +h +r
REM Mount CVF using scandisk /mount
scandisk /mount d:\drvspace.001
REM E: is now compressed RAM disk
path=e:\windows;e:\windows\command;e:\windows\system
set temp=c:\temp
set tmp=c:\temp

After re-booting, Win9x should run on the compressed RAM disk! :o)

(On a networked PC, there is no need for a hard disk as the CVF can be copied from a server. Diskless Win9x using a compressed RAM disk works very well.)

The above method is an adaptation of one by Andre Moreira. http://www.dei.isep.ipp.pt/~andre/extern/nc98.htm

Regards,

Tony Brewer
tonybrewer@bigDELETEfoot.com

With some thought, I may be able to simplify it a little, but not by much. The obvious simplification would be to use the free-for-private-use xxcopy to copy drvspace.001 in a single step, saving all those attrib lines in autoexec.bat.

This shows a lot of promise. Memory’s so cheap right now that it’s feasible to get 384 megs, leave yourself with 64 or even 128 megs of working memory, and still have a decent-sized ramdisk. Windows 95 will install to as little as 17 MB, if you know the secrets. Windows 98 is considerably larger but it’s still possible to stuff Win98 and a couple of apps into a compressed 256 MB disk, and it’s super fast. Even with disk compression, access to a compressed ramdrive is nearly instant. I did get compressed ramdrives working inside Windows (I just couldn’t boot from them) and even on my Pentium-90 a compressed ramdisk was fast. So if you want maximum speed, this is the way. And I’m wondering what this would do for a laptop’s battery life…

I’m really eager to give this a test drive.

Update: The following doesn’t seem to work with the original Windows 95 or Windows 95A. This may explain the difficulty I had initially, because I was using the Aug. 24, 1995 release of Win95 because of its small size (I was using a P90 with 48 MB RAM at the time).

I’m going to try to test it with Win98 this afternoon. I’d rate the chances of it working with Win95B higher than with Win95A but not necessarily as high as with Win98.

Update 2: Indeed, it does work with Win98 (original, I haven’t tested 98SE yet) with the instructions as written. The only caveats: Be sure to double check c:\config.sys, c:\autoexec.bat, and c:\dblspace.ini every step of the way. Windows setup has a tendency to modify their contents without warning, so you can get complaints of missing files when it goes to look for them on a not-yet-existing ramdrive.

Also, Fat32 and DriveSpace are incompatible, so you have to do your initial build on a Fat16 drive.

And for maximum speed, be sure to defrag the compressed volume before booting it into RAM. Sure, ramdisks are invulnerable to the mechanical effects of fragmentation, but the data structures are fragmented too, which slows things down even when no mechanical parts are involved.

How fast is it? I tested it on a Pentium-200 with the Intel VX chipset with 160 MB RAM. I set up a 128-meg ramdisk with a compressed drive using 127 megs total. The system boots in a little over a minute. IE4.0 loads in literally a second. Word 97 loads in two. Not bad for a system that’s suddenly found itself with only 32 MB RAM to work with.

Obsolescence is obsolete.

03/12/2001

Mailbag:

Aimee Mann; Question; Viper770; Cheap PC; Shopper UK article

A better bootdisk. I was talking utilities with Dev Teelucksingh, and he mentioned his Better DOS Bootdisk page, which I’d somehow missed before. Basically he replaces certain MS-provided files with other files that take up less space or provide additional functionality. For example, he replaces the Oak CD-ROM driver MS uses with an Acer driver that only uses 5K of memory. If the Acer driver works with your CD-ROM drive (it works with most ATAPI drives, but not quite all), you’ve got more available memory for TSRs.

Check it out.

Getting mail under control. In my last correspondence with Jeremy Spencer, editor-in-chief at Computer Shopper UK, he referred to his overcrowded inbox, a disease from which I also suffer. But the article I’m working on right now is so much more interesting than writing mail filters, you know? Just like it was yesterday. And last week the Bible study I was working on was more interesting. The week before that, if I was working on an article, it was more interesting. If I wasn’t, then doing laundry and making soup and washing dishes was more interesting, or at least more pressing–it’s hard to get any work done when the dirty dishes become imperialistic and take over not only the dishwasher and the kitchen sink, but also the counter, the table, the living room, and my desk as well. So I try to confine them to the kitchen at least.

But yesterday the guilt became too much, because I knew I had e-mail from readers that I hadn’t responded to yet, some of which had been waiting a really long time. It wasn’t that I was putting it off, in most cases it was literally a matter of me not being able to find them. I had nearly 2,000 messages in my inbox, hundreds of them unread, and most of those unread messages unimportant (spam, business offers, reminders to myself I never deleted, threats–but not too many of those, surprisingly) but I couldn’t wade through them to get to the stuff that needed responses.

So I took some time to create some folders and some rules. Certain people who e-mail me multiple times a day get their own folders. Stuff from companies I do business with enough that their periodic mailings are only slightly annoying (read: they send me coupons that I sometimes use) get a folder, so I can ignore them except when I’m in the market for something–and I get to decide if I’m in the market.

When all was said and done, I’d whittled my inbox down to 983 messages total, and 64 of them unread. A quick scan of those showed they were ancient and not terribly important–recruiters (offering me a job that doesn’t match my qualifications for less than I’m already making isn’t a good way to keep my attention), spam, or stuff that slipped past another filter but the filter wasn’t really worth revising to catch it.

By then, I was starting to feel hungry, so I looked up. Ouch. Six o’clock? I started at 4! So I threw some eggplant cutlets in the oven and got back to it.

And I actually managed to answer all but one of them. Nice feeling.

And I tried an experiment last night. A week or so ago, Steve DeLassus and I were talking about my going vegetarian for Lent, and he mentioned how his wife gave up cola for Lent. Then he started talking about how corrosive cola is. I’d heard some of the things he told me, but not all of them. But come to think of it, people who collect cans always tell you to poke a couple of holes in the bottom of the can and drain the cola out–that way the can still looks unopened, but if you truly leave the can unopened, the cola will eat through it over the course of a couple of years.

He told me cola will dissolve a steak in a matter of days, and a nail in a couple more, and corrosion in a couple less. So as I was looking at a baked-on, caked-on casserole that I normally use to bake fish, I remembered I had a 2-liter of Pepsi sitting in my fridge from the last time I had people over. I very rarely drink cola, so it’s going to go to waste anyway, so why not? I put a large bowl in the middle of the casserole to displace the Pepsi, then I poured about a liter in.

I figure if cola can dissolve a steak, it can probably do something about baked-on grease too, though it might take a little longer. And one of the few things I remember from chemistry class is that acids won’t eat through glass.

If that doesn’t work I’m pretty sure a stronger acid would, but for some reason dumping a bunch of HCl into something, letting it sit, and then turning around and using it for cooking makes me queasy. I know I’ll wash it out, but still…

Mailbag:

Aimee Mann; Question; Viper770; Cheap PC; Shopper UK article