Update README. Remove debug code.

This commit is contained in:
Xnoe 2021-11-10 22:44:22 +00:00
parent c10c3690a5
commit ea62dcddfa
Signed by: xnoe
GPG Key ID: 45AC398F44F0DAFE
3 changed files with 2 additions and 6 deletions

View File

@ -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.
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.

View File

@ -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;

View File

@ -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;
}