summaryrefslogtreecommitdiffstats
path: root/sw (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-0211-90/+336
| | | | | | | | | | | | 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
* new file coding_rules.txt to have a consistent coding styleNao Pross2017-05-031-0/+120
|
* add serial device structNao Pross2017-05-026-14/+104
| | | | | | | | | 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
* sysio.h libc interfaceleleraffa97@hotmail.it2017-05-021-0/+0
|
* Merge remote-tracking branch 'origin/naopross' into atlasleleraffa97@hotmail.it2017-05-0229-397/+773
|\
| * fix for sdcc makefileNao Pross2017-05-024-32/+122
| | | | | | | | | | | | 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).
| * Merge branch 'master' into naoprossNao Pross2017-05-029-101/+62
| |\
| | * switch to sdccNao Pross2017-05-029-101/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * added missing makefile for z80 and fixed gitignoreNao Pross2017-03-251-0/+27
| | |
| * | switch from GAL (pld) to M4 32/32 CPLDNao Pross2017-04-1319-296/+621
| | | | | | | | | | | | | | | | | | add M4 32/32 CPLD datasheet new VHDL code with better control over the address space thanks to the M4 which has a 16 bit input port
* | | Basic sys io setupleleraffa97@hotmail.it2017-05-021-0/+55
|/ /
* | added missing makefile for z80 and fixed gitignoreNao Pross2017-03-251-0/+27
|/
* created bios/kernel source code structureNao Pross2017-03-236-0/+98
|
* hardware nearly finishedNao Pross2017-03-176-0/+296
| | | | | | | | | | | | | doc: added datasheets for - GAL16V8 - MAX214 - MAX232 added script to build doc under windows with miktex updated notes hw: finished i/o devices and bus viewer sw: created files for pld programming
* sw: started to implement serial on linux sideNao Pross2017-03-053-0/+46
|
* sw: copied flash tool source from gameboymodNao Pross2017-02-1410-0/+417