mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Merge 064cc21e55
into ce8e050d24
This commit is contained in:
commit
30780e5ccb
@ -1,5 +1,6 @@
|
||||
print:
|
||||
pusha
|
||||
mov ah, 0x0e
|
||||
|
||||
; keep this in mind:
|
||||
; while (string[i] != 0) { print string[i]; i++ }
|
||||
@ -11,7 +12,7 @@ start:
|
||||
je done
|
||||
|
||||
; the part where we print with the BIOS help
|
||||
mov ah, 0x0e
|
||||
|
||||
int 0x10 ; 'al' already contains the char
|
||||
|
||||
; increment pointer and do next loop
|
||||
|
Loading…
Reference in New Issue
Block a user