Commit graph

277 commits

Author SHA1 Message Date
TomAwezome
0d517f15bb Change AHCIPortIdentify port cmd_issue set to debug approach with or-equals. 2022-10-06 18:19:51 -04:00
TomAwezome
7c6f6117d2 Change AHCIPortIdentify cmd_fis desc set to debug approach, add another var check. 2022-10-06 18:19:08 -04:00
TomAwezome
f813da6107 Add debug AHCIPortIdentify PxCMD.ICC set to 1. 2022-10-06 18:18:13 -04:00
TomAwezome
1145ab3b9b Remove debug known-good vals from check in AHCIPortIdentify. 2022-10-06 18:17:45 -04:00
TomAwezome
0cbbe5a74b Add debug AHCIPortIdentify device_sleep clear and another var check. 2022-10-06 18:16:56 -04:00
TomAwezome
896239cd77 Fix kernel compile warn on debug var dup type. 2022-10-06 18:15:38 -04:00
TomAwezome
52db1e115c Fix KernelA typo on AHCI_CF_DESCF_C value. 2022-10-06 18:14:23 -04:00
TomAwezome
6624bba48e Replace magic number in AHCIPortIdentify cmd header desc fix attempt. 2022-10-03 21:19:14 -04:00
TomAwezome
008e68cc29 Try setting CFL bits in AHCIPortIdentify. 2022-10-03 05:12:43 -04:00
TomAwezome
af27249c43 Update debug reporting. 2022-09-15 10:51:32 -04:00
TomAwezome
0561a21eaa Add debug variable report and timeout count to AHCI methods that doodguy's computer is hanging at. 2022-09-14 18:17:36 -04:00
TomAwezome
8c132e2536 Replace AHCIPortInit CPortCmdHeader pointer cast(s) with declared variable. 2022-09-13 01:45:25 -04:00
TomAwezome
95ee43d4a1 Put debug prints and HLT in AHCIPortInit to diagnose bare-metal AHCIPortInit Page Fault bug on doodguy's UEFI machine. 2022-09-12 16:23:54 -04:00
TomAwezome
111e3475e3 Raise MEM_E820_ENTRIES_NUM to 256, remove memmap entry count max check in zealbooter at suggestion of mintsuki. 2022-09-12 04:26:10 -04:00
TomAwezome
8297c769e6 Fix zealbooter memmap kernel header buffer-overflow.
Previously the zealbooter memmap e820 assignment loop used the entry count value passed via limine, without checking if it was over MEM_E820_ENTRIES_NUM, the #define constant value limit of entries that are stored in the kernel header's e820 region. This commit bumps up the constant entry count to 64 from 48, and also adds a small check in zealbooter to ensure that the entry count value used in the memmap loop caps off at the constant value.
2022-09-12 00:41:09 -04:00
TomAwezome
67fda6d081 Set aux font to a verifiably Public Domain font bitmap set.
Fonts used to make aux font:
Public Pixel Font by GGBotNet ( https://www.fontspace.com/public-pixel-font-f72305 )
Marediv Font by Pixel Kitchen ( https://www.fontspace.com/marediv-font-f32318 )

Both fonts used are licensed under the Public Domain.
2022-09-01 01:28:46 -04:00
TomAwezome
8fa30a396f Unhardcode BOOT_RAM_LIMIT, patch via kernel headers. 2022-08-29 00:24:45 -04:00
mintsuki
7a0c9a710c Fix KStart32-related issues and improvements to build script 2022-08-28 09:30:17 +02:00
TomAwezome
14515d7a19 Fix sys_framebuffer_bpp size and assignment in KStart16. 2022-08-28 02:10:37 -04:00
TomAwezome
5a4351d10c Raise OS version to 2.0 2022-08-28 00:50:43 -04:00
TomAwezome
94eea62a5c Fix major ISO9660 ISOFileRead bug and typo caused by hasty reformatting. 2022-08-27 16:09:53 -04:00
TomAwezome
c2b4a4a1a0 Remove debug KMain Compiler load testing. 2022-08-27 16:08:29 -04:00
TomAwezome
d3a298c9fd Fix minor formatting error. 2022-08-27 16:07:45 -04:00
TomAwezome
751684f8ac Set xorriso to generate Joliet ISO data. 2022-08-27 08:15:06 -04:00
TomAwezome
41a033fe8a Implement prekernel disk GPT UUID pass to kernel, add to headers, check in AHCIBootDVDProbeAll. 2022-08-27 05:11:55 -04:00
TomAwezome
ce84d5532f Merge all dev build scripts into build-iso.sh 2022-08-27 01:14:42 -04:00
TomAwezome
33bf00ea5c Revise KStart16 framebuffer acquire logic. 2022-08-26 20:55:55 -04:00
TomAwezome
f74e3d6b20 Remove VBE from kernel headers. 2022-08-25 07:15:24 -04:00
TomAwezome
2bd8e2ab0b Remove SYS_FONT_PTR and related code. 2022-08-25 04:33:39 -04:00
TomAwezome
0bf82fb057 Implement limine zealbooter prekernel SMBIOS entry patching to kernel. 2022-08-23 21:04:27 -04:00
TomAwezome
dbbf751a44 Remove commented old code lines from KMain. 2022-08-23 18:24:50 -04:00
TomAwezome
f86a0ed978 Remove ASCII 0x5 cursor character from files. 2022-08-23 18:00:55 -04:00
TomAwezome
7d31064b6a Abstract out VBE vars from most of OS, revise dev uefi temp vm build system.
Misc UEFI build scripts have been removed/revised/condensed into one script with multiple rebuild steps. The order of the steps is as follows: Auto-install into temp VM with custom AUTO-VM iso, merge kernel headers into VM, rebuild kernel, merge Kernel/ code, rebuild kernel, merge all src/ code, deploy limine and zealbooter, rebuild kernel (as well as test), then test UEFI and BIOS mode.
2022-08-23 04:48:04 -04:00
TomAwezome
e6ca68c2e2 Begin prototyping limine UEFI ISO generation. 2022-08-22 05:42:13 -04:00
TomAwezome
1d4d8dc86e Fix limine uefi missing SYS_FONT_PTR by hardcoding a new aux font dedicated file.
Since Zeal used a 16-bit mode BIOS INT to get an 8x8 VGA ROM font, this is incompatible if Zeal is loaded to a patched 32-bit mode by the zealbooter prekernel. To circumvent SYS_FONT_PTR never being set and fix access to the 'thick' font with Ctrl-Alt-F, I loaded Zeal bare-metal on my Thinkpad T420 and saved the VGA ROM font file with FontEd, then transferred the file to my VM.
2022-08-22 03:18:54 -04:00
TomAwezome
644a73711e Merge branch 'limine2' into limine 2022-08-22 02:46:53 -04:00
mintsuki
375a487087 ZealBooter: De-hardcode kernel load address and boot stack 2022-08-21 22:21:01 +02:00
mintsuki
ee265c8767 ZealBooter: Move sys_pci_buses assignment to zealbooter.c 2022-08-21 19:13:48 +02:00
mintsuki
d7f72e3aa9 ZealBooter: Misc cleanup, SMP working 2022-08-21 19:03:17 +02:00
TomAwezome
f2f7fa953f Merge branch 'limine2' into limine 2022-08-21 06:41:47 -04:00
mintsuki
5f3bdc637b Set sys_pci_buses to 256 by default 2022-08-21 10:36:14 +02:00
mintsuki
bcb830e880 ZealBooter: Misc progress 2022-08-21 10:27:19 +02:00
TomAwezome
402fa603a6 Put framebuffer members in SYS_KERNEL to match previous commit adding them to CKernel. 2022-08-20 12:29:04 -04:00
TomAwezome
ddccc7d7ff Begin attempt to get limine framebuffer and combine it into kernel data members. TODO: update SYS_KERNEL DU members. 2022-08-20 11:46:30 -04:00
mintsuki
344de80dab ZealBooter: Misc progress 2022-08-20 16:13:06 +02:00
TomAwezome
63d0612e5d Update ChangeLog with ISO9660 details. 2022-04-16 19:11:53 -04:00
TomAwezome
872e1a1385 Fix IS09660 code formatting. 2022-04-16 17:55:26 -04:00
TomAwezome
88fe6b59ba Fix formatting of ZealC postfix pointer casts in ISO9660 code. 2022-04-16 17:31:48 -04:00
TomAwezome
7d80592aaa Restore ISO9660 filesystem non-writable error checks from "TempleOSCD_2017-05-21T03 56 09.ISO". 2022-04-16 15:53:14 -04:00
TomAwezome
5bd83cd4a7 Re-add ISO9660 .ISO creation from "TempleOSCD_2017-05-21T03 56 09.ISO". 2022-04-04 00:51:26 -04:00