Page 1 of 1

another experience on superbasic

Posted: Mon Feb 21, 2022 4:22 pm
by nitrofurano
its a bit slow - i'm going to try something faster from secondbasic soon - perhaps i might try to code a simple game based on it later
(i have no idea how fine would it run on expanded ql)

Re: another experience on superbasic

Posted: Mon Feb 21, 2022 4:26 pm
by nitrofurano
might look like this

Re: another experience on superbasic

Posted: Tue Feb 22, 2022 2:26 pm
by nitrofurano
recoded it on SecondBasic
i only needed to replace

Code: Select all

 lsl.l #10,d0
with

Code: Select all

 lsl.l #7,d0
 lsl.l #3,d0 
so Vasm would recognize it

Re: another experience on superbasic

Posted: Tue Feb 22, 2022 6:31 pm
by nitrofurano
faster version, using pokelong and peeklong&() (poke_l and peek_l() ) instead of poke and peek

Re: another experience on superbasic

Posted: Wed Feb 23, 2022 8:43 pm
by nitrofurano
improved the code a bit, but some blinking flash glitches appeared (i have no idea why)