| Commit message (Collapse) | Author | Files | Lines |
|
|
|
Makefiles for the test units were getting messier, so now drivers
(that need to be tested) are statically compiled in their own
folder under z80/drivers.
The kernel makefile and is now broken since everything has been moved.
|
|
|
|
|
|
|
|
|
|
Basic file system implementation
Path resolution work in progress
|
|
|
|
Simple I/O (sio) interfaced, not yet implemented
|
|
- remove syscall.h, unused and not implemented
- bug fix for memcmp() in string.c
other changes are still partially unfinished and might not work
|
|
|
|
- new type pid_t and program management mechanism to make it
easier to switch to a multitasking kernel
- new memory related functions in memory.h to move, copy and
manage pages
- fix typos
|
|
the idea behind kernel/include/progman.h was good but the implementation was
very not unix-like, so I made a new file under
kernel/include/process.h that will implement the same features
other changes:
- move usart register structs definitions outside of the device
- remove old build files
- delete boot.h and boot_loader.h (as they weren't used by anything)
- change on makefile to build binary with `makebin` instead of `xxd`
- new file memory.h to implement memory mapping and mmu control
- new type `uint` in types.h
|
|
Separation of boot and login sections
Improuved program manager system
|
|
boot improved
program allocation
|
|
Programs management
|
|
|
|
Some Program manager structures, macros and functions (WORK IN PROGRESS)
|
|
fix for bug in usart.c, in function usart_write() that checked the
trasmission_empty register at the wrong time causing it to overwrite
the buffer.
|
|
changes in usart:
- new functions to setup the serial comunication settings such as baudrate,
parity and stop bits
- init function with most common values
- transmit and receive functions each with a wrapper to send data blocks
changes in libc:
- new file stdio.c with basic implementation of putch, printf still a prototype
- new file string.c with memcpy() function
|
|
other changes:
- change from main() to kmain() in crt0.s and kernel.c
- new file devices.h to define all address locations for devices
- new data type
- register_t as volatile uint8_t for registers in devices
- size_t from libc
|
|
fix for the old makefile, because it could't compile more than one source file.
new libc directory with mem.c to start implementing the standard C library
(or at least the part we need).
|
|
- update of the makefile to use sdcc, since it is more popular and
it's easier to insall on other computers
- fix of crt0.s (old loader.asm) for the new compiler
- change of the structure in the source code folder to separate
betweeen libc and kernel code
|