mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-12-10 16:42:10 +00:00
Merge a735402268 into ce8e050d24
This commit is contained in:
commit
4d77d58adb
@ -123,7 +123,7 @@ Code!
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
Let's jump to the code. File `boot_sect_print.asm` is the subroutine which will
|
Let's jump to the code. File `boot_sect_print.asm` is the subroutine which will
|
||||||
get `%include`d in the main file. It uses a loop to print bytes on screen.
|
get `%include` in the main file. It uses a loop to print bytes on screen.
|
||||||
It also includes a function to print a newline. The familiar `'\n'` is
|
It also includes a function to print a newline. The familiar `'\n'` is
|
||||||
actually two bytes, the newline char `0x0A` and a carriage return `0x0D`. Please
|
actually two bytes, the newline char `0x0A` and a carriage return `0x0D`. Please
|
||||||
experiment by removing the carriage return char and see its effect.
|
experiment by removing the carriage return char and see its effect.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user