= Now we talk about Sprites !! =

"Ok. Let me tell you that it maybe not very easy...It's easy but you need read this carefully." - Remember that from Zapic :) with ZSpr it will be more or less the same... just read carefully.

1. What programs you will need?

  • Zspr package made by me (and come with the zapi83), should include the following files:

    asm.bat
    Devpac83.com
    ion.inc
    Tasm.exe
    Tasm80.tab
    Zspr.exe
    Zspr.z80
    zspr.bat
    sprdata.z80

 

  • Chaos Assembler By Cameron McCormack
    You can find this program in www.ticalc.org try find it in the search box.

2. How to paint the Sprites with the Chaos?

  • If you are a really expert guy maybe you wont need chaos because you can do your self sprites... learn some z80assembly... and try using my program... You can use maybe other programs...

  • Ok now in chaos click in one yellow small face like this :) and the sprite editor will appears. In the Sprite attributes choose 8 in the with and height.

  • Now make a beautiful sprite with the mouse!!!

  • Minimize chaos and go to your Folder work, where you have your game files and the folder with the Zspr and open the file named 'sprdata.z80'

  • Go to Chaos again and click in the box 'Save to Clipboard' and type the name of the sprite; Attention!!! For example its your first sprite in the file you need type Spr1... whem you make you 2nd sprite type Spr2... got it?

  • Other box appears... choose NO. You can explore this functions but you need understand how it works.

  • Now in the 'sprdata.z80' just paste your sprite (Ctrl-V)

 

3. Converting the files to the TI program file...

  • Save your 'sprdata.z80'

  • Run the 'ZSPR.EXE' Type the number of sprites you want pack.

  • Just run now 'zspr.bat' and the file zspr.83p and the zspr.8xp will appear!

  • If any error appears generated by TASM.EXE maybe you make anything wrong...  

4. Run the program in your calculator.

  1. Put the program in your calculator.

  2. You need for the TI83 the program ZASMLOAD for the 83+ you don't need :)

  3. Create a new program called for example: ZCALLSPR and put that code:

TI83
PROGRAM:ZCALLSPR
:"ZSPR
:Send(9prgmZASMLOAD
:Return

 

TI83+
PROGRAM:ZCALLSPR
:Asm(prgmZSPR
:Return
  1. Now to display the sprites storage in Z var the sprite you want display(1->Z if you want the first sprite) and in the X,Y the location of the sprite. Luck out!!!!! (X<86 and X>0) and (Y<55 and Y>0) !!!!

  2. TO finalize you need storage 1 or 0 in W var. 1 if you want display the screen buffer. 0 if you wont display.

I hope you understand how to do all... good luck!! :)

Tutorial Page