diff options
Diffstat (limited to 'src/stage1_functions.asm')
-rw-r--r-- | src/stage1_functions.asm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stage1_functions.asm b/src/stage1_functions.asm index b32d23d..c43da4d 100644 --- a/src/stage1_functions.asm +++ b/src/stage1_functions.asm @@ -1,9 +1,8 @@ ; number of sectors to be read -; this is 512 (the bootloader stage1) + ; 3 * 512 for bootloader stage2 and the kernel code ; (note: the first sector gets loaded by the BIOS, so ; subtract 1 here!) -NOF_LOAD_SECTORS equ 7 +NOF_LOAD_SECTORS equ 11 ; IN bx: begin of memory area to dump ; IN ax: number of words to dump @@ -19,7 +18,7 @@ dump_range: jnz dump_range ret -; IN bx: hex value to print +; IN dx: hex value to print print_hex: push bx push si |