From 7fd4fcd3308a2d396c8db928174fb632cf4f84fd Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 31 Jul 2021 22:49:50 +0200 Subject: [PATCH] Removed commented code --- src/bios/disk.asm | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/bios/disk.asm b/src/bios/disk.asm index 6a3acbe..b985ffd 100644 --- a/src/bios/disk.asm +++ b/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