= Now we talk about Large Sprites !! =

Read!

1. What programs you will need?

  • Zlspr package should include the following files:

    asm.bat
    Devpac83.com
    ion.inc
    Tasm.exe
    Tasm80.tab
    Zlspr.exe
    Zlspr.z80
    zlspr.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?

  • Just make the same thins that the normal sprites, only some changes will be need

  • You sprite will need to have the X size with some things like: 8,16,24,32, 40,48,....

  • The Y size should be less that 64 and can be any value

  • Past the sprite in the sprdata.z80 and you will need to add after the sprite label name this:

  • .db 00,00

  • where the first 00 is the Y size and the second 00 is the X size / 8, for example if the sprite is X=8 and Y=32 the line will be .db 32,1

  • ok?

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

  • Save your 'sprdata.z80'

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

  • Just run now 'zlspr.bat' and the file zlspr.83p and the zlspr.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:ZCALLSPRL
:"ZLSPR
:Send(9prgmZASMLOAD
:Return

 

TI83+
PROGRAM:ZCALLSPRL
:Asm(prgmZLSPR
: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!!!!! The sprites wont be clipped.. so.. dont pass the limits of the screen...

  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