Merge pull request #9 from E-Almqvist/dev

Update
pull/13/head
E. Almqvist 4 years ago committed by GitHub
commit bd03db2c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/bootloader.asm
  2. 5
      src/bootloader_bios_disk.asm
  3. 5
      src/equ/BIOS.asm

@ -8,9 +8,12 @@
mov bx, hexTestPrefixString ; Hex print test (not needed but fun)
call print
pusha
mov dx, 0x002e ; test the conversion
call hexToASCII
call println
popa
jmp $ ; inf loop

@ -0,0 +1,5 @@
disk_read:
pusha
mov ah, BIOS_DISK_READ
mov al, dh ; number of sectors to read

@ -2,5 +2,6 @@
BIOS_TTY_INT equ 0x10
BIOS_TTY_MODE equ 0x0e
BIOS_READ_INT equ 0x13
BIOS_READ_MODE equ 0x02
BIOS_DISK_INT equ 0x13
BIOS_DISK_READ equ 0x02

Loading…
Cancel
Save