Page 1 of 1

Conway's LIFE - my first programme

Posted: Sat Dec 27, 2014 5:36 am
by devo
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.
Life 16x16
Life 16x16
Life16_141227.png (8.83 KiB) Viewed 2347 times
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.

Re: Conway's LIFE - my first programme

Posted: Sun Dec 28, 2014 11:28 pm
by tormod
Congratulations! Nice what you can do with 163 bytes!

Re: Conway's LIFE - my first programme

Posted: Mon Dec 29, 2014 12:10 am
by Alastair
Well done, and it's nice to see someone getting some use out of the Demon monitor (since I am partly responsible for this site's image of the program :D ).

Re: Conway's LIFE - my first programme

Posted: Tue Dec 30, 2014 12:11 am
by Bosco
Great to see another MC enthusiast. :)

Keep up the good work!

Re: Conway's LIFE - my first programme

Posted: Tue Dec 30, 2014 11:46 pm
by sorchard
Nicely done! I'd be very pleased with myself if that was my first program :-)