Willsy, on Mon Feb 13, 2012 6:42 AM, said:
Where's the source? Perhaps I can add sprites to it? Heck, all it needs is VPOKE & VPEEK. I presume the vdp tables are in their default BASIC locations?
Guess you were asking about the source for Wilhelm's Compiler. It's in the compiler section in the pinned Development Resources thread. It's all XB, except only a subset, similar to TI-Basic, multi statements on a line though, integers only, and then something like INT(RND*6) will workaround and give you random numbers between 0 and 5 (or was it thereabout). Use the INT to have the original and the compiled version behave much the same.
The idea of just adding VPOKE and VPEEK is actually not bad, only XB does not have these. TI Basic with Mini Memory has the commands but a different VDP layout. Resulting program is XB program with compiled code in memory above XB program (I have to assume TI allowed this wonderful trick on purpose).
Edited by sometimes99er, Tue Feb 14, 2012 2:10 AM.