Disk reading partly done

This commit is contained in:
2025-11-17 20:46:21 +00:00
parent 7906c48a2e
commit 0222a7adb9
10 changed files with 261 additions and 21 deletions

View File

@@ -5,6 +5,7 @@
; H = T % heads
; C = T / headers
; input, LBA index: ax
; ouput:
; sector number: cl
; cylinder: ch
; head: dh
@@ -29,7 +30,7 @@
; cylinder (ch) = 02h
; head (cl) = 00h
; sector (dh) = 09h
os_lba_to_chs:
math_lba_to_chs:
push ax
push dx