diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2017-12-01 21:43:50 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2017-12-01 21:43:50 -0500 |
commit | 6ef6baa7511c9c7e19135e2a11888680f2b8fbfb (patch) | |
tree | e4bd496fdc14edcf0bcb1f32b327c0870b883033 /kernel.asm | |
parent | 02580d2c8348141a2aad0e34106c53de055462ab (diff) | |
download | minos-6ef6baa7511c9c7e19135e2a11888680f2b8fbfb.tar.gz |
Kernel clears screen and sets cursor position; Expand to 16K
Diffstat (limited to 'kernel.asm')
-rw-r--r-- | kernel.asm | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -30,6 +30,10 @@ kmain: xor si, si xor bp, bp + call cls ; clear console + push 0 ; home the cursor + call setcursor + push msg_entry_point call puts add sp, 2 @@ -66,11 +70,14 @@ kmain: mov al, CR call putc + push banner call puts add sp, 2 - + ; - hex test + push ds + call printh .mainloop: call kbd_read @@ -111,5 +118,5 @@ banner: db "+========================+", CR ; Error messages error_msg_panic: db "PANIC: ", 0 -times 512 * 16 db 0 +times 512 * 20h db 0 dw 0xefbe |