* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Conway's Game of Life  (Read 1604 times)

0 Members and 1 Guest are viewing this topic.

Offline SopaXorzTaker

  • Full User
  • Join Date: Sep 2016
  • Location:
  • Posts: 21
  • Post Rating Ratio: +3/-0
  • I like electronics.
    • @SopaXorzTaker
    • /u/SopaXorzTaker
    • SopaXorzTaker
  • Gender: Male
Conway's Game of Life
« 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!


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,\theta] 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! :)
« Last Edit: January 15, 2017, 05:47:27 pm by DJ Omnimaga »


  • Calculators owned: TI-84+CE, TI-82, fx-991ES

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #1 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?
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline kotu

  • -< \'V/,,,
  • Super User
  • Join Date: Aug 2016
  • Location: don't panic
  • Posts: 1160
  • Post Rating Ratio: +7/-11
  • woah
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #2 on: October 02, 2016, 03:38:07 pm »
Wish this ran on my calc
  • 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

Offline SopaXorzTaker

  • Full User
  • Join Date: Sep 2016
  • Location:
  • Posts: 21
  • Post Rating Ratio: +3/-0
  • I like electronics.
    • @SopaXorzTaker
    • /u/SopaXorzTaker
    • SopaXorzTaker
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #3 on: October 02, 2016, 03:39:40 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

Offline kotu

  • -< \'V/,,,
  • Super User
  • Join Date: Aug 2016
  • Location: don't panic
  • Posts: 1160
  • Post Rating Ratio: +7/-11
  • woah
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #4 on: October 02, 2016, 03:40:36 pm »
 8)
  • 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

Offline SopaXorzTaker

  • Full User
  • Join Date: Sep 2016
  • Location:
  • Posts: 21
  • Post Rating Ratio: +3/-0
  • I like electronics.
    • @SopaXorzTaker
    • /u/SopaXorzTaker
    • SopaXorzTaker
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #5 on: October 02, 2016, 03:42:39 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

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #6 on: October 02, 2016, 04:10:12 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-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline SopaXorzTaker

  • Full User
  • Join Date: Sep 2016
  • Location:
  • Posts: 21
  • Post Rating Ratio: +3/-0
  • I like electronics.
    • @SopaXorzTaker
    • /u/SopaXorzTaker
    • SopaXorzTaker
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #7 on: October 02, 2016, 08:26:26 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

Offline Tander

  • New User
  • Join Date: Oct 2016
  • Location:
  • Posts: 5
  • Post Rating Ratio: +0/-0
  • Lvl 9000 WIzard
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #8 on: October 03, 2016, 12:54:06 am »
How can I get this onto my calc?

Offline Tander

  • New User
  • Join Date: Oct 2016
  • Location:
  • Posts: 5
  • Post Rating Ratio: +0/-0
  • Lvl 9000 WIzard
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #9 on: October 03, 2016, 12:59:46 am »
damn, this is for the 82. I only have an 83+

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 1016
  • Post Rating Ratio: +12/-4
  • Advanced forumer
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #10 on: October 03, 2016, 01:54:00 am »
* 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.

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Conway's Game of Life for the TI-82!
« Reply #11 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(.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games