Commit graph

161 commits

Author SHA1 Message Date
TomAwezome
2d83a110c3 Implement PCI fall-back routines for when PCIBIOS is unsupported.
Abstract PCI functions out from PCIBIOS.CC into their own file, add calls to PCIBIOS from PCI functions.
Fix AHCI BIOS handoff bug.
Raise version number.
2021-06-24 01:19:46 -04:00
TomAwezome
59eba5a7de Fix AHCIBufferAlign causing crashes on bare-metal.
Update 32-bit color graphics demo.
Add global Boolean to toggle window manager framebuffer writes.
2021-06-22 14:44:19 -04:00
TomAwezome
413b73db76 Fix missing BlkDev locks in AHCI read/write methods. 2021-06-17 03:43:29 -04:00
TomAwezome
138e503ccd Fix DVDImageRead.
Implement functions for AHCI ATAPI Seek and Start/Stop.
2021-06-16 20:47:21 -04:00
TomAwezome
2bf3d229bc Fix bare-metal installer invalid port string. 2021-06-15 21:41:22 -04:00
TomAwezome
674ef844b8 Fix AHCI initialization on bare-metal. 2021-06-15 01:09:35 -04:00
TomAwezome
baa862b268 Remove redundancies in AHCI RBlks and WBlks functions.
Clean up and reformat AHCI code.
2021-06-06 01:11:36 -04:00
TomAwezome
fad8608b87 Improve AHCI performance by removing checks for blkdev max_reads and max_writes limits.
Fix AHCI port and command waits hanging entire OS by using Yield.
Fix DVD boot hardcoded AHCI port number, correctly search ports for ATAPI drive.
Fix compiler unused variable warnings in Mount2.
2021-06-02 17:18:26 -04:00
TomAwezome
0f9d6b43f8 Integrate AHCI into entire OS. Remove IDE support. 2021-06-01 16:35:27 -04:00
VoidNV
b974147dbf Add DiskAHCI.CC to Kernel, add ATAPI capacity read
Export read/write and reset AHCI functions
Create SATARep()
2021-05-26 21:27:49 -05:00
VoidNV
1d1c564760 Prototype AHCI ATAPI reading 2021-05-26 03:19:03 -05:00
TomAwezome
24853fa765 Improve logs on AHCI boot prototyping, update IDE DVD boot function order documentation. 2021-05-25 16:20:40 -04:00
TomAwezome
b99dd94db9 Change TomLight palette to Light, brighten colors, improve system responsiveness by lowering double-click wait time. 2021-05-12 15:57:59 -04:00
VoidNV
4b1150df86 Rename MSRGet() -> MSRRead(), MSRSet() -> MSRWrite() 2021-02-09 05:20:31 -06:00
VoidNV
79e7caaad4 Add MSRGet() 2021-01-28 19:10:11 -06:00
VoidNV
b7ad56489f Remove DriveMap() 2021-01-24 02:19:02 -06:00
VoidNV
b3583e05bf Restore "Daemon" to "Seth" 2021-01-12 00:37:35 -06:00
TomAwezome
db32fdb367 Reformatted entire codebase.
Reformatted DolDoc files, adjusted sprites in documentation to reflect naming changes, corrected keybinding labels in AutoComplete window, fixed formatting error in Tips.DD.

Added DVD Boot AHCI prototyping into Kernel, displays detected AHCI configuration and halts mid-boot.

