Re: A83: Some Questions


[Prev][Next][Index][Thread]

Re: A83: Some Questions




In a message dated 5/31/00 10:14:56 AM Central Daylight Time, 
ti-83@libertysurf.fr writes:

> I'm making a game and I don't know how i can display a picture (45 x 20) on 
> the title screen. I would like to do external levels for my game and I'm 
> searching a tutorial or something who can explain me how do this.
>  
>  Thanks

If you make your picture into assembly data (i.e. - .db %10010100, etc.), 
then you can output this as a sprite using the Largesprite routine of the 
shells SOS or ION. If you arent programming for a shell, then you can 
probably copy this largesprite routine into your source; It is recommended to 
program for ION though. Read up on that library/built-in routine for the 
Inputs that you should give, so that your sprite can be displayed... For 
External levels, SOS and ION also provide Detect routines which work by 
searching through the VAT (Variable Allocation Table) and the routine looks 
at the first null-terminated string of each program to see if that string 
matches the header string you provide in your main program. The Detect 
routine then gives back a pointer in memory to the data after that header 
string in the external program, and you have to deal with the data on your 
own then. Again, refer to the specific Input and Output details that the 
library/built-in routine should have documented.

Jason_K