* 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: Calculator Programming Questions  (Read 2833 times)

0 Members and 1 Guest are viewing this topic.

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Calculator Programming Questions
« on: January 28, 2016, 12:10:42 am »
I was just wondering a couple things about calc programming.

- How come Axe cannot be used for color calculators?
- Could an ASM prgm on a TI-84+ run using the exact same code on a CE?
- What about basic?
- Technically, shouldn't the TI-84+ CE be able to display grayscale?
- What would happen if you sent a .8xp TI-BASIC prgm made on a TI-84 to a color calculator and tried to run it?
- How hard would porting be from the TI-84+ to a TI-84+ CE?


  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Online c4ooo

  • ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 912
  • Post Rating Ratio: +8/-2
  • ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    • View Profile
  • Gender: Male
Re: Calculator Programming Questions
« Reply #1 on: January 28, 2016, 12:18:39 am »
- How come Axe cannot be used for color calculators?
- Could an ASM prgm on a TI-84+ run using the exact same code on a CE?
- What about basic?
- Technically, shouldn't the TI-84+ CE be able to display grayscale?
- What would happen if you sent a .8xp TI-BASIC prgm made on a TI-84 to a color calculator and tried to run it?
- How hard would porting be from the TI-84+ to a TI-84+ CE?
-The CE and SE have different CPUs; the SE, CSE, and CE all have different methods for drawing to the screen. Axe will need to be rewritten to compile to the CSE or CE.
-No, once again, the two use diiferent CPUs
-Yes; if it pure basic
-You can display the colors white grey, as well as different shades of grey, but it is still different from how the lcd works on the regular ti84.
-Some aspects will look different, but it will 'work'.
-Porting asm or tibasic?
??? ??? ???
Working on a 3D game engine since 2014.

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Calculator Programming Questions
« Reply #2 on: January 28, 2016, 12:23:26 am »
Quote
-Porting asm or tibasic?

Both.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3155
  • Post Rating Ratio: +31/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • View Profile
    • quantuminfinity
  • Gender: Male
Re: Calculator Programming Questions
« Reply #3 on: January 28, 2016, 12:45:15 am »
The Ti-84+ CE's processor (ez80) is actually a kind of 24 bit processor. While most of the opcodes are the same it for example needs 24 bit addressing instead of 16 bit (ld hl, 0x1234 would be 0x21 0x34 0x12 on the Z80, but 0x21 0x34 0x21 0x00 on the eZ80).
Also axe cannot be used for the CSE because the OS's routines are different. You could probably write a patcher for it, but writing your own compiler would be easier...
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Calculator Programming Questions
« Reply #4 on: January 28, 2016, 01:48:16 am »
Oh, alright.
Can a TI-84+ Silver C and a TI-84+ CE run the same programs?
Or could a TI-84 SE and a TI-84 SC run the same programs?
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


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: 18179
  • Post Rating Ratio: +91/-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: Calculator Programming Questions
« Reply #5 on: January 28, 2016, 02:07:21 am »
@c4ooo sometimes it's not just the hardware differences that breaks ASM compatibility between calculators, but also TI-OS differences. Some memory areas change between each model, so all games and softwares requires some modifications to work on the new model and vice-versa. With the color models you also have to change how stuff is displayed on the different screen.

This is why TI-83 ASM programs will not work on the TI-83 Plus. This is a tutorial on getting programs to work between the 82, 83 and 83+ by the way, but it's old, so it doesn't exclude the color models. http://tifreakware.net/tutorials/multi/unification.html

BASIC games for the 83 will often run on the 83+ and CSE ones will run on the CE if they use no ASM libraries, because the language is nearly identical between both calcs and unlike ASM and Axe, it is interpreted and built into the OS. But picture format is different between color and monochrome models.
« Last Edit: January 28, 2016, 02:09:00 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 Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Calculator Programming Questions
« Reply #6 on: January 28, 2016, 02:17:36 am »
But what about ASM programs between the TI-84+ CE and TI-84+ Silver C? Are they the same, like ticalc.org implies?

EDIT: :walrii:
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2757
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • View Profile
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: Calculator Programming Questions
« Reply #7 on: January 28, 2016, 02:20:54 am »
But what about ASM programs between the TI-84+ CE and TI-84+ Silver C? Are they the same, like ticalc.org implies?
The ASM programs are not the same, but the BASIC ones are, as long as the BASIC ones don't require Doors CSE
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Calculator Programming Questions
« Reply #8 on: January 28, 2016, 03:14:51 am »
I guess I'm getting a TI-84+ CE then. :P
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Calculator Programming Questions
« Reply #9 on: February 01, 2016, 04:30:39 pm »
To port something like Line++ to the CE that I just got yesterday, what would need to be changed in the code, or would a rewrite be required? If anyone could help me, this could be my first coding project.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • Gender: Male
Re: Calculator Programming Questions
« Reply #10 on: February 01, 2016, 04:31:41 pm »
Well Line++ is written in Axe and Axe isn't available for the CE so yes you would need to rewrite it :/
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

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: 18179
  • Post Rating Ratio: +91/-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: Calculator Programming Questions
« Reply #11 on: February 01, 2016, 04:34:06 pm »
Yeah and I doubt hybrid BASIC would be fast enough for such game (scrolling-wise). You would need to do it in C unless you don't mind only getting a few frames per second. Perhaps it could be adapted to hybrid BASIC once DCE comes out by having the screen only scroll once you reach the top, like in Super Mario Bros 2 USA, but such game would still be hard to make anyway.
  • 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 Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Calculator Programming Questions
« Reply #12 on: February 01, 2016, 04:35:09 pm »
Oh.
:P
I wonder how that Mario for the CE is going?
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline SiphonicSugar

  • Full User
  • Join Date: Jun 2015
  • Location: Tennessee, United States
  • Posts: 249
  • Post Rating Ratio: +1/-1
  • Inspiration
    • siphonicsugar
    • @SiphonicSugar
    • SiphonicS
    • View Profile
  • Gender: Male
Re: Calculator Programming Questions
« Reply #13 on: February 01, 2016, 10:14:28 pm »
Yeah and I doubt hybrid BASIC would be fast enough for such game (scrolling-wise). You would need to do it in C unless you don't mind only getting a few frames per second. Perhaps it could be adapted to hybrid BASIC once DCE comes out by having the screen only scroll once you reach the top, like in Super Mario Bros 2 USA, but such game would still be hard to make anyway.
Wait, what's that?
  • Calculators owned: TI-89, TI-84 Plus, TI-92, TI-84 Plus C SE, and TI-Nspire CAS with Touchpad
I'm just trying to grab some inspiration. :P

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • Gender: Male
Re: Calculator Programming Questions
« Reply #14 on: February 02, 2016, 02:45:29 am »
If you are wondering what Hybrid basic is, it is Ti-BASIC but with Asm code in it to make it mush faster. You can also use libraries. Anyone can correct me if I am wrong since I have never really used it :P
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

 


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