summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/devices.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add serial interface and a few std library functionsNao Pross2017-06-021-3/+3
| | | | | | | | | | | | 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-021-0/+13
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