minor cleanup and add dev enviroment files to gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@ bx_enh_dbg.ini
|
|||||||
stevia-log
|
stevia-log
|
||||||
.vscode/
|
.vscode/
|
||||||
*.map
|
*.map
|
||||||
|
compose-dev.yaml
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ InitFATDriver:
|
|||||||
mov bx, dx ; set bx, should point at our partition
|
mov bx, dx ; set bx, should point at our partition
|
||||||
|
|
||||||
mov eax, dword [bx + PartEntry_t.lba_start]
|
mov eax, dword [bx + PartEntry_t.lba_start]
|
||||||
mov dword [fat32_state + FAT32_State_t.active_drive_lba_32], eax
|
mov dword [fat32_state + FAT32_State_t.curr_drive_lba_32], eax
|
||||||
|
|
||||||
mov ax, fat32_bpb
|
mov ax, fat32_bpb
|
||||||
mov si, ax
|
mov si, ax
|
||||||
@@ -193,7 +193,7 @@ SearchFATDIR:
|
|||||||
|
|
||||||
mov cx, 0xA ; max of 11 filename length of 11 characters
|
mov cx, 0xA ; max of 11 filename length of 11 characters
|
||||||
; si points to the start of the current directory entry
|
; si points to the start of the current directory entry
|
||||||
mov di, BootTarget_str ; current memory location (8.3 name is at offset 0)
|
mov di, BootTarget ; current memory location (8.3 name is at offset 0)
|
||||||
repe cmpsb ; compare the strings
|
repe cmpsb ; compare the strings
|
||||||
|
|
||||||
pop di
|
pop di
|
||||||
|
|||||||
@@ -169,8 +169,6 @@ main:
|
|||||||
call EnterUnrealMode
|
call EnterUnrealMode
|
||||||
print_string UnrealMode_OK_info
|
print_string UnrealMode_OK_info
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; FAT Driver setup
|
; FAT Driver setup
|
||||||
call InitFATDriver
|
call InitFATDriver
|
||||||
print_string InitFATSYS_OK_info
|
print_string InitFATSYS_OK_info
|
||||||
@@ -401,26 +399,6 @@ BootTarget:
|
|||||||
; pre-bss init globals (generally const...but there are exceptions)
|
; pre-bss init globals (generally const...but there are exceptions)
|
||||||
;
|
;
|
||||||
|
|
||||||
align 8, db 0x00
|
|
||||||
boot_drive:
|
|
||||||
db 0x00
|
|
||||||
|
|
||||||
align 8, db 0x00
|
|
||||||
partition_offset:
|
|
||||||
dw 0x0000
|
|
||||||
|
|
||||||
align 8, db 0x00
|
|
||||||
vbr_fat32_bpb_ptr:
|
|
||||||
dw 0x0000
|
|
||||||
|
|
||||||
align 8, db 0x00
|
|
||||||
vbr_part_table_ptr:
|
|
||||||
dw 0x0000
|
|
||||||
|
|
||||||
;
|
|
||||||
; pre-bss init globals (generally const...but there are exceptions)
|
|
||||||
;
|
|
||||||
|
|
||||||
align 8, db 0x00
|
align 8, db 0x00
|
||||||
boot_drive:
|
boot_drive:
|
||||||
db 0x00
|
db 0x00
|
||||||
|
|||||||
Reference in New Issue
Block a user