Conway's LIFE - my first programme
Posted: Sat Dec 27, 2014 5:36 am
Season's Greetings to you all.
Here is a minimal implementation of Conway's Life inspired by Toni Baker's Z80 version in Mastering Machine Code On Your ZX Spectrum.
I post it not because it represents any great technical achievement in comparison to what the very talented people on this forum can do, but because it is my first 'real' programme in any language, ever! Getting Life to work became a bit of an obsession over many months. It shows what you can do when you enjoy learning something new and don't give up.
To run: EXEC &H4000
Sorry, no elegant exit, you have to reset to start again.
To others just starting out with assembly programming on the Dragon, I found Ciaran Anscomb's very good asm6809 assembler (as well as his excellent XRoar, of course) with Demon monitor (DASM-Demon rom version) plus Vim editor on Linux work very well together.
Here is a minimal implementation of Conway's Life inspired by Toni Baker's Z80 version in Mastering Machine Code On Your ZX Spectrum.
I post it not because it represents any great technical achievement in comparison to what the very talented people on this forum can do, but because it is my first 'real' programme in any language, ever! Getting Life to work became a bit of an obsession over many months. It shows what you can do when you enjoy learning something new and don't give up.
To run: EXEC &H4000
Sorry, no elegant exit, you have to reset to start again.
To others just starting out with assembly programming on the Dragon, I found Ciaran Anscomb's very good asm6809 assembler (as well as his excellent XRoar, of course) with Demon monitor (DASM-Demon rom version) plus Vim editor on Linux work very well together.