Re: Joystick port II with sprites demo.
Posted: Tue Jul 08, 2014 4:42 pm
Hi Buzbard,
Regards,
Shaun.
I thought I did say that I was using CBM Prg Studio but I must have been thinking about a different thread. Anyway, I always use CBM Prg Studio for BASIC programming as it just makes the process more efficient.buzbard wrote:How the heck did you type in line 63999?
Thanks, I'll give it a go.For the msb logic you could use:Code: Select all
msb = -ff * (xaxis > 255)
It may be slower, but I prefer a -1 at the end of the data or something similar as an exit clause so I don't have to count as I run out of fingers quickly (even though this example is from the user manual) and I'm not very good at counting and/or other maths. In any case, to read large data sets and doing other initialisation stuff, I'd usually switch off the VIC screen and would typically be running BASIC with a SuperCPU.And when reading and poking data, a for/next loop is faster and more efficient.
Regards,
Shaun.