summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-01filesystem structure intro and docsNao Pross8-17/+105
- 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
2017-07-04new structure for process management, structures to discussNao Pross17-455/+315
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
2017-06-23Order and update of the structleleraffa97@hotmail.it10-218/+260
Separation of boot and login sections Improuved program manager system
2017-06-19libc memset, memcmpHEADmasterleleraffa97@hotmail.it3-24/+31
boot improved program allocation
2017-06-19Authentication sectionleleraffa97@hotmail.it4-0/+80
Programs management
2017-06-16fixed typo in usart.h and in docNao Pross1-1/+1
2017-06-15Boot loader structures (WORK IN PROGRESS)leleraffa97@hotmail.it4-0/+194
Some Program manager structures, macros and functions (WORK IN PROGRESS)
2017-06-10add port interface header, api still to implementNao Pross3-25/+31
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.
2017-06-02add serial interface and a few std library functionsNao Pross7-90/+292
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
2017-05-02add serial device structNao Pross4-5/+102
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
2017-05-02fix for sdcc makefileNao Pross1-0/+2
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).
2017-05-02switch to sdccNao Pross2-0/+19
- 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