From ea62dcddfa99df73086ab0038810da94cbb3cdae Mon Sep 17 00:00:00 2001 From: Xnoe Date: Wed, 10 Nov 2021 22:44:22 +0000 Subject: [PATCH] Update README. Remove debug code. --- README.md | 6 ++---- src/kernel/kernel.cpp | 1 - src/kernel/process.cpp | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d0c0398..86798c4 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # Xnoe OS -An attempt at writing an "Operating System" in x86 assembler. +An attempt at writing an "Operating System" in x86 assembler, C and C++. Hi all, I have many hobbies, one of those is torturing myself with knowledge I probably won't ever make use of again, and that is why this exists. -I've had an interest in operating systems since I started to code, and *have* attempted to write this in the past, but I lacked the skills required back then. - -This codebase features a bootloader that can load files from a FAT16 disk, and a kernel that doesn't have much functionality at all. \ No newline at end of file +I've had an interest in operating systems since I started to code, and *have* attempted to write this in the past, but I lacked the skills required back then. \ No newline at end of file diff --git a/src/kernel/kernel.cpp b/src/kernel/kernel.cpp index 67d9dcc..497ebbc 100644 --- a/src/kernel/kernel.cpp +++ b/src/kernel/kernel.cpp @@ -49,7 +49,6 @@ int main() { if (buffer) delete[] buffer; buffer = new char[128]; - printf("Buffer allocations: %d\n", kernel_process.count_allocations(buffer)); printf(">>> "); for (int i=0; i<128; i++) buffer[i] = 0; diff --git a/src/kernel/process.cpp b/src/kernel/process.cpp index ddac59d..26b0c85 100644 --- a/src/kernel/process.cpp +++ b/src/kernel/process.cpp @@ -52,7 +52,6 @@ void* Process::allocate(uint32_t size) { ptr += elem_size; } - printf("ptr: %x\nPage Remaining: %d\n", this->last_page_pointer, this->page_remaining, ptr); return ptr; }