Home | News | Downloads | Projects | Articles | Awards | Forums | Chat | Guestbook | About | Arcade
InvisionFree - Free Forum Hosting
Create a free forum in seconds.
Learn More · Register for Free

This menu has been disabled

Today's Top 10 Posters ˇ My Last 10 Posts Board and IRC Rules ˇ Help ˇ Members ˇ Calendar


 

 asm sprite programs ?
4ce_labs
Posted: 5 Apr, 2006, 19:21


Unregistered









I got a few (computer) programs that are supose to:
-make sprites
or
-turn calc pic's into asm sprites

and then it give's me a code,

so I save the code as an .asm file OR .z80

break-out the old comiler and....
xplod.gif

ether I get A bunch of errors or when I put it on the calc
like nonono.gif
CODE
:asm(prgmSPRITE
ERROR;SYNTAX

OR SOME THING WHATS WRONG???
I EVEN TRYED HEADERS AND STUFF.
sad.gif mad.gif
Top
kalan_vod
Posted: 5 Apr, 2006, 19:36


Unregistered









What program? zsprite?
Top
Liazon
Posted: 5 Apr, 2006, 19:44


Unregistered









it's just data right? well there's no executable to actually put it onto the screen?
Top
kalan_vod
Posted: 5 Apr, 2006, 19:47


Unregistered









If it's zsprite, then it has a compiler and it works fine with windows. But I would suggest using xLIB for on calc sprites (if you are planning on using an asm lib).
Top
4ce_labs
Posted: 5 Apr, 2006, 19:57


Unregistered









ok, and I was using turbo sprites, and pic copy

can anyone give me a code that displays a sprite an pauses then ends.

fou.gif

(on the TI-Os)

This post has been edited by 4ce_labs on 5 Apr, 2006, 19:58
Top
xlibman
Posted: 5 Apr, 2006, 20:01





Group: Founder
Posts: 12
Member No.: 1
Joined: 8 Sep, 2004



i think you are trying to execute the actual sprite data, which is impossible as you need to write the proper assembly code to do it. However there is some libraries avaliable in the archives that can do it for you, like xLIB 0.1 to xLIB 0.601a, Omnicalc, CODEX and zsprites

I cant really help much on z80 assembly programming tho as I only program in BASIC

This post has been edited by xlibman on 5 Apr, 2006, 20:01
Top
Spellshaper
Posted: 6 Apr, 2006, 9:28


Unregistered









My advice: stick to xLib or Omnicalc. They´re Apps and eat a lot of r0m, granted, but compared to the speed of Asmprgms called from BASIC they go at the speed of lightning! (Apparently the Asm(-command causes a slowdown)
Top
tifreak8x
Posted: 6 Apr, 2006, 9:57


Unregistered









There is of course my nifty BASIC program... biggrin.gif
Top
Liazon
Posted: 6 Apr, 2006, 15:33


Unregistered









QUOTE (4ce_labs)
ok, and I was using turbo sprites, and pic copy

can anyone give me a code that displays a sprite an pauses then ends.

fou.gif

(on the TI-Os)


There are no r0m calls for displaying sprites.

You must write the first byte of the sprite to plotscreen, the second byte to plotscreen+12, the third byte to plotscreen+24, and so on iirc. Then call the r0m call that displays the graph buffer onto the LCD screen.

Oh, btw, if you are trying to do this to increase the speed of your sprited BASIC program, DON'T! It actually slows it down because iirc, ASM doesn't splice into basic very easily. This has something to do with leaving the Ti-OS to run the program and then returning, and then finding the spot in the original Basic program. The reason why xlib is so good is because it uses a parser hook much like the Ti-OS that interprets tokenized Basic code.

This post has been edited by Liazon on 6 Apr, 2006, 15:36
Top
4ce_labs
Posted: 6 Apr, 2006, 19:22


Unregistered









ok,thanks
Top
InvisionFree - Free Forum Hosting
Create a free forum in seconds.
Learn More · Register for Free

Topic Options





TI-Freakware's TI Ring
TI-Freakware's TI Ring
[ Join Now | Ring Hub | Random | << Prev | Next >> ]

Hosted for free by InvisionFree* (Terms of Use: Updated 2/10/2010) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.3737 seconds | Archive

Skin by xlibman and Jc
All programs and games are property of their respective owners.