Author Topic: asm sprite programs ?  (Read 4495 times)

0 Members and 1 Guest are viewing this topic.

4ce_labs

  • Guest
asm sprite programs ?
« on: April 05, 2006, 01:21:00 pm »
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....
:overheat:xplod.gif

ether I get A bunch of errors or when I put it on the calc
like :dissapointed:nonono.gif
c1-->
CODE
ec1:asm(prgmSPRITE
ERROR;SYNTAXc2
ec2
OR SOME THING WHATS WRONG???
I EVEN TRYED HEADERS AND STUFF.  
:(sad.gif:angry:mad.gif

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
asm sprite programs ?
« Reply #1 on: April 05, 2006, 01:36:00 pm »
What program? zsprite?

Liazon

  • Guest
asm sprite programs ?
« Reply #2 on: April 05, 2006, 01:44:00 pm »
it's just data right? well there's no executable to actually put it onto the screen?

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
asm sprite programs ?
« Reply #3 on: April 05, 2006, 01:47:00 pm »
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).

4ce_labs

  • Guest
asm sprite programs ?
« Reply #4 on: April 05, 2006, 01:57:00 pm »
ok, and I was using turbo sprites, and pic copy

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

:crazy:fou.gif

(on the TI-Os)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
asm sprite programs ?
« Reply #5 on: April 05, 2006, 02:01:00 pm »
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

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
asm sprite programs ?
« Reply #6 on: April 06, 2006, 03:28:00 am »
My advice: stick to xLib or Omnicalc. They

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
asm sprite programs ?
« Reply #7 on: April 06, 2006, 03:57:00 am »
There is of course my nifty BASIC program... :Dbiggrin.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Liazon

  • Guest
asm sprite programs ?
« Reply #8 on: April 06, 2006, 09:33:00 am »
QuoteBegin-4ce_labs+-->
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.

:crazy: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.

4ce_labs

  • Guest
asm sprite programs ?
« Reply #9 on: April 06, 2006, 01:22:00 pm »
ok,thanks