Commit Graph
23 Commits
Author SHA1 Message Date
Tom-on 105076a8ce Commited some old changes, idk what they were 2024-07-30 21:07:05 +02:00
Tom-on 9c96636436 Got the OS to boot from new disk image
- Pretty much rewrote stage1.asm
- Changed some addresses in stage2.asm and in memory/adresses.h
- Changed stage3.c to read root INode and it's dirEntries to find kernel.bin and term16n.fnt
- Made a fake ls command in kernel.c, just so it prints something
- Fixed makedisk.c to make the disk image properly
- Changed Makefile to compile makedisk.c and then run makedisk
- Added makedisk executable to .gitignore
2024-06-02 19:09:33 +02:00
Tom-on ff07696dc6 Continuing terminal I/O
- Made stdio.h work
- Moved printFiletable back into kernel.c
- TODO: Add stdio.h to all files that should use it (probably next commmit)
- Added some more global addresses. There's a memory layout, but i'm not using it
- Got cursor to be drawn
- Calc program now gets user input
2024-05-28 17:08:49 +02:00
Tom-on e9abfc2e4a Implemented Higher Half Kernel!
- Minor makefile chnages
- stage3.c "prekernel", sets up memory stuff and jumps to kernel
- kernel is now at 0xC0000000 - 3GB+ "higher half"
- Added some global variables in memory/addresses.h
2024-05-26 15:49:48 +02:00
Tom-on 8245187356 Slighly changed everything :)
- Makefile changes
- Linker script updates
- Made it comply with C17
- Removed entry.asm (finally)
2024-05-24 18:25:26 +02:00
Tom-on e728571393 Finished Virtual Memory Manager!!! Paging etc. now works perfectly*
*i have no idea if it works right, but it doesn't seem to be broken
2024-05-23 20:53:15 +02:00
Tom-on e617f4fe69 Moved kernel from 0x1000 to 0x50000 2024-05-07 17:11:44 +02:00
Tom-on e39bc2cabc Minor fix 2024-05-06 20:09:28 +02:00
Tom-on 1d71a4e384 [ BIG CHANGE ] Properly Implemented IDT
- New include files: idt.h, pic.h, syscall.h and exceptions.h
- Proper exception handling (still could be improved
- PIC properly initiated and irqs all masked
- BREAKS Keyboard - The keyboard IRQ is not handled anymore
- convertColor() is kinda broken :/ (More in README.md)
2024-05-05 21:03:21 +02:00
Tom-on 5d67e12fe2 Removed hardcoded resolution 2024-05-02 14:47:23 +02:00
Tom-on 8664855d81 Changed default font to Termius 8x16 (old font is still there) 2024-05-02 13:10:40 +02:00
Tom-on 12de6c5b74 Finished gfx mode selection thing 2024-05-02 11:42:09 +02:00
Tom-on 7489f70f74 Added setup retry and removed config.asm because i won't use it 2024-05-02 11:19:43 +02:00
Tom-on e305764cde Added setup screen on bootup. Also added src/config.asm, where you can configure some stuff 2024-05-02 11:09:05 +02:00
Tom-on 437b423d19 Fixed boundaryFill (sorta, circle is still broken, idk why) 2024-05-01 21:04:17 +02:00
Tom-on 953fe9b59a I forgot to change 800x600 8bpp mode back to 1920x1080 32bpp when i was testing 2024-04-29 20:45:22 +02:00
Tom-on 02107fca9d Screen.h now fully supports most bpp values (8-bit is kinda bad, but is works) 2024-04-29 20:44:05 +02:00
Tom-on 642a5e2599 Made screen.h use correct resolution instead of assuming 2024-04-26 13:32:26 +02:00
Tom-on bd7889f22a Added printing memory map 2024-04-25 19:03:35 +02:00
Tom-on f3c41cc6de Started working on Physical memory map for memory manager 2024-04-24 20:14:35 +02:00
Tom-on 12c0fafa1f Implemented custom font and text drawing in VBE graphics mode! No colors :( 2024-04-19 13:23:55 +02:00
Tom-on 5d517b1654 Implemented VESA Bios Extension thing. Now in 1920x1080 32bpp mode! [NO MORE TEXT OUTPUT] 2024-04-18 16:53:39 +02:00
Tom-on 052b668d98 Started working on multistage bootloader. Added VBE data in stage2.asm 2024-04-17 17:23:09 +02:00