Hi,
I started developing an OS called ados for the x86 and also wrote extra code for using it on the NES (Nintendo Entertainment System, 6502 processor.)
Features are :
. task management
. character read-only printing
. ATAPI read master and slave devices (NES)
. malloc, memset, memcpy
. screen and other latches with some support code
libc.rogue provided at https://github/v-zor/libc.rogue (derived from OpenBSD.)
It runs in QEMU-i386 and is available here : https://sf.net/projects/ados-os
The NES version is at http://sf.net/projects/ados-os-nes and is the main development area at this time of writing. It uses the cc65 compiler.
Have fun with it,
erana