Hi forums
After <finally> managing to make a spritelike routine, improving it a little bit, and messing around with it, I had an idea for something.
Could interrupts be used to pretty much update the entire screen by loading a bunch of sprites from data stored in RAM somewhere? I like the idea of it, but I don't understand interrupts well enough to know if this is possible or not.
I was thinking it would be something like holding a "sprite type, x, y" for each sprite somewhere in a saferam area, then when the interrupt is called load the data and read through placing each sprite where it should be. Then, CALLs like MoveSprite or MakeSprite would be used to define and place sprites, loading data from registers into memory somewhere to be updated at the next interrupt.
So I have a few questions:
Thanks for reading and hopefully replying
P.S. If I was to make this it would be on a (most likely) TI84+SE or (possibly) TI84+CE.
After <finally> managing to make a spritelike routine, improving it a little bit, and messing around with it, I had an idea for something.
Could interrupts be used to pretty much update the entire screen by loading a bunch of sprites from data stored in RAM somewhere? I like the idea of it, but I don't understand interrupts well enough to know if this is possible or not.
I was thinking it would be something like holding a "sprite type, x, y" for each sprite somewhere in a saferam area, then when the interrupt is called load the data and read through placing each sprite where it should be. Then, CALLs like MoveSprite or MakeSprite would be used to define and place sprites, loading data from registers into memory somewhere to be updated at the next interrupt.
So I have a few questions:
Is this feasible to do, or would it be too slow/difficult?
Is there somewhere that I can store sprite data in memory that will stay safe even after the ASM program finishes (like for hybrid BASIC sprites)?
Would this screw up other features of interrupts? i.e. key input? Or will it/can it not change the system routines?
Thanks for reading and hopefully replying
P.S. If I was to make this it would be on a (most likely) TI84+SE or (possibly) TI84+CE.