summaryrefslogtreecommitdiffstats
path: root/sw (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-23update cpld files from VHDL dev machine and delete programmer code (unused)Nao Pross116-2451/+5536
2017-11-14Improvements in PIO driver, pio test rewritten in inline asmNao Pross7-259/+68
2017-11-09Update makefile, and bug fix in pio driver and usartNao Pross19-34/+532
2017-10-19Got a real rom programmer, this code is still broken but I don't careNao Pross7-46/+119
2017-10-19Fix for PIO driver and its test and deletes build filesNao Pross40-3373/+152
2017-10-05Move test units to z80/tests, and drivers are now statically linkedNao Pross61-1268/+907
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.
2017-10-05Test units are now in their own folder 'z80_test', add programmer cli interfaceNao Pross54-347/+3769
2017-09-10partial implementation for ctc drivers and memory managementNao Pross8-97/+53
2017-09-07z80_test cleanup and makefile correctionsNao Pross3-93/+13
2017-09-07minor bug fix for ROM programmerNao Pross4-33/+18
2017-08-31macro fixatlasleleraffa97@hotmail.it2-10/+10
2017-08-31Some untracked files from last commitleleraffa97@hotmail.it4-5/+520
2017-08-31File system interfaceleleraffa97@hotmail.it13-90/+473
Basic file system implementation Path resolution work in progress
2017-08-28add test program for z80Nao Pross12-10/+463
2017-08-26update gitignore to ignore sdcc outputNao Pross16-1235/+0
2017-08-26time to inodeleleraffa97@hotmail.it1-0/+2
2017-08-26File system initializationleleraffa97@hotmail.it26-135/+1480
Simple I/O (sio) interfaced, not yet implemented
2017-08-25implements pio.h functions and makefile update to optimize sizeNao Pross12-66/+238
- remove syscall.h, unused and not implemented - bug fix for memcmp() in string.c other changes are still partially unfinished and might not work
2017-08-23Filesystem struct orderleleraffa97@hotmail.it2-22/+79
2017-08-23new programmer interface for linuxNao Pross12-99/+234
there is a new program with GUI (gtk3) to send data to its avr conterpart. it needs to be tested, since there may be a few bugs in it; building a GUI was a terrible idea.
2017-08-07implementation for avr programmerNao Pross17-0/+356
the programmer will receive the binary in blocks of defined size by a program under sw/programmer/linux (moved from sw/linux).
2017-08-01filesystem structure intro and docsNao Pross9-17/+106
- 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
2017-07-04new structure for process management, structures to discussNao Pross26-969/+328
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
2017-06-23Order and update of the structleleraffa97@hotmail.it10-218/+260
Separation of boot and login sections Improuved program manager system
2017-06-19libc memset, memcmpHEADmasterleleraffa97@hotmail.it5-24/+61
boot improved program allocation
2017-06-19Authentication sectionleleraffa97@hotmail.it4-0/+80
Programs management
2017-06-16new components list and cpld test unitNao Pross34-46/+773
2017-06-16fixed typo in usart.h and in docNao Pross1-1/+1
2017-06-15Boot loader structures (WORK IN PROGRESS)leleraffa97@hotmail.it4-0/+194
Some Program manager structures, macros and functions (WORK IN PROGRESS)
2017-06-10add port interface header, api still to implementNao Pross3-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.
2017-06-02add serial interface and a few std library functionsNao Pross11-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
2017-05-04Kernel memory mapping setupleleraffa97@hotmail.it9-7/+509
2017-05-03new file coding_rules.txt to have a consistent coding styleNao Pross1-0/+120
2017-05-02add serial device structNao Pross6-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
2017-05-02sysio.h libc interfaceleleraffa97@hotmail.it1-0/+0
2017-05-02Basic sys io setupleleraffa97@hotmail.it1-0/+55
2017-05-02fix for sdcc makefileNao Pross4-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).
2017-05-02switch to sdccNao Pross9-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
2017-04-13switch from GAL (pld) to M4 32/32 CPLDNao Pross19-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
2017-03-25added missing makefile for z80 and fixed gitignoreNao Pross1-0/+27
2017-03-25added missing makefile for z80 and fixed gitignoreNao Pross1-0/+27
2017-03-23created bios/kernel source code structureNao Pross6-0/+98
2017-03-17hardware nearly finishedNao Pross6-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
2017-03-05sw: started to implement serial on linux sideNao Pross3-0/+46
2017-02-14sw: copied flash tool source from gameboymodNao Pross10-0/+417