First post, by TimmermanV
I just finished and released TweakPCI, which is a utility to view and optionally modify PCI configuration registers. It can be used to tweak settings that are not accessible otherwise. (Of course, you'll need a technical reference of your device to know what you're doing) I thought it might be of interest to someone on this forum.
Code and executable release are here: https://github.com/TimmermanV/TweakPCI
Some time ago I wrote something similar in assembler to be able to configure the chipset on my 486. The BIOS didn't recognise the CPU in put in and used default safe/slow settings for the RAM etc. (See topic Hp Vectra VE 4/100 to 5x86 133mhz but slow mem performance) While my previous utility was usabale only to configure the SIS 496/497 chipset, TweakPCI can be used for any PCI device, as long as you know the device and vendor identifiers.
I used Open Watcom 1.9 and I wrote it in C. While working on it I wanted the application to be a real-mode program. (Adding DOS4/GW or some other extender would make the executable needlessly larger and slower to start) However, I didn't find any way to use int386 in a real-mode program. I ended up writing my own alternative to this function in assembler. (using Watcom's pragma aux) If anyone knows of a way to use Watcom's int386 in a real-mode program, I'd love to hear it. 😀
While working on TweakPCI, I found a similar program by Uwe Sieber: PCISET.