Restructure kernel to use 1-segment COM convention

This commit is contained in:
Nero 2021-02-07 16:17:31 +00:00
parent 71c89387fc
commit 84b754551c
7 changed files with 369 additions and 448 deletions

View file

@ -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);