diff options
author | Clemens Fries <git-generic@xenoworld.de> | 2018-12-05 18:19:16 +0100 |
---|---|---|
committer | Clemens Fries <git-generic@xenoworld.de> | 2018-12-05 18:26:39 +0100 |
commit | bed5515c8dee2a19c1ba9dbc005e078c613e3cf3 (patch) | |
tree | 3d8ccff3af83a326ce2615bc19ddf627c25f53fb /printb.asm | |
parent | ce7317daf7c9740bc8595f14f7248fa1b050afcf (diff) |
Move 'boot' stuff to boot/
Diffstat (limited to 'printb.asm')
-rw-r--r-- | printb.asm | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/printb.asm b/printb.asm deleted file mode 100644 index a8fa788..0000000 --- a/printb.asm +++ /dev/null @@ -1,36 +0,0 @@ -org 0x0500 - - -SECTION .data -boot: db 'Welcome to the second stage!', 0x0A, 0x0D, 0x00 -foo: db 'What a nice message this is!', 0x0A, 0x0D, 0x00 - -SECTION .text - - -jmp start - -print: - push ax - cld - mov ah, 0x0E - - .loop: - lodsb - cmp al, 0x00 - je .out - int 0x10 - jmp .loop - .out: - pop ax - ret - -start: - mov si, boot - call print - - mov si, foo - call print - -; maybe to something here... -; e.g.: how to keep CPU from spinning at 100% |