summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/pio.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* new structure for process management, structures to discussNao Pross2017-07-041-35/+0
| | | | | | | | | | | | | | 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
* add port interface header, api still to implementNao Pross2017-06-101-5/+22
| | | | | | 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-021-0/+18
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