Conway's LIFE - my first programme

Hardware Hacking, Programming and Game Solutions/Cheats
Post Reply
devo
Posts: 30
Joined: Mon May 13, 2013 10:19 am
Location: Canberra, Australia

Conway's LIFE - my first programme

Post 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 2645 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.
Attachments
Life16.zip
Life16 source and binary
(2.12 KiB) Downloaded 173 times
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: Conway's LIFE - my first programme

Post by tormod »

Congratulations! Nice what you can do with 163 bytes!
Alastair
Posts: 629
Joined: Fri Jul 18, 2008 11:33 pm

Re: Conway's LIFE - my first programme

Post 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 ).
User avatar
Bosco
Posts: 302
Joined: Tue Mar 04, 2014 11:49 pm
Location: Nottingham, UK

Re: Conway's LIFE - my first programme

Post by Bosco »

Great to see another MC enthusiast. :)

Keep up the good work!
sorchard
Posts: 458
Joined: Sat Jun 07, 2014 9:43 pm
Location: Norwich UK

Re: Conway's LIFE - my first programme

Post by sorchard »

Nicely done! I'd be very pleased with myself if that was my first program :-)
Stew
Post Reply