davidgiven / cpm65

CP/M for the 6502
BSD 2-Clause "Simplified" License
267 stars 23 forks source link

Conway's Game of Life for CP/M-65 #76

Closed venomix666 closed 9 months ago

venomix666 commented 9 months ago

Implementation of Conway's game of life using the screen driver. Tested on my own computer build which I am porting CP/M-65 to, and on emulated BBC Micro.

davidgiven commented 9 months ago

Excellent, thank you!

Just a few notes on looking at the code:

venomix666 commented 9 months ago

I thought about using screen_putstring as well, but I got some odd results when trying to use it from C, and I did not have time to investigate it further. It seems like the pointer does not make it to the BIOS in the expected fashion, but I could be mistaken as I have not looked too much at it.

Constants for cursor keys would be useful!