|
|
c10394a0cd
|
early allocator prototypes
|
2025-09-04 17:49:57 -04:00 |
|
|
|
105ceb8b8b
|
make sure eax and edx are set each call to E820
|
2025-09-04 15:32:28 -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 |
|
|
|
94c2a1626d
|
correct some field sizes
|
2024-10-18 07:57:42 -04:00 |
|
|
|
48f0de8f7b
|
clean up
|
2024-10-18 07:30:23 -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 |
|
|
|
046821ff7a
|
add fastcall-ish macro for light functions
only does a stack frame setup with no locals space
|
2024-10-17 20:35:12 -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 |
|
|
|
9d4479bd86
|
clear dh and al
|
2024-10-17 14:17:15 -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 |
|
|
|
56e8081118
|
magic debug before touching anything in error printer
|
2024-10-15 13:31:51 -04:00 |
|
|
|
5f9567d44e
|
include disk signature and reserved bytes in part table struct
|
2024-10-15 12:51:34 -04:00 |
|
|
|
2020408e8d
|
ha ha ha, again!
|
2024-10-15 12:51:02 -04:00 |
|
|
|
4660882edb
|
change entry points (again)
|
2024-10-14 17:58:43 -04:00 |
|
|
|
f683b8fd17
|
16 KiB stage2
|
2024-10-14 17:58:30 -04:00 |
|
|
|
56c18d8457
|
correct drive_num argument on read_disk_raw
|
2024-10-14 13:18:41 -04:00 |
|
|
|
cfda93048b
|
replace text documentation with markdown
|
2024-10-14 10:44:44 -04:00 |
|
|
|
c49de28a15
|
use bochs magic breakpoints in the error printer
makes it easier to get a good state to do some investigating before reseting.
|
2024-10-13 20:53:13 -04:00 |
|
|
|
cd833184da
|
use bx addressing in read_disk_raw
|
2024-10-13 20:51:16 -04:00 |
|
|
|
f51d8b4142
|
initial work on a macro to call read_disk_raw
|
2024-10-13 16:37:52 -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 |
|
|
|
a383f7cfb4
|
remove defs for memory locations (moving to bss)
|
2024-10-13 16:36:55 -04:00 |
|
|
|
eb97aac673
|
relocate code sections to end up with stage2 starting at 0x500
|
2024-10-12 22:14:47 -04:00 |
|
|
|
c60bad1066
|
reduced stage2 to 24KiB
|
2024-10-12 22:13:12 -04:00 |
|
|
|
050f90517a
|
follow standard proceedure and reallocate the mbr to 0x600
|
2024-10-12 21:21:43 -04:00 |
|
|
|
555cf1271b
|
partially roll back changing the segment to 0x07E0
|
2024-10-12 20:25:04 -04:00 |
|
|
|
b49b2bae68
|
correct typo
|
2024-10-12 15:39:16 -04:00 |
|
|
|
5abbfa4d15
|
definition corrections in part table stuff
|
2024-10-12 15:39:04 -04:00 |
|
|
|
ac6ad77249
|
renamed mem.inc and removed unused items
|
2024-10-12 15:38:24 -04:00 |
|
|
|
bc89850c00
|
first version of kmemcpy5/kmemset4
|
2024-10-12 14:48:26 -04:00 |
|