* 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: TI 84 plus program to TI 89  (Read 569 times)

0 Members and 1 Guest are viewing this topic.

Offline jpw579

  • New User
  • Join Date: Apr 2016
  • Location:
  • Posts: 2
  • Post Rating Ratio: +0/-0
    • View Profile
TI 84 plus program to TI 89
« on: April 11, 2016, 03:39:10 pm »
Hello I need help making a program from a TI 84 run on a TI 89. Can anyone familiar with the programming language tell me how to get it to work?

:Program : CPDT
:Disp: " Form 1 or 2"
:Input Y
:Prompt (A,B,C,D,L,U)
:If Y=1: fnInt(AE-3+BE-5x+CE-8X^2+DE-12X^3,X,L,U) sto H
:If y(does not equal to) 1:fnInt(AE-3+BE-5X+CE-8X^2,X,L,U) sto H
:Disp "DELTA H",H


Thanks so much



Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17500
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: TI 84 plus program to TI 89
« Reply #1 on: April 11, 2016, 03:48:49 pm »
Heya, I think @princetonlion.tibd or @Lionel Debroux might be able to help. I am not at home right now, so I can't help right now, but perhaps I could later if I remember my TI-89 basic. This program is definitively doable on the TI-89.

Welcome to the forums, by the way. :)
  • Calculators owned: TI-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 Lionel Debroux

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 215
  • Post Rating Ratio: +11/-0
    • debrouxl
    • 58/5891
    • View Profile
Re: TI 84 plus program to TI 89
« Reply #2 on: April 11, 2016, 04:17:12 pm »
I did TI-68k BASIC for less than a year, 15 years ago, and my latest (very small) TI-Basic program was made for school purposes, so no later than 8 years and a half ago. However, I agree that converting that program from TI-Z80 BASIC to TI-68k BASIC is straightforward, even if I can't do it right now :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

Offline jpw579

  • New User
  • Join Date: Apr 2016
  • Location:
  • Posts: 2
  • Post Rating Ratio: +0/-0
    • View Profile
Re: TI 84 plus program to TI 89
« Reply #3 on: April 11, 2016, 04:40:54 pm »
Thank you for the welcome :D. Any help yall could lend would be greatly appreciated.

Thanks
 jpw

Offline princetonlion.tibd

  • Super User
  • Safe-haven access
  • Join Date: Dec 2014
  • Location: Delta Quadrant
  • Posts: 513
  • Post Rating Ratio: +1/-0
  • Unimatrix 01
    • @UCLXex41AH9PHGALdRwweTqA
    • 113/11364
    • View Profile
    • Codewalrus
  • Gender: Male
Re: TI 84 plus program to TI 89
« Reply #4 on: April 12, 2016, 02:32:49 am »
I'll try when I have the time, hopefully in a few hours now.(It might be a bit sloppy, plus I haven't done 68k in a while)  And I don't know if V200 code style is the same as on the 89.


Code: [Select]
Local A,B,C,D,L,U,H
Disp" Form 1 or 2"
Input Y
Prompt A,B,C,D,L,U
If Y=1
nInt(AE-3+BE-5x+CE-8X^2+DE-12X^3,X,L,U) sto H
If y(does not equal to) 1
nInt(AE-3+BE-5X+CE-8X^2,X,L,U) sto H


:Disp "DELTA H",H

I couldn't find fnint. I think nint is the same thing. This is also probably the only actual code I've done in close to a year x.x[/size]
(I haven't tested the math part, but I think it works)[/size][size=0px][/font]

EDIT: Didn't notice it clumped in the code box.
« Last Edit: April 13, 2016, 01:07:42 am by princetonlion.tibd »
  • Calculators owned: TI-83+, TI-84 + CSE, Voyager 200, TI-Nspire
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)

Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17500
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: TI 84 plus program to TI 89
« Reply #5 on: April 12, 2016, 03:01:38 am »
So I tried converting the program to TI-89 format, but unfortunately I cannot find the equivalent of the fnInt() command on 68K calculators. Other than those commands, the code is very similar, though:

Code: [Select]
cpdt()
Prgm
Disp "Form 1 or 2"
Input Y
Prompt A
Prompt B
Prompt C
Prompt D
Prompt L
Prompt U

<????>

Disp "DELTA H",H
EndPrgm

Maybe this is the command that is needed? http://tibasicdev.wikidot.com/68k:integral But I think the fact the TI-89 is a CAS calculator might play a role in what answer you get, so it's better to be careful.
« Last Edit: April 12, 2016, 03:03:11 am by DJ Omnimaga »
  • Calculators owned: TI-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 princetonlion.tibd

  • Super User
  • Safe-haven access
  • Join Date: Dec 2014
  • Location: Delta Quadrant
  • Posts: 513
  • Post Rating Ratio: +1/-0
  • Unimatrix 01
    • @UCLXex41AH9PHGALdRwweTqA
    • 113/11364
    • View Profile
    • Codewalrus
  • Gender: Male
Re: TI 84 plus program to TI 89
« Reply #6 on: April 12, 2016, 03:04:20 am »
Maybe, the things I found on google when I searched "NInt TI-83+" say that Fnint is the same.
  • Calculators owned: TI-83+, TI-84 + CSE, Voyager 200, TI-Nspire
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)

Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17500
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: TI 84 plus program to TI 89
« Reply #7 on: April 12, 2016, 10:54:07 pm »
I'll try when I have the time, hopefully in a few hours now.(It might be a bit sloppy, plus I haven't done 68k in a while)  And I don't know if V200 code style is the same as on the 89.
I missed your post, but yes V200 code is the same as on the 89. Even ASM games might sometimes run on both, aside from screen size issues.
  • Calculators owned: TI-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