Restructure kernel to use 1-segment COM convention
This commit is contained in:
parent
71c89387fc
commit
84b754551c
7 changed files with 369 additions and 448 deletions
16
host/sys.c
16
host/sys.c
|
@ -117,14 +117,14 @@ int main(int argc, char** argv) {
|
|||
char* putsfunc = ptr;
|
||||
|
||||
// assemble puts function
|
||||
ptr = push_imm16(ptr, 0xAC5E);
|
||||
ptr = push_imm16(ptr, 0xC084);
|
||||
ptr = push_imm16(ptr, 0x0874);
|
||||
ptr = push_imm16(ptr, 0x0EB4);
|
||||
ptr = push_imm16(ptr, 0xDB31);
|
||||
ptr = push_imm16(ptr, 0x10CD);
|
||||
ptr = push_imm16(ptr, 0xF3EB);
|
||||
ptr = push_imm16(ptr, 0xE6FF);
|
||||
//ptr = push_imm16(ptr, 0xAC5E);
|
||||
//ptr = push_imm16(ptr, 0xC084);
|
||||
//ptr = push_imm16(ptr, 0x0874);
|
||||
//ptr = push_imm16(ptr, 0x0EB4);
|
||||
//ptr = push_imm16(ptr, 0xDB31);
|
||||
//ptr = push_imm16(ptr, 0x10CD);
|
||||
//ptr = push_imm16(ptr, 0xF3EB);
|
||||
//ptr = push_imm16(ptr, 0xE6FF);
|
||||
|
||||
// assemble entry point to our main code
|
||||
push_jmp(bs, ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue