Show HN: Custom X64-86 Operating System Written from Scratch (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Replies (3)
Replies (1)
Of course we have plenty of examples and documentation.
Well for one, there are zero references as to where they got this magic driver code from. For example the sdcard [0], bluetooth [1] and usb [2] drivers have magically been "written" close to perfect C.
Several questions about this:
1) How did they eliminate the memory corruption bugs in this OS?
2) What did they test for in the OS to achieve the former to determine a stable build for a release?
3) What exact tools did they use to check for those memory corruption bugs?
4) Finally, which existing datasheets did they read from to get those constants in those drivers?
Very curious to know for a from scratch OS...
[0] https://github.com/adriantips/boltossource/blob/156a83dc3c6b...
[1] https://github.com/adriantips/boltossource/blob/156a83dc3c6b...
[2] https://github.com/adriantips/boltossource/blob/156a83dc3c6b...
Replies (2)
The UEFI loader comes (at least partially) from my other project: https://gitlab.com/bztsrc/posix-uefi whereas memory management and page table generation (at least partially) from https://gitlab.com/bztsrc/easyboot
I'm sure because I can see some unusual variable naming that originates from my code. I guess Codex was trained on my Free and Open Source stuff too...