mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-25 14:54:28 +02:00
boot: rename FATBUF to CLUSTLIST to better reflect use (oemboot pick)
This commit is contained in:
parent
9ac407ae63
commit
4682e23b57
@ -99,8 +99,8 @@ Entry: jmp short real_start
|
|||||||
|
|
||||||
%define LOADSEG 0x0060
|
%define LOADSEG 0x0060
|
||||||
|
|
||||||
%define FATBUF 0x2000 ; offset of temporary buffer for FAT
|
%define CLUSTLIST 0x2000 ; offset of temporary buffer for FAT
|
||||||
; chain
|
; chain cluster list
|
||||||
|
|
||||||
; Some extra variables
|
; Some extra variables
|
||||||
|
|
||||||
@ -294,7 +294,7 @@ ffDone:
|
|||||||
push ds
|
push ds
|
||||||
pop es
|
pop es
|
||||||
mov ds, [loadseg_60]
|
mov ds, [loadseg_60]
|
||||||
mov di, FATBUF
|
mov di, CLUSTLIST
|
||||||
|
|
||||||
next_clust: stosw ; store cluster number
|
next_clust: stosw ; store cluster number
|
||||||
mov si, ax ; SI = cluster number
|
mov si, ax ; SI = cluster number
|
||||||
@ -351,7 +351,7 @@ finished: ; Mark end of FAT chain with 0, so we have a single
|
|||||||
|
|
||||||
les bx, [loadsegoff_60] ; set ES:BX to load address 60:0
|
les bx, [loadsegoff_60] ; set ES:BX to load address 60:0
|
||||||
|
|
||||||
mov si, FATBUF ; set DS:SI to the FAT chain
|
mov si, CLUSTLIST ; set DS:SI to the FAT chain
|
||||||
|
|
||||||
cluster_next: lodsw ; AX = next cluster to read
|
cluster_next: lodsw ; AX = next cluster to read
|
||||||
or ax, ax ; EOF?
|
or ax, ax ; EOF?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user