summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fixed typo in usart.h and in docNao Pross2017-06-161-1/+1
|
* add port interface header, api still to implementNao Pross2017-06-103-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.
* add serial interface and a few std library functionsNao Pross2017-06-027-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
* add serial device structNao Pross2017-05-024-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
* fix for sdcc makefileNao Pross2017-05-021-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).
* switch to sdccNao Pross2017-05-022-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