3 ms·
int 21h uses ... A BIOS CALL. :) Still not bare metal. :) (I'm totally gatekeeping for laughs: write your own BIOS you noob!)
by 0xff00ffee 7y ago
int 21h uses ...
A BIOS CALL. :)
Still not bare metal.
:)
(I'm totally gatekeeping for laughs: write your own BIOS you noob!)
- non-entity 7y agoOn a random, but interesting note though, manuals from some of the early IBM PC's have the BIOs source listing in them
- homarp 7y agoe.g. https://archive.org/details/bitsavers_ibmpcpc602renceAug81_17295874/page/n189/mode/2up https://archive.org/details/bitsavers_ibmpcpc602renceAug81_1... https://sites.google.com/site/pcdosretro/ibmpcbios https://sites.google.com/site/pcdosretro/ibmpcbios has the source code for various models typed.
- 0xff00ffee 7y agoI had a giant pink book of PC BIOS that was my bible from 1988 to 1994 before the internet took off. I can't for the life of me remember who published it, but it had everything you needed to know about PC BIOS and an old IBM bios source listing. It was over 600 pages. It look liked this 1200 page book, but this isn't it (also a book I used): https://www.amazon.com/PC-Interrupts-Programmers-Reference-Third-Party/dp/0201624850 https://www.amazon.com/PC-Interrupts-Programmers-Reference-T... I also had the Apple ][+ ROM listing in one of those spiral-bound books from apple circa 1980 but that too has been lost, sadly.
- spc476 7y agoSounds like the The Programmer's PC Sourcebook (which is on my shelf, and yes, one could say it has a pink cover).
- 0xff00ffee 7y agoYES! That is exactly it. I wish I saved mine for nostalgia.
- therealcamino 7y agoWe had something like this but it was a four-inch thick printout on green-bar paper and nobody knew where it came from.
- userbinator 7y agoINT 21 is DOS, not BIOS. You can still use INT 10 for BIOS video services. Or just write into the text framebuffer directly; it's at B800:0000 in colour modes and B000:0000 in monochrome modes (it's surprising how much I still remember from when I exclusively did x86 PC Asm, ~3 decades ago.)
- fmakunbound 7y agoErr I don't know... Didn't the bios set the video controller up for you? Not bare metal enough, I'm afraid. /s