Compare commits
1 Commits
73acfc81b6
...
a20d846f60
Author | SHA1 | Date |
---|---|---|
CrazyEttin | a20d846f60 |
36
src/BOOT.ASM
36
src/BOOT.ASM
|
@ -55,35 +55,6 @@ sti
|
|||
;Store the boot drive number
|
||||
mov [drive], dl
|
||||
|
||||
;;Load the root
|
||||
;;Set the source
|
||||
;mov ah, 0x0
|
||||
;mov al, [fats]
|
||||
;mul word [sectorsperfat]
|
||||
;add ax, [bootsectors]
|
||||
;push ax
|
||||
;call calcsource
|
||||
;;Set the destination
|
||||
;mov si, buffer
|
||||
;mov bx, si
|
||||
;;Set the size
|
||||
;push dx
|
||||
;mov ax, [rootentries]
|
||||
;mov dx, 0x20
|
||||
;mul dx
|
||||
;mov dx, 0x0
|
||||
;div word [sectorsize]
|
||||
;pop dx
|
||||
;push ax
|
||||
;;Load
|
||||
;mov ah, 0x2
|
||||
;int 0x13
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;Load the root
|
||||
;Set the source
|
||||
mov ah, 0x0
|
||||
|
@ -120,13 +91,6 @@ add bx, word [sectorsize]
|
|||
pop cx
|
||||
loop loadroot
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;Search the root for the system entry
|
||||
;Set DI to the root
|
||||
mov di, buffer
|
||||
|
|
Loading…
Reference in New Issue