Wiki Documentation Issues & Fixes
Posted: Sun Nov 15, 2026 7:10 pm
Hi all,
I've been working on my own OS project and reading through the wiki extensively. I've found several issues in the documentation — incorrect code examples, missing hardware detection steps, and contradictions between code and warnings in the same page.
I'd like to start fixing these, beginning with the NMI page. The current code examples use read-modify-write on port 0x70, but the page itself states that port 0x70 may be write-only on some chipsets (returning 0xFF on read). This makes the NMI_enable() / NMI_disable() functions potentially broken on real hardware. The correct approach is to directly write 0x80 / 0x00 rather than reading back and modifying.
I also noticed the page mentions watchdog timers typically use NMIs and that port 0x70/0x71 access requires an I/O delay and a dummy read/write to port 0x71 — but the code doesn't reflect this properly.
I'd like to fix this and other issues I find along the way. Could an admin grant me wiki editing permissions? My forum username is SeaMc.
I'll use this thread to track documentation issues I come across. If anyone else has found errors in the wiki, feel free to post them here too.
Thanks!
I've been working on my own OS project and reading through the wiki extensively. I've found several issues in the documentation — incorrect code examples, missing hardware detection steps, and contradictions between code and warnings in the same page.
I'd like to start fixing these, beginning with the NMI page. The current code examples use read-modify-write on port 0x70, but the page itself states that port 0x70 may be write-only on some chipsets (returning 0xFF on read). This makes the NMI_enable() / NMI_disable() functions potentially broken on real hardware. The correct approach is to directly write 0x80 / 0x00 rather than reading back and modifying.
I also noticed the page mentions watchdog timers typically use NMIs and that port 0x70/0x71 access requires an I/O delay and a dummy read/write to port 0x71 — but the code doesn't reflect this properly.
I'd like to fix this and other issues I find along the way. Could an admin grant me wiki editing permissions? My forum username is SeaMc.
I'll use this thread to track documentation issues I come across. If anyone else has found errors in the wiki, feel free to post them here too.
Thanks!