Commit Graph

34 Commits

Author SHA1 Message Date
9918f2367e Merge upstream changes from branch 'trunk' into fat32_sys_rewrite 2024-12-19 20:09:48 -05:00
56b86fe12e more bug catching after changing the location of data
also cleanup comment from previous bug
2024-12-19 18:59:34 -05:00
37eb87239c moved varibles passed from vbr to .data section
this is to work around having to save them without .bss ready
2024-12-19 15:18:28 -05:00
63a1a1beea might have fixed some of the boot_drive issues with ext_read 2024-12-19 13:13:46 -05:00
b7e2a8e886 use bx rel addressing for fat32_state in SearchFATDIR 2024-10-18 07:58:09 -04:00
b606e28958 clean up of comments 2024-10-18 07:30:14 -04:00
45aeb9b3d0 ClusterToLBA to fastcall
cleanup of NextCluster
2024-10-17 20:36:05 -04:00
508bf1aa55 update a few missed fields and correct ALIGN on FSInfoPrinter
disable bad cluster jmp for now
2024-10-17 14:34:23 -04:00
ccf846909a update field name 2024-10-17 14:33:42 -04:00
2b3ab1dc3a changed informational strings 2024-10-17 14:15:49 -04:00
85a8f0da1c rewrite InitFATDriver to use si/di/bx relative addresses 2024-10-17 10:34:32 -04:00
b5cc1c9ec1 move fsinfo just for my easy reading 2024-10-17 10:33:52 -04:00
e12ea89fda changing names of values to match spec more
also added prototype for FS info printer that will print some basic santity check type info.
2024-10-17 07:50:37 -04:00
e33f010f73 added carry and divz checks across the fat32 code
also use the pointers we have in bss to our saved data
2024-10-16 11:58:57 -04:00
c9f4b18d2b some debuging text for fat32 stuff 2024-10-15 20:37:49 -04:00
e680620148 remove some redundant reloads of si
use xchg to swap si/di instead of the stack
uninline ClusterToLBA call
2024-10-15 20:01:24 -04:00
56c18d8457 correct drive_num argument on read_disk_raw 2024-10-14 13:18:41 -04:00
3693eca940 add reserved space for jmp short init at the start, technically this is part of the bpb anyways 2024-10-13 16:37:29 -04:00
12fc8a1e37 use NASM defined size value from structure macro 2024-10-12 12:58:32 -04:00
d9e46f5571 correct src size in op 2024-10-11 16:52:57 -04:00
0250d9351d inlined ClusterToLBA
removed caller save kludge for now
init first_root_dir_sector from ebpb data
2024-10-11 15:55:24 -04:00
e8fb22c826 somewhat of a cludge, but added a macro to save all caller saved regs 2024-10-11 14:25:01 -04:00
3a819a685a use kmemset to 0 out fat32_state in InitFATDriver 2024-10-11 13:00:45 -04:00
8e05e071e8 renamed files to show code vs defs
files that actually include code should be in .nasm files
defines/macros/non-code should be in .inc files
2024-10-07 20:41:15 -04:00
4c4c3b0e27 fixed read_disk_raw in ReadFATCluster
boot_drive and partition_offset are global pointers now
removed an extra error from mbr disk read
and some general formating and cleanup 😅
2024-10-05 20:14:00 -04:00
f5f5a330cd tons more work on modularizing the code 2024-10-05 18:55:00 -04:00
446dd451be more modularization and updating date in MIT licence header 2024-10-05 13:35:39 -04:00
64f2453d61 typo fix 2024-10-05 12:16:31 -04:00
867232890e Move fat32 and BIOS functions to their own files 2024-10-05 12:04:40 -04:00
d16323bac1 remove this and add it back to vbr.nasm 2024-10-03 20:59:25 -04:00
f3de54fa9d moved reservation for bpb to a include 2024-10-02 10:25:59 -04:00
d7bd565279 MIT license applied to all project files 2023-08-22 16:03:46 -04:00
91ec2ad898 small changes to License
🏳️‍⚧️
2023-08-22 14:24:35 -04:00
Elaina Claus
ff14c336e8 first commit 2023-02-28 22:17:55 -05:00