Join us on Discord!
You can help CodeWalrus stay online by donating here.

[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

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! :)
  • Calculators owned: TI-84+CE, TI-82, fx-991ES

Dream of 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?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

kotu

  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
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.
  • Calculators owned: TI-84+CE, TI-82, fx-991ES

kotu

  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
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... :)
  • Calculators owned: TI-84+CE, TI-82, fx-991ES

Dream of 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
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

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.
  • Calculators owned: TI-84+CE, TI-82, fx-991ES

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.

Dream of 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(.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal