I spent some hours coding up the Chip-8 interpreter and got most of it implemented very easily.
But I still have to take care of the problem with the Chip-8 applications running from flash, thus preventing the applications to use unused parts of the 4K area as extra variable storage. Basically I just have to implement a lookup table pointing to the PIC's SRAM area and use that whenever a read/write to the Chip-8 area is detected. This is probably a few hours of coding and debugging - but that's things one have to accept when selecting the "wrong" hardware for a project. :-)
This is the classic MAZE demo running:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
That's some old stuff man.
Are you sure? yes | no
sure is.... Of you actually every used a computer with chip-8 when is was invented you'd have a gray beard by now since you would be at least 50 years old... ;-)
Are you sure? yes | no
Awesome! btw there's a very interesting book on this maze: http://10print.org/
Are you sure? yes | no
Nice! Downloaded for reading next weekend when I'm flying down to Kuala Lumpur. Will have some hours at the airport and another two at the flight to kill.... Thanks.
Are you sure? yes | no
cool
Are you sure? yes | no
Wow, that maze is pretty cool for a mere 64x32!
Are you sure? yes | no
Not only that. Whats really amazing is that it's only 15 lines of Chip-8 code plus 8 bytes of of graphic images! They for sure knew how to make a lot with little back 30-40 years ago. The entire Chip-8 interpreter code fit into 512 bytes of Cosmac 1802....
https://github.com/badlogic/chip8/blob/master/roms/sources/MAZE.SRC
Are you sure? yes | no
Very cool, thanks! I implemented it in C just now, doesn't look nearly as cool in ascii ;p
Are you sure? yes | no