
Ive been working thru the os dev tutorial but i seem to be kind of stuck. Im not very good at assembly but the real problem is i dont know much about the hardware side of computers. Ive been doing ok up until the protected mode tutorial. Heres a few things i dont really understand...
If i want to make a data descriptor that allows me to access any memory location I make the segment limit as high as i can (65535)(aka 0xFFFF) and make the base adress 0? I understand the base being 0 but what does segment limit mean?
Also, i was looking at this table from tutorial 7..
If im right this corresponds to RAM locations. however if i am able to do math then this table only goes up to 1 Mb. Thats not very much so im not sure whats going on lol? is the rest empty or is it not RAM?0x00000000 - 0x000003FF - Real Mode Interrupt Vector
0x00000400 - 0x000004FF - BIOS Data Area
0x00000500 - 0x00007BFF - Unused
0x00007C00 - 0x00007DFF - Our Bootloader
0x00007E00 - 0x0009FFFF - Unused
0x000A0000 - 0x000BFFFF - Video RAM (VRAM) Memory
0x000B0000 - 0x000B7777 - Monochrome Video Memory
0x000B8000 - 0x000BFFFF - Color Video Memory
0x000C0000 - 0x000C7FFF - Video ROM BIOS
0x000C8000 - 0x000EFFFF - BIOS Shadow Area
0x000F0000 - 0x000FFFFF - System BIOS
If anyone can answer either of these then thank you
