Standard Output Stream Implementation
Today I wrote an ostream implementation for Symmetry that uses the existing textmode functions. Now, instead of using textmode::write(text), you can just use cout << “text” like you do in normal C++. It has some non-standard additions (like the ability to set the colour of the text) and doesn’t implement many of the standards, but that doesn’t matter - this implementation is just for the kernel (not general userspace programs).
I’m still working on the ramdisk and vfs, but I’m having a problem with my memory allocator… Right now, if I try to use allocated memory, I just get a page fault. It’s probably because I haven’t made my heap management able to deal with paging. So I suppose I’ll work on that next - I do (as I’ve been saying for a while) need a better heap manager anyway!