Jump to content

CamTron

Member
  • Posts

    281
  • Joined

  • Donations

    0.00 USD 
  • Country

    United States

About CamTron

Profile Information

  • OS
    none specified

Recent Profile Visitors

3,371 profile views

CamTron's Achievements

40

Reputation

  1. For wiping free space, there's the classic trick of creating a large junk file, copying it over and over until your entire hard disk is filled up, then deleting all of those copies. This effectively overwrites any leftover data in free space with junk.
  2. Is the source code for these KernelEx updates available? It would be nice to be able to continue adding functions even if this project goes dead.
  3. Is there a way to install a driver from a batch file in Windows 9x without going through Device Manager?
  4. What Windows version is that on? Is it reproducible (happens even after a restart)?
  5. I'm pleased to announce that this driver is approaching a usable state. Here is my new version with many of the aforementioned problems now fixed. Please keep in mind that this is still pre-release alpha software, and is rife with bugs. For testing purposes only. vboxdisp.7z Known bugs in this release: 16-color mode is broken and will result in an unreadable display. Only use this driver with 256 or more colors. Though in reality, you probably want more than 16 colors anyway. Resolutions above 1152x882 may cause the system to crash. Changing color depth in the Display Properties does not take effect unless the machine is restarted. You may occasionally get a message saying "Invalid VxD dynamic link call to device number 3, service B." when rebooting the machine. Switching in and out of full-screen DOS prompts too quickly may visually corrupt some characters. Going into a full-screen DOS prompt while other DOS prompts are on the screen may result in graphical glitches in the full-screen DOS prompt.
  6. I managed to solve a few more issues! As of my latest code changes, DOS prompts now switch in and out of fullscreen mode correctly (which is something that even VBEMP has trouble doing), the graphical glitches are gone (caused by stack corruption in one of my functions), and the stability has improved dramatically. I've run into one case where the DDK documentation is WRONG! According to the 95 DDK (and the 98 DDK), the signature for the ValidateMode is: UINT WINAPI ValidateMode(DISPLAYINFO FAR *lpValMode); but in reality, it should be UINT WINAPI ValidateMode(DISPVALMODE FAR *lpValMode); It has this incorrect information in multiple places. While similar in name, the DISPLAYINFO and DISPVALMODE structures have very different layouts, and mixing them up will cause your code not to work as intended. Only by examining the sample code did I figure out that the struct pointer passed in should be DISPVALMODE.
  7. Individual Windows XP updates can still be downloaded from the Microsoft Update Catalog. I suggest that we archive them and also generate a list of SHA-2 hashes so we can keep the update files and verify that they haven't been tampered with.
  8. I was able to attach a file yesterday, so maybe this is fixed now?
  9. Good news is I finally solved the freezing issue by adding BANKEDSCAN to the deFlags member of PDEVICE. I'm not entirely sure what caused it, but I suspect it has to do with a string instruction in DIB_BitBlt triggering an endless loop of page faults when trying to copy between video memory banks, since both the source and destination addresses of a string instruction must be mapped at the same time. Anyway, adding a few flags causes the DIB engine to work around the issue. I might switch to using the graphics adapter's linear framebuffer mode in the future.
  10. I now have a partially functional graphics driver! Source code is included along with a floppy image (install.img) that can be installed in a VM. Please note that this is only compatible with VirtualBox and will not install on any other virtual machine software. Issues: Attempting to open a DOS prompt on Windows 95 will cause a BSOD. It seems to work okay in 98, except for full screen mode not being implemented yet. Hovering over menu items in Windows 95 is glitchy. Attempting to drag a window left or up, or attempting to scroll anything will completely lock up the system. No 2D acceleration yet, so everything is slow. This driver is highly unstable. Expect many random freezes, crashes, and BSODs. The Display properties dialog passes in garbage to my ValidateMode function when trying to determine valid resolutions and bit depths. I've hardcoded 640x480 32-bit color for now. The third bullet point is the most annoying one, and I'm at a roadblock as to figuring out what's causing it. Dragging a window to the left or up immediately hangs the machine. The mouse cursor can move, but nothing can be clicked on or interacted with. SoftICE isn't helping, either. It can detect faults and crashes, but has no way of isolating a freeze. vboxdisp.7z
  11. Is there a way to automatically install a driver (such as through a batch file)? I'd like to automate the process instead of having to go through Device Manager every time I make a change to my code.
  12. Oddly enough, I never seem to get that crash in Windows 95. It only happens in 98. My driver is based on the Windows 95 DDK framebuf sample, so maybe something was changed in Windows 98. I'm currently rewriting it to make the code easier to follow and removing the unused code for old graphics cards like Video7 and ATI Wonder.
  13. If you're looking for a fully integrated OS like Windows, I think you'll be disappointed in most Linux distros. The big distros like Ubuntu, Mint, and Fedora come close, but I still have to do more troubleshooting (sound and wireless networking is a hot mess on Linux) than on Windows 10. However, it may be a solution to some of these people complaining about the telemetry, lack of customization, high system requirements, and UI changes in Windows 10, as long as you're willing to deal with a steep learning curve.
  14. I set up a 98FE virtual machine, converted dibeng.sym to dibeng.nms, and loaded those symbols into SoftICE. However, the stack trace (STACK command) is still just giving me a generic "=> DIBENG(03) at 0367:0FC4 [?]" instead of telling me the actual function name. I'm also unsure of how Windows determines which segment (or selector) a DLL gets mapped to. The crash is happening in segment 0367, but the MOD command shows dibeng.dll loaded at segment 0337. A DLL normally has multiple segments for code and data, as well.
  15. What is the difference between the debug and release versions of Windows? I played around with a debug build of Windows 95 once and aside from the build number being displayed on the desktop, I didn't notice any difference.
×
×
  • Create New...