Alternatively, join us on Discord.

[TI-82] Conway's Game of Life

Started by SopaXorzTaker, October 02, 2016, 04:48:53 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SopaXorzTaker

October 02, 2016, 04:48:53 am Last Edit: January 15, 2017, 05:47:27 pm by DJ Omnimaga
Hi!
I probably was the first to write an assembly game for the TI-82 in 4 years and it's my first program in Z80 assembly!
But anyway, here's my implementation of Conway's Game of Life!


The controls are pretty simple:
Use [MODE] to pause the  simulation to allow you to edit the cells.
Use [ENTER] to toggle the cell at the cursor.
Use the arrow keys to move the cursor.
Use [X,T,[tex]\theta[/tex]] to single-step the simulation.
Use [DEL] to reset all the cells.
Use [CLEAR] to exit the game.

It's on ticalc.org: http://www.ticalc.org/archives/files/fileinfo/468/46801.html.
The source code is hosted on GitHub: https://github.com/SopaXorzTaker/ti-life.
Runs with CrASH.

Feel free to improve the game, and please give feedback! :)

DJ Omnimaga

Nice to see you gotvyour first ASM program done. :) It's also the first CGOL to use the homescreen :P. Do you know if it will run on ROM 16.0?

kotu

SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

SopaXorzTaker

Quote from: DJ Omnimaga on October 02, 2016, 02:15:19 pm
Do you know if it will run on ROM 16.0?


Yes, I am pretty sure it will as CrASH supports most ROM versions.

kotu

SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

SopaXorzTaker

Quote from: kotu on October 02, 2016, 03:38:07 pm
Wish this ran on my calc


Ask someone like @Sorunome to port it! It's going to be very easy, if only I had a -83 or -84... :)

DJ Omnimaga

Quote from: SopaXorzTaker on October 02, 2016, 03:39:40 pm
Quote from: DJ Omnimaga on October 02, 2016, 02:15:19 pm
Do you know if it will run on ROM 16.0?


Yes, I am pretty sure it will as CrASH supports most ROM versions.
Yeah but Robot War was for CrASH too and it only rab ob ROM 19.0+ :P

SopaXorzTaker

Quote from: DJ Omnimaga on October 02, 2016, 04:10:12 pm
Quote from: SopaXorzTaker on October 02, 2016, 03:39:40 pm
Quote from: DJ Omnimaga on October 02, 2016, 02:15:19 pm
Do you know if it will run on ROM 16.0?


Yes, I am pretty sure it will as CrASH supports most ROM versions.
Yeah but Robot War was for CrASH too and it only rab ob ROM 19.0+ :P

That's probably because of different ROM calls. My program uses only the common ones, so I am sure it will work for you.

Tander


Tander

damn, this is for the 82. I only have an 83+

c4ooo

* c4ooo brings Tander's attention to the "modify" button ;)

To answer your question though, when you download .8xp, you can then send them to your calc with the proper cable and TI's TI Connect program.

DJ Omnimaga

I still remember back when MirageOS had experimental TI-82 emulation, but I don't think anyone ever got it to work. There also used to be some TI-82 shell that played TI-83 games but I forgot how that worked. IIRC, both required recompiling the programs for the other model, so in other words, it was not true emulation. Anyway, this game is in ASM, so it would need to be modified in order to run on newer models. BASIC games can work if you copy the code from a TI-82 editor to a TI-83 Plus one, but some commands such as sin might need to be fixed, since the 83 and higher changes sin to sin(.

Powered by EzPortal