0 Members and 1 Guest are viewing this topic.
clearScreen putS 34, 75, 11, deck.load.logo update
#macro putsmall(_putsmall_down, _putsmall_right, _putsmall_size, _putsmall_address) #ifndef _putsmall_down call putsprite #else ld a, _putsmall_down ld l, a ld a, _putsmall_right ld b, _putsmall_size ld ix, _putsmall_address call putsprite #endif#endmacro#define putS putsmall(#define update call fastcopy#define clearScreen call clrgbuf
I code like this:
The macro doesnt really help until you have the actual routine, though.
My guess is that he's using the ION routines or something similar.
That's... definitely an interesting way of coding. You managed to code asm like basic in a way. Of course the obvious drawback with that technique is that you have a lot less flexibility with what you can do and your actual code size will be enormous. (For instance, if you want to display something with d = x and e = y, that's an entirely different macro you'll have to code for.)
#include ti83plus.inc#include asmMacros.inc .asmprog clearScreen echo "Hello World!" exit _NoDoneFlag