CE-Programming / libraries

Common libraries for use on the TI84+CE/TI83PCE calculators
BSD 2-Clause "Simplified" License
141 stars 11 forks source link

opts _SpriteFlipHoriz ; _SetColorIndex #21

Closed ghost closed 8 years ago

ghost commented 8 years ago

Please do care about commits f05822c only (I already pulled f861cf8 a couple of hours ago)

_EDIT: _line 109 , please replace "add hl,hl" with "add.s hl,hl"

ghost commented 8 years ago

Wisely closed because optimisations in commit f05822c were not safe enough

mateoconlechuga commented 8 years ago

Oh yeah; for future reference:

Type Size Stack Memory
char ([u]int8_t) 3 bytes xx ?? ??
short ([u]int16_t) 3 bytes xx xx ??
int ([u]int24_t) 3 bytes xx xx xx
long ([u]int32_t) 6 bytes xx xx xx xx ?? ??
float 6 bytes xx xx xx xx ?? ??
double 6 bytes xx xx xx xx ?? ??
pointer 3 bytes xx xx xx

?? means that that area of the stack is unknown

You can find complete documentation here: http://ce-programming.github.io/documentation/tutorials/asm/lib-creation/

(Stack memory goes from Low -> High)