4ee766304b
seperate error code for reading disk in mbr vs vbr vs stage2
2024-10-04 09:52:24 -04:00
d5aa70daf3
add macros to prevent __CDECL16 stuff from being defined multiple times
2024-10-04 09:51:44 -04:00
ec1f40c305
added isoz stage to make a compressed disk image
...
also included a work around for a WSL bug in create-disk.sh
2024-10-04 07:57:56 -04:00
36e3bd968a
change FAT partition type to 0Ch from 0Bh (W95 FAT32 LBA was CHS/LBA)
2024-10-03 21:00:49 -04:00
36b8869140
add bpb and ebpb reserve area back to vbr.nasm
2024-10-03 21:00:02 -04:00
41b9bf5134
remove this and add it back to vbr.nasm
2024-10-03 20:59:25 -04:00
b96f587921
add forked functions and remove from memory.inc for kmem*
2024-10-03 19:53:11 -04:00
89ebe30ad8
forking kmemset functions for stage2 usage
2024-10-03 19:52:24 -04:00
e98cc41403
forking kmemset functions to be updated later for mbr/vbr
2024-10-03 19:52:00 -04:00
27c41c8b0a
update some of the dword stack macros
2024-10-03 19:33:07 -04:00
015def8d52
rough pass on fixing the stack across the board
2024-10-03 19:02:47 -04:00
8157dd301c
swap order of entering Unreal mode and getting an E820
...
also InitFATDriver should be ok to add to the start process again.
2024-10-03 18:15:18 -04:00
4d05d2ae4c
move E820 function desc to memory.inc
2024-10-03 18:14:04 -04:00
de5b0ddc5d
cdecl16 update for EnterUnrealMode
2024-10-03 17:59:29 -04:00
2cfe86efac
refactored and validated MemoryMap funciton
2024-10-03 17:41:48 -04:00
c8ca94d7ba
some general cleanup & moving the halt to the next point in main()
2024-10-03 16:43:10 -04:00
ac6110aa40
cdecl16 work and cleanup in MemoryMap
2024-10-03 16:34:27 -04:00
46717935a1
src/stage2/stage2.nasm:573: warning: label alone on a line without a colon might be in error [-w+label-orphan]
2024-10-03 15:28:44 -04:00
f691000a31
cdecl16 for EnableA20 ver.1
2024-10-03 15:10:22 -04:00
c524d8801d
replace prologs and epilogs in cdecl functions so far
2024-10-03 14:51:43 -04:00
0084747765
added entry & exit macros
2024-10-03 14:46:47 -04:00
929962eaca
bunch of changes mostly to do with cdecl16 conformity
...
moved top of stack marker to init
SetTextMode and Cursor done before hello msg
corrected CC/Stack usage to conform with cdecl16 for PrintString
corrected CC/Stack usage to conform with cdecl16 for PrintChar
corrected stack usage to conform with cdecl16 for SetTextMode
corrected stack usage to conform with cdecl16 for disable_cursor
2024-10-03 13:49:44 -04:00
054f4320ba
fixing how the stack works stage1 😳
2024-10-02 12:37:21 -04:00
2f6bd2e2d8
remove comment about CC, see docs/
2024-10-02 11:59:34 -04:00
7c446ef3b2
load our base headers in the same order as the mbr
2024-10-02 10:26:36 -04:00
2bbfa0931b
moved reservation for bpb to a include
2024-10-02 10:25:59 -04:00
8e595e8eba
added some clarification on cdecl16
2024-10-02 10:13:45 -04:00
5e4e40f7de
removed ata1 from windows bochsrc
2024-10-02 10:13:00 -04:00
6db97e3258
added bxrc config to launch on windows hosts
2024-09-21 14:09:52 -04:00
d42ee1df60
small optimization to error printer
...
saves us 5 bytes of code (15 overall)
2024-09-21 13:45:15 -04:00
96a8103e11
added debuging 'errors'
...
also there is special handling for them in error.inc
2024-09-21 13:28:52 -04:00
a5702bd92e
partially revert change, sti is still in init
2024-09-21 12:32:49 -04:00
bdc1fc5bf0
added -P option to losetup
...
this fixes an issue that appeared on WSL2 recently(ish)
2024-09-21 12:04:05 -04:00
1c27b665b0
ignore vscode personal configs
2024-09-21 11:46:36 -04:00
abc79adeb7
remove reallocation in mbr init
...
also reenable interupts in the init block
2024-09-21 11:45:22 -04:00
7fd4a89d96
Update README.md
...
updated description to more accurately reflect project status
2024-07-27 09:21:41 -04:00
355ceb49a7
changed extention from .s to .nasm
2023-08-23 10:10:30 -04:00
b590edd3ff
enable logging and bump to 128MB of memory
2023-08-23 10:10:13 -04:00
30b71d2e6e
updated gitignore
2023-08-23 10:09:49 -04:00
b2857ff9fd
clarify that WSL is supported
2023-08-23 07:35:30 -04:00
4e9e58c430
added description for create-disk script
2023-08-22 16:45:22 -04:00
5916b46a9e
Update README.md
2023-08-22 16:34:39 -04:00
d162d5dc4c
update readme with more information
2023-08-22 16:22:13 -04:00
d4dc46d770
MIT license applied to all project files
2023-08-22 16:03:46 -04:00
ad828ac1f4
use wx interface for config, gui, and debug
2023-08-22 15:56:15 -04:00
5fdde61dd3
remove packaged binaries
2023-08-22 15:55:45 -04:00
90ced63cba
small changes to License
...
🏳️⚧️
2023-08-22 14:24:35 -04:00
2c55ed5c04
Update README.md
2023-08-22 10:43:54 -04:00
94a2fb08ca
Delete COPYING
...
Removing GPL-3.0 license.
2023-08-22 10:43:01 -04:00
b9850f7ab9
Create README.md
2023-08-22 10:36:35 -04:00