ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Community :: Surveys :: Do you write programs with graphics for your TI calculator?
Error!
Failed to query database!

Re: Do you write programs with graphics for your TI calculator?
lifeiscalc Account Info

First post!
I program in BASIC during math class because I am not allowed to use my laptop, but otherwise I use C.

Reply to this comment    17 May 2006, 01:24 GMT

Re: Re: Do you write programs with graphics for your TI calculator?
LonePhoenix  Account Info
(Web Page)

it's all about xLIB and hand-drawn graphics XD

Reply to this comment    17 May 2006, 02:43 GMT


Re: Re: Re: Do you write programs with graphics for your TI calculator?
Spellshaper Account Info

Yeah it is B)
xLib is teh bummer!

I personally like the use of Asm-utilities with Basic.
Easy and safe (basic) + fast and furious (Asm)
That's the key to fast developed good ames :)
(Ok, you also need a hell lotta time XD)

Reply to this comment    17 May 2006, 19:20 GMT


Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Peter Fernandes  Account Info
(Web Page)

"Easy and safe (basic) + fast and furious (Asm)"-->>Uh...you mean by combining the "speed" of BASIC with the reliable "stability" of ASM? Oh, and nothing is fast on the z80 calcs. :)

"That's the key to fast developed good [g]ames :)"
*cough*Phoenix*cough*

Reply to this comment    17 May 2006, 20:15 GMT


Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
something1990 Account Info

He's right. The expression "A chain is as strong as its weakest link" could be applied to this situation. Xlib may provide qucik (strong) Asm routines but despite this, BASIC is still slow (weakest link).

Reply to this comment    22 May 2006, 19:46 GMT


Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Kevin Ouellet Account Info
(Web Page)

I would rephrase it into

"BASIC+xLIB is the key for developping fast enough games on z80 calcs without programming ASM"

that apply to right now tho, imagine if someone wrote a good C compiler for z80 calcs ^^

Reply to this comment    26 May 2006, 00:28 GMT


Re: Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Snave2000  Account Info
(Web Page)

Such a compiler does exist, called "C-Compiler for z80-calculators". It utilizes SDCC, a small device C compiler.

However, I would direct your attention to BZC instead (see link). Of course, I'm somewhat biased as one of the developers of this project, but I think that BASIC ASM (the new language we invented) is the way to go...

Reply to this comment    26 May 2006, 22:19 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Kevin Ouellet Account Info
(Web Page)

yeah i saw your comment below, sound nice, i hope it doesnt crash too much tho :P I would like to try this someday for making non rpg games

Reply to this comment    27 May 2006, 01:33 GMT

Re: Re: Do you write programs with graphics for your TI calculator?
Tyler C  Account Info
(Web Page)

Yes, its all about the 4-color Graphics being drawn on the computer than placed into C or GNU Asm Data Files :D

Reply to this comment    17 May 2006, 16:42 GMT


Re: Re: Do you write programs with graphics for your TI calculator?
Matt M Account Info

where's the option for "I would if I could"

Reply to this comment    22 May 2006, 19:53 GMT


Re: Re: Re: Do you write programs with graphics for your TI calculator?
yellowPig Account Info

Why wouldn't you be able to?

Reply to this comment    23 May 2006, 20:46 GMT

Re: Do you write programs with graphics for your TI calculator?
Chipmaster  Account Info

I generally use ASM for graphical programs. After all, you really can't make nearly as good graphical programs in BASIC as you can with ASM. And before anyone points out XLib XLib Revolution or something of the like, I would like to point out that they use ASM libraries!

Reply to this comment    17 May 2006, 02:11 GMT


Re: Re: Do you write programs with graphics for your TI calculator?
elfprince13 Account Info
(Web Page)

pure basic owns all y'all.

(see link)

you may not be able to make graphics quite as fast, but you can make them just as good.

Reply to this comment    17 May 2006, 12:10 GMT

Re: Re: Re: Do you write programs with graphics for your TI calculator?
ElementFire Account Info

Nice graphics, but playability goes down the drain with a frame-rate like that.

Reply to this comment    17 May 2006, 13:51 GMT

Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Matt M Account Info

although if you can't tell what you're doing, you can't play at all...

Reply to this comment    17 May 2006, 18:16 GMT

Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
something1990 Account Info

Frog RPG does have very nice pure BASIC graphics. In a game like Frog RPG, speed isn't as important since you scroll the map, the frog fights are turn based, and the minigames are of a respectable speed for BASIC. Now if this was something like a shooter or some other type of action game, speed would be a bigger problem.

Reply to this comment    17 May 2006, 23:18 GMT


Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
elfprince13 Account Info
(Web Page)

I was getting 2 FPS in pure Basic with a graphical scrolling map....

that is playable.

Reply to this comment    18 May 2006, 02:17 GMT


Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
LonePhoenix  Account Info
(Web Page)

shameless advert! this deserves deleting ;P

Reply to this comment    23 May 2006, 02:16 GMT


Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
burntfuse  Account Info
(Web Page)

Not really, he's just telling about his experiences with the program, even if it's his own.

Reply to this comment    23 May 2006, 19:39 GMT

Re: Re: Re: Do you write programs with graphics for your TI calculator?
Snave2000  Account Info

Well, what about row 63 and column 95? Pure ASM owns pure TI-BASIC on that score, at least...

Reply to this comment    17 May 2006, 22:12 GMT


Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
CDI_  Account Info
(Web Page)

