Removed commented code

pull/13/head
E. Almqvist 3 years ago
parent 219164c7bb
commit 7fd4fcd330
  1. 19
      src/bios/disk.asm

@ -1,22 +1,3 @@
;disk_read:
; push dx
; mov ah, BIOS_DISK_READ
; mov al, dh ; sector count
; mov cl, 0x02 ; second sector (after bootsection)
;
; mov ch, 0x00 ; read from first cylinder
; mov dh, 0x00 ; head
;
; ; data pointer: es:bx (standard)
; int BIOS_DISK_INT ; do the interrupt
; jc read_error ; if flag is set then jump to error
;
; pop dx
; cmp al, dh
; jne sector_error
;
; ret
disk_read:
push dx ; store dx on stack so that we can compare later

Loading…
Cancel
Save