minor cleanup and add dev enviroment files to gitignore
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,4 +6,5 @@ build/*
|
||||
bx_enh_dbg.ini
|
||||
stevia-log
|
||||
.vscode/
|
||||
*.map
|
||||
*.map
|
||||
compose-dev.yaml
|
||||
|
||||
@@ -47,7 +47,7 @@ InitFATDriver:
|
||||
mov bx, dx ; set bx, should point at our partition
|
||||
|
||||
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 si, ax
|
||||
@@ -193,7 +193,7 @@ SearchFATDIR:
|
||||
|
||||
mov cx, 0xA ; max of 11 filename length of 11 characters
|
||||
; 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
|
||||
|
||||
pop di
|
||||
|
||||
@@ -169,8 +169,6 @@ main:
|
||||
call EnterUnrealMode
|
||||
print_string UnrealMode_OK_info
|
||||
|
||||
|
||||
|
||||
; FAT Driver setup
|
||||
call InitFATDriver
|
||||
print_string InitFATSYS_OK_info
|
||||
@@ -401,26 +399,6 @@ BootTarget:
|
||||
; 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
|
||||
boot_drive:
|
||||
db 0x00
|
||||
|
||||
Reference in New Issue
Block a user