summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-29kfs: added an example as main() functionHEADmasterOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-29kfs: added the serial printOlivier Gayot
* 38400 bauds * 1 stop bit * no parity check * 8 bits words Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-29kfs: use a Makefile variable to control the graphics displayOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-29kfs: updated MakefileOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-11kfs: fixed the printing on the frame bufferOlivier Gayot
when clearing a line, we used to set the second byte to 0, which means black foreground on black background. Thus, it looked like nothing was written anymore afterwards. Fixed by setting the foreground to white. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-10kfs: fixed printkOlivier Gayot
every character to be displayed on the screen is two bytes long, not one Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-10kfs: fixed MakefileOlivier Gayot
* we removed the option -nographic to be able to display the framebuffer. * the execution of qemu is done as a body of a rule Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-10kfs: added the build systemOlivier Gayot
it includes a startup file written in assembly, the Makefile and a ld custom script meant to build link the kernel properly. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-10kfs: fixed compilation of src/main.cOlivier Gayot
multiple issues existed (mainly about cast) have been fixed. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-10kfs: move the source files to follow the arborescence askedOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-10-10kfs: implemented the onscreen printing systemOlivier Gayot
the function is prototyped this way: int printk(const char *string); the code has not been tested yet Signed-off-by: Olivier Gayot <duskcoder@gmail.com>