Small modifications to standard font, slight increase to mouse X and Y speed.
2020-12-23 18:27:18 -05:00
TomAwezome
027648943f Reformatted all Kernel SerialDev files.
All Kernel files are now reformatted.
Also reverted Caps Lock functionality. Might alter behaviour on symbols in the future.
2020-09-15 02:27:17 -04:00
TomAwezome
7e0ce60071 Reformatted Kernel files in Memory subdirectory.
Reformatted BlkPool.CC, HeapCtrl.CC, MAllocFree.CC, MemPag.CC, MemPhysical.CC, PageTables.CC.
2020-09-14 21:55:57 -04:00
TomAwezome
ec3aa83b55 Finished reformatting files in Kernel BlkDev subdirectory.
Reformatted DiskATA.CC, DiskATAId.CC, DiskAddDev.CC, DiskBlk.CC, DiskBlkDev.CC, DiskCDDVD.CC, DiskCFile.CC, DiskCache.CC, DiskClus.CC, DiskCopy.CC, DiskDirA.CC, DiskDirB.CC, DiskDirContext.CC, DiskDrive.CC, DiskFile.CC, DiskFind.CC, DiskFormat.CC, DiskStrA.CC, DiskStrB.CC, FileSysFAT.CC, FileSysRedSea.CC.
Files are not being refactored currently, progress log filename is misnomer, so renamed FilesRefactored.DD to FilesReformatted.DD.
2020-09-14 15:27:49 -04:00
TomAwezome
d9ac154e76 Reformatted more Kernel files.
Reformatted KMathA.CC, KMathB.CC, KMisc.CC, KTask.CC, KUtils.CC, Kernel.PRJ, KernelA.HH, KernelB.HH, KernelC.HH, KeyDev.CC, MultiProc.CC, PCIBIOS.CC, QuickSort.CC, Sched.CC, StrA.CC, StrB.CC, StrPrint.CC, StrScan.CC.
All top-level Kernel files are now reformatted. Remaining are files in Kernel/ subdirectories.
2020-09-12 17:37:51 -04:00
TomAwezome
7c6a2037d8 Reformatted some kernel files.
Changed DVD Resolution in DoDistro to 1024x768.
Kernel files reformatted: Display.CC, EdLite.CC, FunSeg.CC, Job.CC, KConfig.CC, KDataTypes.CC, KDate.CC, KDebug.CC, KDefine.CC, KExcept.CC, KExterns.CC, KGlobals.CC, KHashA.CC, KHashB.CC, KInterrupts.CC, KLoad.CC, KMain.CC, KStart16.CC, KStart32.CC.
2020-09-07 14:01:54 -04:00
TomAwezome
5aac8da5d9 Reformat KStart64.CC
Co-authored-by: VoidNV <voidnv@protonmail.com>
2020-07-21 16:47:25 -05:00
TomAwezome
5718ab999d Reformat DiskCFile.CC 2020-07-21 11:54:58 -05:00
VoidNV
ca1683c34f working AHCIATARW function
comments and refactors
2020-07-21 10:17:08 -05:00
Void NV
92cba974f2 Added BIOSRep, spacing fix in version printing 2020-06-04 18:05:55 -05:00
TomAwezome
701a30e8d4 reformats on some more BlkDev kernel files 2020-06-04 03:06:35 -04:00
Void NV
3e8690799c Caps Lock is now Backspace, fuck you 2020-05-21 01:53:43 -05:00
Void NV
948532f39e DiskATA.CC refactor 2020-05-05 01:47:34 -05:00
Void NV
48f9e4c7d6 small fixes for last commit 2020-05-03 14:55:53 -05:00
Void NV
37055c1fa9 Add ZenithWarn(), refactor KUtils and Mount2().
Semiworking AHCI ATA RW function
2020-05-03 14:50:09 -05:00
TomAwezome
b47ae16f90 comment correction 2020-05-01 18:50:58 -04:00
TomAwezome
606d0b4568 added check to send correct(?) cmd on identify ATAPI device, added right shift to num lock map 2020-05-01 18:46:12 -04:00
Void NV
928f6d4671 AHCI Identify, Added ST_FALSE_TRUE 2020-05-01 15:32:38 -05:00
Void NV
e92c1ca443 AHCI headers part 1 2020-04-29 17:42:05 -05:00
Void NV
0bbced2c7d AHCI reset 2020-04-28 22:24:33 -05:00
TomAwezome
540818a34c spacing, formatting improvements to a couple functions 2020-04-28 03:01:59 -04:00
VoidNV
c387ee9b0a some AHCI functions 2020-04-27 13:38:22 -05:00
VoidNV
f0fb30ba58 Some more AHCI definitions 2020-04-14 09:32:14 -05:00
Void NV
d45d9ecc38 Added comments to PICInit, fixed some of KernelA. 2020-04-13 23:36:42 -05:00
Void NV
c6dddb932b Rewrote IntEntry functions. Added CIDTEntry.
Removed DPL argument from IntEntrySet.
Updated OS version to 1.12.
2020-04-12 17:14:55 -05:00
Void NV
29e5dee551 PIC# -> PIC_#, PIT# -> PIT_# 2020-04-10 20:28:34 -05:00
Void NV
f598f076fb Added Chess game from Supplemental disk 1.
Renamed ScanFlags, ScanMessage, and StrPrintFlags.
2020-04-09 19:43:07 -05:00
Void NV
0ce5c06733 Added SysRep (SMBIOS Parsing).
CPURep now partially uses SysRep.
2020-04-04 19:31:48 -05:00
Void NV
d48b14b6ee Added unset flag printing to StrPrintFlags()
Added option to free str in StrReplace()
Added Registry to gitignore
SMBIOS work in progress
2020-03-29 17:11:28 -05:00
Void NV
c7a04c4ee7 Added StrReplace(). Not heavily tested 2020-03-20 19:35:06 -05:00
Void NV
ce63335991 Added OPTf_DECIMAL_ONLY 2020-03-20 00:08:53 -05:00
v0x3l
d6e3956704 Prefix Get, Set, Scan, Post changed to postfix 2020-03-19 15:59:53 -05:00
Void NV
1ba3b0dcaf SMBIOS parsing in progress.
Partial AHCI definitions. Rename GetStr to StrGet
Net code from TomAwezome
2020-03-17 09:40:18 -05:00