summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move test units to z80/tests, and drivers are now statically linkedNao Pross2017-10-058-335/+156
| | | | | | | | Makefiles for the test units were getting messier, so now drivers (that need to be tested) are statically compiled in their own folder under z80/drivers. The kernel makefile and is now broken since everything has been moved.
* Test units are now in their own folder 'z80_test', add programmer cli interfaceNao Pross2017-10-054-8/+17
|
* Merge remote-tracking branch 'origin/atlas' into naoprossNao Pross2017-09-1016-103/+1002
|\
| * macro fixatlasleleraffa97@hotmail.it2017-08-312-10/+10
| |
| * Some untracked files from last commitleleraffa97@hotmail.it2017-08-314-5/+520
| |
| * File system interfaceleleraffa97@hotmail.it2017-08-3113-90/+473
| | | | | | | | | | Basic file system implementation Path resolution work in progress
* | partial implementation for ctc drivers and memory managementNao Pross2017-09-107-11/+53
| |
* | merge remote-tracking branch 'origin/atlas' into naoprossNao Pross2017-08-269-78/+161
|\ \ | |/
| * time to inodeleleraffa97@hotmail.it2017-08-261-0/+2
| |
| * File system initializationleleraffa97@hotmail.it2017-08-269-135/+159
| | | | | | | | Simple I/O (sio) interfaced, not yet implemented
| * Filesystem struct orderleleraffa97@hotmail.it2017-08-232-22/+79
| |
* | implements pio.h functions and makefile update to optimize sizeNao Pross2017-08-257-54/+70
|/ | | | | | | - remove syscall.h, unused and not implemented - bug fix for memcmp() in string.c other changes are still partially unfinished and might not work
* filesystem structure intro and docsNao Pross2017-08-018-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
* new structure for process management, structures to discussNao Pross2017-07-0417-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
* Order and update of the structleleraffa97@hotmail.it2017-06-2310-218/+260
| | | | | Separation of boot and login sections Improuved program manager system
* libc memset, memcmpHEADmasterleleraffa97@hotmail.it2017-06-193-24/+31
| | | | | boot improved program allocation
* Merge branch 'master' of github.com:NaoPross/z80uPC into atlasleleraffa97@hotmail.it2017-06-197-6/+311
|\ | | | | | | Serial updates from NaoPross
| * 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
* | Authentication sectionleleraffa97@hotmail.it2017-06-194-0/+80
| | | | | | | | Programs management
* | Boot loader structures (WORK IN PROGRESS)leleraffa97@hotmail.it2017-06-154-0/+194
|/ | | | Some Program manager structures, macros and functions (WORK IN PROGRESS)
* 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