Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-13 | added an exit function | Andreas Baumann | |
added Linux syscall stubs for exit and write adapted all tests added a printf test made stdio work on Linux or AbaOs syscalls | |||
2017-07-13 | forgot to add test_malloc.c | Andreas Baumann | |
remove buffer memory functions again (can be done with a simple cast in the caller) | |||
2017-07-13 | added a simple test for malloc/free | Andreas Baumann | |
added a memorymanager initilializer which works on a buffer instead on an offset (thus we can but the heap area also onto the stack for testing) added a kernel_stub module to test modules using kernel_panic (for now, maybe have a callback later) | |||
2017-07-13 | separated C library implementations with an OS_ABAOS define (for now), | Andreas Baumann | |
we cannot test stdio and memory management in the hosted environment yet this way | |||
2017-07-12 | removed test tasks | Andreas Baumann | |
2017-07-12 | added segment_size to vga mode structure, using for memcpy in Z buffer | Andreas Baumann | |
refreshing the video memory and when allocating the Z buffer | |||
2017-07-10 | VGA Z-buffer is now dynamically allocated and freed | Andreas Baumann | |
memory management can reuse the last pointer malloced if freed again | |||
2017-07-09 | added a ld entry option | Andreas Baumann | |
2017-07-09 | back to O0 no optimization | Andreas Baumann | |
2017-07-09 | fixed the vga_refresh bug. the problem is under optimization the | Andreas Baumann | |
code gets so fast that we get races in the task refershing the VGA screen. For now we fix also high CPU usage in idle tasks with a 'kernel_halt' (well, later a yield or a more clever task scheduler should help). This is a hacky solution for now.. | |||
2017-07-09 | setting exlicitely the CPU to a 486 in qemu | Andreas Baumann | |
2017-07-09 | made kernel boot with optimizations on (clang), reason where the | Andreas Baumann | |
use of MMX registers | |||
2017-07-08 | forgot to set the backpointer to the interrupt manager (interrupts_t) in the | Andreas Baumann | |
interrupt_handler_init_void (clang and O1 crashed it while initializing the empty interrupt vectors) | |||
2017-07-08 | small adaptions around kernel_entry (docu, boot loader) | Andreas Baumann | |
2017-07-08 | added dedicated kernel entry to avoid address reordering under compiler ↵ | Andreas Baumann | |
optimization affect the entry poin 0x8800 of kernel_main (now kernel_entry) | |||
2017-07-05 | removed unneded volatile for text VIDEO_MEMORY (we should add the reference ↵ | Andreas Baumann | |
to "volatile is always wrong" | |||
2017-07-05 | removed superfluous context in vga driver (was not used) | Andreas Baumann | |
added dummy methods and driver_init for anonymous driver initialization | |||
2017-07-05 | small fix around vga.h incusion | Andreas Baumann | |
2017-07-05 | tried to fix libc tests, currently they draw in too many dependencies | Andreas Baumann | |
and don't link. We have to separate libc better from the rest of the kernel code (kernel_panic, libc library initializers) | |||
2017-07-05 | 'mem' command shows memory usage of kernel heap now | Andreas Baumann | |
implemented a malloc/free and memory manager (simplest possible implementation, just allocating linearly and never freeing) | |||
2017-07-05 | fixed compilation errors due to unused variables | Andreas Baumann | |
2017-07-05 | some kernel code cleanup | Andreas Baumann | |
renamed 'proc' command to 'task' and make it show number of tasks and context switches | |||
2017-07-05 | fixed graphical screen refresh (a refreshScreen task) | Andreas Baumann | |
cleaned up code after interrupt_enable in main thread everything works again | |||
2017-07-04 | got scheduling of task A and B working (now graphics output and termination ↵ | Andreas Baumann | |
is broken) | |||
2017-07-02 | started to add task scheduling | Andreas Baumann | |
2017-07-02 | added ESC key in PS/2 keyboard driver | Andreas Baumann | |
allow pressing ESC in graphics mode to return to text mode | |||
2017-07-02 | simplified some driver manager code around calling virtual driver methods | Andreas Baumann | |
declared method tables const per class | |||
2017-07-02 | some more vtable initialization fixes | Andreas Baumann | |
2017-07-01 | do not call methods directly on desktop object, the desktop object could | Andreas Baumann | |
be derived, so go over the vtable (keyboard and mouse handlers in kernel.c) | |||
2017-07-01 | replaced some strange access to .base.base with casts of the class to the ↵ | Andreas Baumann | |
class needed to access the proper vtable | |||
2017-07-01 | got rid of superflous vtables in GUI class hierarchy | Andreas Baumann | |
2017-07-01 | fixed get_focus error in widget (called the wrong parent) | Andreas Baumann | |
the text widget reacts to mouse down and key events and appends text to the output buffer so we have text input in GUI mode | |||
2017-07-01 | tested with pcc, works | Andreas Baumann | |
removed some weird comments in vga_font.h troubling pcc | |||
2017-07-01 | added a preprocessor guard to vga_font.h | Andreas Baumann | |
2017-07-01 | added a strlcat | Andreas Baumann | |
2017-07-01 | restoring VGA text cursor in the right place | Andreas Baumann | |
2017-07-01 | readded -Werror and fixed some cast errors around memcpy | Andreas Baumann | |
2017-06-30 | almost got a complete mode switch (vga graphics back to text) working | Andreas Baumann | |
some cleanup in VGA driver code | |||
2017-06-30 | text widget has a constant buffer and owns the string to draw now | Andreas Baumann | |
(passing a const char * from a local stack context is not really a good idea!) added more efficiet draw method for characters in vga driver protected desktop for now against too often redraws (boolean global variable needs_redraw, this is later a soffisticated set-of-areas-to -redraw algorithm) | |||
2017-06-30 | playing with Z buffering in VGA driver | Andreas Baumann | |
2017-06-30 | added a third widget (for drawing fonts) | Andreas Baumann | |
fixed drawing races due to mouse interrupts | |||
2017-06-30 | added a VGA wait for retrace in graphics mode | Andreas Baumann | |
2017-06-30 | added a window to gui which is draggable by the mouse | Andreas Baumann | |
2017-06-29 | widget should be in kernel data section and not in local scopes of a stack | Andreas Baumann | |
2017-06-26 | nothing working in gui! | Andreas Baumann | |
2017-06-25 | fighting races and corrupted data on clang, funny behaviour on tcc, fine on ↵ | Andreas Baumann | |
gcc in desktop draw | |||
2017-06-25 | small unused variable fix | Andreas Baumann | |
2017-06-25 | we have a flickering mouse cursor and terrible redrawing of the desktop now :-) | Andreas Baumann | |
removed the font window for now, far too slow! | |||
2017-06-25 | put the mouse object into the global context so we can adjust the | Andreas Baumann | |
resolution when switching video modes | |||
2017-06-25 | fixed calculation of coordinates in text widget | Andreas Baumann | |