|
|
@ -12,7 +12,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
; Read second sector (outside bootsector) |
|
|
|
; Read second sector (outside bootsector) |
|
|
|
mov bx, 0x9000 ; LOAD LOCATION |
|
|
|
mov bx, 0x9000 ; LOAD LOCATION |
|
|
|
mov dh, 3 ; SECTOR-COUNT |
|
|
|
mov dh, 2 ; SECTOR-COUNT |
|
|
|
mov dl, [BOOT_DRIVE] ; DISK-INDEX |
|
|
|
mov dl, [BOOT_DRIVE] ; DISK-INDEX |
|
|
|
call disk_read |
|
|
|
call disk_read |
|
|
|
|
|
|
|
|
|
|
@ -21,6 +21,12 @@ |
|
|
|
mov dx, [0x9000] |
|
|
|
mov dx, [0x9000] |
|
|
|
call print_hex |
|
|
|
call print_hex |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mov bx, [ASCII_END] |
|
|
|
|
|
|
|
call println |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mov dx, [0x9000 + 512] ; read from second sector too |
|
|
|
|
|
|
|
call print_hex |
|
|
|
|
|
|
|
|
|
|
|
jmp $ ; inf loop |
|
|
|
jmp $ ; inf loop |
|
|
|
|
|
|
|
|
|
|
|
%include "equ/ASCII.asm" |
|
|
|
%include "equ/ASCII.asm" |
|
|
|