hello
Sorry for the ignorance, but I couldn't find the answer anywhere else.
How can I know the location of the BIOS interrupts in memory? I mean, for me not to load my kernel on it by mistake
(I can know where each interrupt starts from the vektor table, but I don't know where it ends)
BIOS interrupts location in memory
Re: BIOS interrupts location in memory
That's a very reasonable question. The entire functional part of the BIOS is stored in unmodifiable RAM, between 0xf0000 (maybe 0xe0000) and 0xfffff. This includes all the BIOS interrupt code. It is guaranteed not to be in any memory that you can access -- since you are limited to memory up to 0x9ffff (ignoring the IVT, BDA, and EBDA for the moment) and memory above 0x100000.
You may want to read this wiki article:
http://wiki.osdev.org/Memory_Map_%28x86%29
You may want to read this wiki article:
http://wiki.osdev.org/Memory_Map_%28x86%29
Re: BIOS interrupts location in memory
great, thanks!