I'd hope you didn't forget xLIB here, with the real(12 command I can put something anywhere, and if I am in a program and turn the run indicator off then I also have those 7 or 8 pixels

Reply to this comment    21 May 2006, 20:43 GMT


Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Snave2000  Account Info

True, but doesn't pure TI-BASIC denote exactly that-just TI-BASIC? No ASM libraries or anything like that?

Reply to this comment    22 May 2006, 15:12 GMT


Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Kevin Ouellet Account Info
(Web Page)

I dont think it matters what do you use in your games providing they are good and playable. Sometimes speed isnt an issue, sometime it is. You can do good stuff in BASIC, even without asm libs, just not Gemini or Wolfeinstein (well I think...)

down with basic vs asm debate, they ruin the community and make nice coders leave

Reply to this comment    26 May 2006, 00:32 GMT


Re: Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
burntfuse  Account Info
(Web Page)

>down with basic vs asm debate, they ruin the community
>and make nice coders leave

How true. Why can't people just once and for all just judge programs by how good they are, not the language used?

That said, I think this is more of a friendly debate than an argument about which is superior.

Reply to this comment    26 May 2006, 20:16 GMT

Re: Re: Re: Do you write programs with graphics for your TI calculator?
something1990 Account Info

You can't make them just as good when it comes to greyscale. Pure BASIC can't do that.

Reply to this comment    21 May 2006, 15:40 GMT

Re: Re: Re: Do you write programs with graphics for your TI calculator?
Adam Ziemba  Account Info
(Web Page)

Sure, the graphics are great, but look how many seperate programs it took to get the game running. In addition, the size of the programs are ENORMOUS! You could make that exact game 10x faster and smoother with 1/4 of the size in 1 single program in Z80 Assembly. TI-BASIC does exert some advantages, however, such as mathematical computations. But as far as games go, ASM is hands down the most efficient way to go.

Reply to this comment    24 May 2006, 18:33 GMT


Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Kevin Ouellet Account Info
(Web Page)

True but asm is much harder, it require much more time to learn it before understanding it. I know ppl will tell me that it isnt that hard but its because those people learn much faster than anyone else and have more computer experience sometimes, some ppl just cant do it so they have to stick with language like BASIC, which is the only thing avaliable besides asm on some calcs

I dont think it matter how many files it take to run a basic game, providing the game is good, considering the TI-83+ has like 160 KB of archive memory and the SE 1.5 MB (more than a floppy)

if it matters I guess I'll just get all my author profile deleted from ticalc.org as most stuff I did was big RPGs and huge games :P

Reply to this comment    26 May 2006, 00:37 GMT


Re: Re: Re: Do you write programs with graphics for your TI calculator?
Steven Ford  Account Info

ok let me get one thing straight

ti-basic is INTERPRETED by asm in the OS. Therefore, ANYTHING you can do in basic, can be done with asm, and done faster and more efficiantly, so there

Reply to this comment    24 May 2006, 19:11 GMT


Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Scooblescott  Account Info

you're wrong. no "and" or "or" statements can go with an if statement in asm. well...it'd be like this in basic

While 1
if X=3:then
goto 1
end
end

lbl 1
if Y=4:then
goto 2
end
end

indirect "and" statements can be made in asm, but it's nothing like basic at all. basic has more features than it is credited for

Reply to this comment    24 May 2006, 19:55 GMT

Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Scooblescott  Account Info

correction:
lbl 1
while 1
if Y=4:then
goto 2
end
end

Reply to this comment    24 May 2006, 19:56 GMT


Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
calkfreak83  Account Info
(Web Page)

Quote: ti-basic is INTERPRETED by asm in the OS. Therefore, ANYTHING you can do in basic, can be done with asm

..that includes If:Then statements.. behind that BASIC, there is ASM coding to make it work, so therefore, you can do if statements in asm..

Reply to this comment    25 May 2006, 03:16 GMT

Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
burntfuse  Account Info
(Web Page)

I think you're missing the point. You can easily write code to perform the function of 'if X and Y' or 'if X or Y' in assembly (believe me, I know), and it's much more efficient than an IF statement written in BASIC. I'm not saying that no one should use BASIC or anything, just that assembly *is* more efficient.

Reply to this comment    24 May 2006, 20:01 GMT


Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
Snave2000  Account Info

Well, in ASM, that code would be:

loop_1:
CP 3
JP Z, loop_2
JP loop_1

loop_2
LD A, B
CP 4
JP NZ, loop_2

(if X is equated to reg A and Y is equated to reg B)
This code would take 12 bytes (I believe), and would execute blazingly fast (never mind the fact that the first loop would be run for eternity unless A is set to 3 before the loop...).

Reply to this comment    25 May 2006, 15:06 GMT


Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
calkfreak83  Account Info
(Web Page)

loop_1:
CP 3
JR Z, loop_2
JR loop_1

loop_2
LD A, B
CP 4
JR NZ, loop_2

:D I just saved you 3 bytes!

Reply to this comment    26 May 2006, 00:03 GMT

Re: Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
calkfreak83  Account Info
(Web Page)

That loop_2 should have a colon after it BTW...

Reply to this comment    26 May 2006, 00:04 GMT


Re: Re: Re: Re: Re: Re: Re: Do you write programs with graphics for your TI calculator?
burntfuse  Account Info
(Web Page)

Even better...

loop_1:
CP 3
JR NZ, loop_1

loop_2
LD A, B
CP 4
JR NZ, loop_2

Reply to this comment    26 May 2006, 20:18 GMT

1  2  3  4  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer