Commit Graph

31 Commits

Author SHA1 Message Date
d868008726 another oopsie from when I changed the calling convention... 2025-09-05 08:43:41 -04:00
f2657fdc01 seems I found a /little/ oopsie in the fat32 system 2025-09-04 19:59:36 -04:00
8d5996566e Update licensing and switch back to GPLv3 😅 2025-08-22 11:41:33 -04:00
531f4fa25f Merge branch 'fat32_sys_rewrite' of github.com:Nivirx/stevia into fat32_sys_rewrite 2025-01-12 20:00:51 -05:00
aa181bbae4 minor edit 2024-12-20 10:22:55 -05:00
ddd3f35a8b inlined ClusterToLBA into ReadFATCluster
fixed a bug where fat32_state wasn't being updated...
2024-12-20 10:10:12 -05:00
d6e8a2a923 minor cleanup and add dev enviroment files to gitignore 2024-12-20 02:07:46 +00:00
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
4535b89eaf clarify clobbers 2024-10-19 11:17:04 -04:00
ee9fd9b684 corrected a few instances of accessing boot_drive incorrectly after the location change 2024-10-19 11:08:19 -04:00
6ff9a2307f clear Next cluster data in bss on every NextCluster call 2024-10-19 10:54:58 -04: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
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
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
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