Is it possible to find a shortlist of Bios registers and methods to use them? C/ASM programming
-
I have been searching for hours and i am having a really hard time finding any reference lists of theese legacy methods. Basically what i am looking for is initializing graphics in DOS aka Dosbox or DOS boot disk for bootup. I am looking for: * BIOS registers for graphics modes and other useful things * Methods to incorporate these registers in C with methods aka inline assembler Please GOD make information about programming short and on point! Amen!
-
I have been searching for hours and i am having a really hard time finding any reference lists of theese legacy methods. Basically what i am looking for is initializing graphics in DOS aka Dosbox or DOS boot disk for bootup. I am looking for: * BIOS registers for graphics modes and other useful things * Methods to incorporate these registers in C with methods aka inline assembler Please GOD make information about programming short and on point! Amen!
Alex D Aug2024 wrote:
* BIOS registers for graphics modes and other useful things
Googling with the following seemed to return useful information
"BIOS" "graphics modes" PC-dos
Alex D Aug2024 wrote:
Methods to incorporate these registers in C with methods aka inline assembler
Been a while but rather certain there was no remapping in the address space in 16 bit dos. Don't even think it was possible. Although perhaps 286/386 allowed that. If it wasn't then you certainly did not need inline assembly. Because an address with, for example 0x10 was just a matter of initializing a pointer with exactly that address. Make sure it is a byte pointer.
-
I have been searching for hours and i am having a really hard time finding any reference lists of theese legacy methods. Basically what i am looking for is initializing graphics in DOS aka Dosbox or DOS boot disk for bootup. I am looking for: * BIOS registers for graphics modes and other useful things * Methods to incorporate these registers in C with methods aka inline assembler Please GOD make information about programming short and on point! Amen!
Don't use the word "register". It doesn't apply in this case. Search for "BIOS and DOS interrupts" and you'll find what you're looking for.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak