trying to [write / sorta-reverse-engineer / understand] windows 95 drivers in 2023 is actually really difficult because there is almost no information remaining on the internet
on any given topic i can only find just enough information from old forum posts or mailing lists to assure me that, once, long ago, there were answers, and tools, and ways to learn.
now, the trick is, i'm not actually rewriting the windows 95 driver at the moment. i was thinking about doing that, but even with the stuff being released under MIT license, i decided if i'm going to be writing a kernel driver based on something partly reverse-engineered from a binary, i'm gonna have a different target for the driver to quash potential accusations of impropriety.
so i'm targeting NT4 instead, since it still uses tools from the same era, will run the exact same unmodified .dlls and binaries, but has a dramatically different driver model
... i was also getting fed up with win9x crashing on me constantly, and NT4 is proving very stable after updates, with only one BSOD that was due to the hard drive dying underneath it
my saving grace is that i have managed to get a pdf copy of what i believe is the exact "how to write a driver" book that the authors of the driver i am trying to re-write used
and i believe their driver began as a carbon copy of all of the example code from that book, shoved together into a single project
most of the rest of the functionality looks like stuff that started out in the userland side of the stack (which i have source for), and was eventually #ifdef'd out and moved into the kernel driver (conveniently with a comment to that effect in some instances)
@lanodan@queer.hacktivis.me kagi is usually pretty good about finding things in archive.org if that's the best place to look for them, especially if i've set it to look for pdfs (and because i've raised its priority, which is a thing kagi lets you do)
but it still misses out a lot
and there's stuff archive.org doesn't have (or doesn't have indexed) which google finds in google books / scholar, and kagi does not
@lanodan@queer.hacktivis.me e.g. the verbatim search "OnPnpNewDevnode" gives me almost nothing to go on in kagi, but gives me juuuust slightly more in google, and that tiny bit matters