Calculator Community > Calculator C

[TIGCC] 68k C

<< < (3/15) > >>

Ranman:
QuoteBegin-calcul831415+20 December 2005, 18:07-->QUOTE (calcul831415 @ 20 December 2005, 18:07)By the way, how do you tile map the Ti-89Ti's 100x160 pixel screen?

What are the dimensions (#rows,#columns) of your tiles?

Liazon:
Wait, how'd you get an 11x11 sprite routine?  Did you make your own?  Perhaps I should just stick with 10/20x16 for now.

Looks like I'm going to have to get good at monochrome pixel art.  Unless there is a specific easy to use greyscale library you recommend.  At most I'd probably just use black grey, and white.  4-level greyscale would already be more than what I need.   :thumb:

edit:  Oh, and considering how the 83+ had an 8k limit on ASM executables, what is the limit for the 89, if there is any?  And my friend who programs in C++ says that in C, you can access data outside the program, meaning I can have external data files.  Is this true for 68k C?

DJ Omnimaga:
I heard each files cant be more than 64kb on the calc, but I'm not sure about that

Ranman:
QuoteBegin-calcul831415+20 December 2005, 21:46-->QUOTE (calcul831415 @ 20 December 2005, 21:46)Wait, how'd you get an 11x11 sprite routine?

Liazon:
QuoteBegin-Ranman+20 December 2005, 22:33-->QUOTE (Ranman @ 20 December 2005, 22:33)




QuoteBegin-->QUOTE For the 68k calcs... 64Kb is the max file size (including the file header and footer. This limit is imposed by the TI operating system... not TIGCC.

For the 68k calcs... AMS verions 1.xx and 3.xx can execute any file up to 64Kb. AMS 2.xx calcs are limited are limited to 24Kb (I think the first version of AMS 2.xx limited it to 8Kb).

But didn't AMS give you more freedom with the LCD buffers?

QuoteBegin-->QUOTE Actual sprite width must be a multiple of 8 bits. So, if a sprite "viewable" width is not a multiple of 8 bits, you must round up to the next full 8 bits. My Ultima V tiles are 11x11 "viewable" but in reality there are 16x11 pixels. The 5 rightmost bits are not used. Does that make sense?

Let me guess... You mask the 5 unused bits.

QuoteBegin-->QUOTE I use the GraySprite16_RPLC() functions from extgraph library. I am actually drawing a full 16x11 tile. But, when I draw the next tile, I draw over the 5 unused pixels of the previous tile. With the extgraph library, you can draw a sprite at any x,y position..

Use the extgraph library for grayscale... It even has double buffering.

This will be supported by AMS 3.xx plue HW3 patch, right?  Will I find this on ticalc.org, TIGCC website, or the Ti Chess team website?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version