Re:boot0 step-by-step tutorial: Need comments
Posted: Mon Sep 23, 2002 9:08 pm
search for keyboard in that last link
The Place to Start for Operating System Developers
http://f.osdev.org/
in fact, it's not in the keyboard: it's in a microcontroller that lies on the motherboard and that can be used to enable/disable some configuration lines (such as #reset, #A20 ...) on the processor, but which is also used to communicate using some serial protocol with your PS/2 keyboard/mouse etc.gtsphere wrote: maybe its me, or maybe its because i'm tired, but why would they have the ability to enable an amount of RAM in the keyboard? heh
Code: Select all
jmp (short) start ;; will be assembled as an offset -> org-independent
nop
oem_vendor: must be at 03, not at 05!
...
fileSysType : FAT-----
start: jmp far 0x7c0:ready
ready: ;; let's get cracking
dronkit wrote:
2) i setup the stack like that because i want to Besides, i saved one byte anyway, if cs=07c0 ip=0 and ss=07bf and sp=ffff that sholud give my stack 64k free of use, right?
take care
Code: Select all
._7c0:ffff___ linear: 17bff
|_7bf:ffff___| linear: 17bef (top of stack)
| | |
= v =
|_7c0:200__| 7e00
| <code> |
|_7c0:0____| 7c00