CodeWalrus

CodeWalrus Website => Game, Software and Music Downloads => Games => Topic started by: SopaXorzTaker on October 02, 2016, 04:48:53 AM

Title: [TI-82] Conway's Game of Life
Post by: SopaXorzTaker on October 02, 2016, 04:48:53 AM
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!
(http://www.ticalc.org/cgi-bin/zipview?82/asm/games/crash/life.zip;life/screenshot.gif)

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 (http://www.ticalc.org/archives/files/fileinfo/468/46801.html).
The source code is hosted on GitHub: https://github.com/SopaXorzTaker/ti-life (https://github.com/SopaXorzTaker/ti-life).
Runs with CrASH.

Feel free to improve the game, and please give feedback! :)
Title: Re: Conway's Game of Life for the TI-82!
Post by: Dream of Omnimaga on October 02, 2016, 02:15:19 PM
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?
Title: Re: Conway's Game of Life for the TI-82!
Post by: kotu on October 02, 2016, 03:38:07 PM
Wish this ran on my calc
Title: Re: Conway's Game of Life for the TI-82!
Post by: 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.
Title: Re: Conway's Game of Life for the TI-82!
Post by: kotu on October 02, 2016, 03:40:36 PM
 8)
Title: Re: Conway's Game of Life for the TI-82!
Post by: SopaXorzTaker on October 02, 2016, 03:42:39 PM
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... :)
Title: Re: Conway's Game of Life for the TI-82!
Post by: Dream of 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
Title: Re: Conway's Game of Life for the TI-82!
Post by: SopaXorzTaker on October 02, 2016, 08:26:26 PM
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.
Title: Re: Conway's Game of Life for the TI-82!
Post by: Tander on October 03, 2016, 12:54:06 AM
How can I get this onto my calc?
Title: Re: Conway's Game of Life for the TI-82!
Post by: Tander on October 03, 2016, 12:59:46 AM
damn, this is for the 82. I only have an 83+
Title: Re: Conway's Game of Life for the TI-82!
Post by: c4ooo on October 03, 2016, 01:54:00 AM
/me 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.
Title: Re: Conway's Game of Life for the TI-82!
Post by: Dream of Omnimaga on October 03, 2016, 08:09:32 PM
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(.