Commit Graph

59 Commits

Author SHA1 Message Date
mintsuki
e39d7f5dd1 Ensure bpp of video mode is 32 bit 2020-03-27 05:43:34 +01:00
mintsuki
f993a23025 Fix overlapping memory bug and sizeof cmdline bug 2020-03-27 05:08:20 +01:00
mintsuki
573b3308e1 Add KERNEL_DRIVE default value 2020-03-27 03:45:36 +01:00
mintsuki
1cbd6fb2e9 Plug in e820 driver 2020-03-27 02:10:22 +01:00
mintsuki
f537f64b89 Add e820 driver 2020-03-27 01:59:11 +01:00
mintsuki
c0129c4d8c Fix pagemap bug 2020-03-26 04:06:23 +01:00
mintsuki
1166de64c8 Add initial VBE driver 2020-03-26 03:13:19 +01:00
mintsuki
26bccc6308 Add RSDP detection to stivale 2020-03-26 01:37:56 +01:00
mintsuki
0040b97fd1 Working on stivale 2020-03-26 00:46:35 +01:00
Matteo Semenzato
80ad7466fd Fix section loading function 2020-03-26 00:00:34 +01:00
Matteo Semenzato
ee8e1b330e Add function to load elf sections by name 2020-03-25 23:24:57 +01:00
mintsuki
8494b1d880 Add protos abstraction and stivale and qword protocols 2020-03-25 21:05:14 +01:00
mintsuki
c66d052afc Map 4GiB of phys memory at 0xffff800000000000 2020-03-25 19:16:49 +01:00
mintsuki
1b80c8ca90 Misc stuff 2020-03-25 05:19:07 +01:00
mintsuki
f762a0c7a3 elf: Remove stupid code 2020-03-25 05:05:06 +01:00
mintsuki
85709a0fbe elf: Add support for higher half kernels 2020-03-25 04:38:23 +01:00
mintsuki
d95a8403cc Use elf64 2020-03-25 01:31:59 +01:00
mintsuki
1a48bec601 Add elf parser 2020-03-25 01:04:18 +01:00
mintsuki
5c36fac374 Add testing facilities 2020-03-24 23:39:02 +01:00
mintsuki
225a7c238d echfs: Add open and read functions 2020-03-15 00:12:09 +01:00
mintsuki
1ce2a8d3ab Bump gcc and binutils versions in make_toolchain.sh 2020-03-13 17:04:51 +01:00
mintsuki
ab5b09e237 Add editing capabilities to gets 2020-01-25 04:49:11 +01:00
mintsuki
a9b31d6bfd Add command line editor 2020-01-25 03:06:56 +01:00
mintsuki
2f4311b2c0 Disable interrupts before jumping to kernel 2020-01-25 02:11:44 +01:00
mintsuki
cddacc280a Add IDT and PIT driver 2020-01-25 02:05:19 +01:00
mintsuki
9b5c159d1f Improve disk driver 2020-01-23 01:48:35 +01:00
mintsuki
42325aed4a Add config file parsing 2020-01-22 07:13:19 +01:00
mintsuki
48ce450aa1 Fix gets bug 2020-01-22 05:20:11 +01:00
mintsuki
5082a450a0 Clean up more and add getchar and gets 2020-01-22 05:02:12 +01:00
mintsuki
fdfc83abfb Clean bootsect code up 2020-01-22 04:12:55 +01:00
mintsuki
54074f2a97 Bug fixes in echfs driver, add 64 bit integer print formats 2020-01-22 03:11:26 +01:00
streaksu
85d6152025 Further work in echfs and partition management 2020-01-22 01:55:40 +01:00
mintsuki
9339c093fe Fix libgcc linkage issue 2020-01-22 00:56:20 +01:00
mintsuki
f7b0f240d3 Add make toolchain script and reorganise source tree 2020-01-21 23:45:13 +01:00
mintsuki
d624a35427 Add a .bss section to linker script 2020-01-21 11:42:17 +01:00
streaksu
97258c43f5 Added install script 2020-01-21 07:13:50 +01:00
streaksu
52125cd07f Add MBR parsing 2020-01-21 06:42:25 +01:00
streaksu
59ea2f0b59 Increased size to 32 KiB 2020-01-21 06:41:38 +01:00
mint
991487c25a
Merge pull request #4 from sakuranakamoto/master
Made error messages more specific
2019-07-08 23:27:28 +02:00
Sakura Nakamoto
44cb46a17e Revert "Removed save GPR code in read_sector"
This reverts commit c797223699.
2019-07-08 22:23:58 +01:00
Sakura Nakamoto
c797223699 Removed save GPR code in read_sector 2019-07-08 21:31:54 +01:00
Sakura Nakamoto
3b44ce6ffc Made error messages more specific 2019-07-08 20:41:17 +01:00
mintsuki
859b767b5d Misc fixes to disk driver and real mode ints 2019-06-03 00:14:32 +02:00
mint
33ce263987
Merge pull request #3 from iiSaLMaN/disk-cached-read
Implement a cached read function + slight updates on disk.c
2019-06-02 18:26:54 +02:00
iiSaLMaN
304819cea5
some slight updates 2019-06-02 12:18:10 +03:00
iiSaLMaN
e34646ba6c
Add cached read function + some slight updates 2019-06-02 12:17:49 +03:00
mintsuki
3768a8cf2e Other small changes to disk driver 2019-06-01 23:56:20 +02:00
mintsuki
bbfc5d36af Adjustments to disk driver 2019-06-01 23:48:33 +02:00
mintsuki
fc6c21ec77 Moved disk stuff to the right place 2019-06-01 23:38:40 +02:00
iiSaLMaN
7506fcb820 Add simple disk library (#2)
* Simple disk library

* Simple disk library

* add rm_seg and rm_off

* Make interrupt call per 128 sectors

* Matching code style + some modifies

* change max count to 127 + slight modifies 

max count of sectors to make a call with is 127 instead of 128

* make setup_dap static

* Matching actual code style + slight modifies
2019-06-01 23:34:24 +02:00