Assign a certain position to an object or a variable?

  • Thread starter Thread starter JamesU
  • Start date Start date
  • Tags Tags
    Position Variable
Click For Summary

Discussion Overview

The discussion revolves around how to assign a position to an object or variable in the context of programming a game on a calculator, specifically using assembly language or C. Participants explore the technical aspects of programming on different models of Texas Instrument calculators.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant seeks guidance on assigning a position to a character in a game being developed for a calculator using assembly language.
  • Another participant questions the choice of programming language and suggests that focusing on one language may be more beneficial for skill development.
  • There is a discussion about the different assembly languages used by various Texas Instrument calculators, specifically Z80 ASM for older models and 68k ASM for newer ones.
  • Participants clarify that the TI-89 and later models have a C compiler available, which is not widely known by all users.
  • Links to resources and examples of games written in C for the TI-89 are provided, indicating that most modern games for this calculator are developed in C.
  • There is confusion regarding the process of writing and compiling C programs for the calculator, with some participants clarifying that compilation must occur on a computer before transferring the program to the calculator.
  • One participant expresses uncertainty about the functionality of their setup, specifically regarding the absence of a key that is mentioned in the context of using virtual TI software.

Areas of Agreement / Disagreement

Participants express differing levels of familiarity with programming on calculators, and there is no consensus on the best approach to take for game development. Some participants agree on the existence of a C compiler for the TI-89, while others are unsure or unaware of its capabilities.

Contextual Notes

There are limitations in understanding the specific requirements for programming on different calculator models, as well as the need for clarity on the compilation process and the tools available for testing applications.

JamesU
Gold Member
Messages
828
Reaction score
3
how could I assign a certain position to an object or a variable? I'm trying to make a game on my calc., and it uses an form of assembly. I want some keys to be able to move my charachter (which is an X)
 
Computer science news on Phys.org
So is ASM the flavor of the week? Why don't you actually settle on ONE language and do something useful with it. Jumping around from language to language isn't going to make you a better programmer. Ever heard of the expression: jack of all trades but master of none?

ASM in itself comes in many flavors based on the processor used. On the Texas Instrument calculators anything before the TI89 is Z80 ASM while the TI89 and greater is 68k ASM. If your have a TI89 or higher they actually have a C compiler that targets the processor.

Which calculator do you have?
 
does the 83/84 have the same proc type in it? the 83 came out with the 89, and the 84 is the new 83 type modle
 
The 83/84/85/86 all use the Z80
The 89/92 use the 68k
 
I have a TI-89 Titanium. I've never heard of a C compiler on it :confused:
 
Do I just write the C in the program editor? or do I have to change something first?
 
No, you have to compile the C program on your computer and then send it to your calculator.
 
um...what?
 
  • #10
yomamma said:
um...what?
If you have virtual TI all you have to do is hit F10 select your compiled app and that's it... simple.
 
  • #11
I don't have an F10. :frown:
 

Similar threads

Replies
1
Views
2K
Replies
29
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K