From 896f9f5fe02713f0208f2ebe6fe98294227cab7c Mon Sep 17 00:00:00 2001 From: Tom-on64 Date: Fri, 19 Apr 2024 16:16:54 +0200 Subject: [PATCH] Minor changes --- src/kernel.c | 3 +++ todo.txt | 27 ++++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/src/kernel.c b/src/kernel.c index 1bbdd65..9d7546b 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -208,6 +208,9 @@ void main() { char buf[size * 512]; diskRead(sector, size, buf); + // TODO: Print .txt files, launch .bin files + // For calling .bin files, use '((void (*)(void))buf)()' to jump to it + for (size_t i = 0; i < size * 512; i++) { if (buf[i] != '\0') { putc(buf[i]); diff --git a/todo.txt b/todo.txt index a70c886..4a99a36 100644 --- a/todo.txt +++ b/todo.txt @@ -2,7 +2,7 @@ - [*] Multistage Bootloader - [ ] Write down where stuff is in memory (0x1000 - kernel, 0x4000? - filetable, 0x5000 - VBE Mode Info, 0x6000 - Font) -- [ ] Screen +- [ ] "Text" mode (not actually) - [ ] Scrolling - [ ] Scroll-back - [ ] Color codes (and just multicolor text in general) @@ -12,6 +12,31 @@ - [*] Custom font - [*] Larger text size - [ ] Variable text size :) +- [ ] Graphics + - [ ] Enter/exit a "graphics" mode + - [ ] Pixel drawing + - [ ] Line drawing (Raycaster Alert??) + - [ ] Triangles (3D?!!???) +- [ ] Math + - [ ] Trigonometry + - [ ] Sine + - [ ] Cosine + - [ ] Tangent + - [ ] Cotangent + - [ ] Arc (inverse) versions + - [ ] Hyperbolic versions + - [ ] Absolute value + - [ ] isOdd() 🗿 + - [ ] Exponential fn (e^x) + - [ ] Logarithm + - [ ] Power + - [ ] Square Root + - [ ] Nth Root + - [ ] Floor + - [ ] Round + - [ ] Ceiling + - [ ] INFINITY + - [ ] NAN - [ ] Filesystem - [ ] Utility for filesystem building (not just an assembly file) - [*] Filetable