Update README. Remove debug code.
This commit is contained in:
parent
c10c3690a5
commit
ea62dcddfa
@ -1,9 +1,7 @@
|
|||||||
# Xnoe OS
|
# 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.
|
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.
|
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.
|
|
@ -49,7 +49,6 @@ int main() {
|
|||||||
if (buffer)
|
if (buffer)
|
||||||
delete[] buffer;
|
delete[] buffer;
|
||||||
buffer = new char[128];
|
buffer = new char[128];
|
||||||
printf("Buffer allocations: %d\n", kernel_process.count_allocations(buffer));
|
|
||||||
printf(">>> ");
|
printf(">>> ");
|
||||||
for (int i=0; i<128; i++)
|
for (int i=0; i<128; i++)
|
||||||
buffer[i] = 0;
|
buffer[i] = 0;
|
||||||
|
@ -52,7 +52,6 @@ void* Process::allocate(uint32_t size) {
|
|||||||
|
|
||||||
ptr += elem_size;
|
ptr += elem_size;
|
||||||
}
|
}
|
||||||
printf("ptr: %x\nPage Remaining: %d\n", this->last_page_pointer, this->page_remaining, ptr);
|
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user