As a next test I thought it would be interesting to implement the famous "Game of Life" cellular division simulation. I wrote it in 'C' and it didn't work at first, or so I thought. Well, it does work, but it renders about a frame per minute! My code is completely unoptimized and plus there is overhead from using C.
Each frame involves reading 73,728 pixels (128*64*9), and each read involves a multiplication, addition, modulus, many shifts, and an and. I could make it a bit faster I am sure, but this application is a bit tough on my little 6502!
The good news is that I have been letting it run for hours and it just keeps chugging along!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.