The code should be ready to insert into bB and well-documented so that beginners could cut and paste it into their programs without needing special knowedge.
Examples may be square root or trig functions, but there could be many others. I imagine that 99% of games will never need this, but for the 1% that does, inserting the asm would be handy.
Some of the code will also be put into a library to be included with future releases of bB so programmers don't always have to come here to get it. You will be credited for your contributions if they are used in the bB library.
I'll start out with a routine to clear the playfield:
asm ldx #47 lda #0 clearpf sta playfield,x dex bpl clearpf end
Edited by batari, Fri Jul 22, 2005 2:35 PM.














