Commit Graph
277 Commits
Author SHA1 Message Date
Tom-on 5a5ea4ea59 Implemented a proper libc 2024-10-05 13:34:24 +02:00
Tom-on a6445ebcb6 Removed unused filetable.asm 2024-09-10 13:40:26 +02:00
Tom-on 597e82e78f Updated config 2024-09-09 11:17:57 +02:00
Tom-on af1d9d6da7 Added config 2024-09-09 08:18:15 +02:00
Tom-on 9f975080b7 Updated todo with The Big Refactor 2024-09-08 14:34:27 +02:00
Tom-on 589bef42af ye 2024-09-08 10:36:01 +02:00
Tom-on b88f84b4cd Improved printf() 2024-08-27 15:17:42 +02:00
Tom-on f79603c778 Added stdarg.h 2024-08-26 21:15:35 +02:00
Tom-on 2ca858465c Got shell file reading to work! 2024-08-26 17:22:47 +02:00
Tom-on 7886fd5599 Added the 'n' functions (ie. strNcpy) to string.h and some minor changes 2024-08-26 17:01:19 +02:00
Tom-on d6c4682f52 Fragmented stdio.h header 2024-08-26 14:54:47 +02:00
Tom-on 9388457774 Made Open() syscall work (badly) 2024-08-26 14:43:12 +02:00
Tom-on 105b58a684 Some changes, syscalls use reg structs and have return values 2024-08-25 19:40:10 +02:00
Tom-on da1171983b Fixed sleep() function being weird 2024-08-25 15:39:46 +02:00
Tom-on 6d9b807fe6 Made fonts not have to be assembled every time and made open file table 2024-08-16 18:42:42 +02:00
Tom-on f0edcb0459 Changed header guards to include path to include file (ie. PATH_TO_EXAMPLE_H) 2024-08-16 12:00:12 +02:00
Tom-on a40490d6a8 Cleaned and slightly refactored stdio.h and file I/O syscalls 2024-08-16 11:48:54 +02:00
Tom-on 823cd1761f OS now displays info about file when it's name is typed in 2024-08-16 08:40:08 +02:00
Tom-on 1257ecc1cc Made 'ls' real and not just a bunch of hardcoded printf calls 2024-08-16 08:19:01 +02:00
Tom-on 3134c6196e Update syscall.h 2024-08-15 14:11:21 +02:00
Tom-on bab4b308f9 Began working on file I/O through stdio.h. Wrote most of the code needed in stdio.h. Next up is writing the syscall handlers. 2024-08-14 14:32:44 +02:00
Tom-on 40e84e5b70 Finished custom filesystem and got it to boot normally 2024-08-14 10:43:12 +02:00
Tom-on d37abb7b65 Moved bigError() 2024-08-13 15:20:13 +02:00
Tom-on f8e03d9024 Added bigError() 2024-08-13 15:13:17 +02:00
Tom-on be6b65863f Implemented custom filesystem and got it to compile. It seems that it isn't loading the 3rd stage bootloader though 2024-08-12 16:30:45 +02:00
Tom-on 044b1eceac Added Filesystem Specification 2024-07-31 13:05:16 +02:00
Tom-on 16046a306d Modified Makefile 2024-07-30 21:16:58 +02:00
Tom-on 105076a8ce Commited some old changes, idk what they were 2024-07-30 21:07:05 +02:00
Tom-on 8e004221e1 Added a regs command to print register values 2024-06-03 10:18:52 +02:00
Tom-on 07e946221f Minor Makefile changes 2024-06-03 09:33:57 +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 2a9d33d733 Rename makeDisk.c to makedisk.c 2024-06-02 15:25:09 +02:00
Tom-on d689361b7b Fixed makedisk.c 2024-06-02 15:24:42 +02:00
Tom-on d8fd8c0a29 Added fs/fs.h header for new filesystem and added a utility that builds it. The filesystem is not in use though 2024-06-01 12:25:32 +02:00
Tom-on 573299b799 Added an editor program. It doesn't edit anything yet :/ 2024-05-31 10:22:08 +02:00
Tom-on 13bac619fc Added int argc and char** argv 2024-05-31 10:19:05 +02:00
Tom-on eef7bf1aa2 After all this time, I FINALLY implemented the calculator! 2024-05-30 17:46:05 +02:00
Tom-on 75410d3a6c Made printf() good! 2024-05-30 10:30:39 +02:00
Tom-on f4e8435603 Some printf() bug fixes 2024-05-29 12:00:02 +02:00
Tom-on ed18f4ac4b IMPLEMENTED printf()!!!!!!!
It's kinda bad :/
2024-05-29 11:35:10 +02:00
Tom-on f4f89dd8ba Removed disk command, because it was half broken we don't need that 2024-05-29 09:57:06 +02:00
Tom-on 77d7c356e9 Added \ escape code support in echo command! 2024-05-28 20:43:30 +02:00
Tom-on 7a2afbd653 Implemented Escape Sequences!!!! 2024-05-28 20:42:03 +02:00
Tom-on 74c38342d7 Made memory/addresses.h more organised
Also didn't need to add stdio.h to any files so that's good!
2024-05-28 17:43:07 +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 536f6b2320 Began work on proper terminal I/O
- Chenged Puts() syscall to Write()
- Improved syscalls.h
- added a new header in terminal/terminal.h
- moved gfxMode into screen/gfxmode.h
2024-05-27 15:16:07 +02:00
Tom-on eac71f137e FINALLY Made calc.c work properly! Maybe i can now write a calculator app? 2024-05-26 18:57:09 +02:00
Tom-on 031744fbc2 Moved clock to top right corner! 2024-05-26 18:44: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 01323c5874 Used filesys.h in kernel 2024-05-26 14:13:46 +02:00