Page 1 of 1
Another BASIC demo
Posted: Thu Dec 21, 2017 9:33 pm
by Shaun_B
I wondered how fast I could update a good chunk of the screen, and then decided to add a scrolly again.
You're welcome
Hope you're all having a good one!
Regards,
Shaun.
Re: Another BASIC demo
Posted: Fri Dec 22, 2017 5:50 am
by Paul
The fastest version in Basic I know of is using a single print with a string variable containing all the characters of the screen. I used this to show a large walking man on the screen by
Code: Select all
100 PRINT AT A, B;A$
110 PRINT AT A, B;B$
...
200 GOTO 100
this wasn't tested on a Zeddy so can contain errors. A and B were used because I wasn't sure about value of top left corner.
It's still early...
Re: Another BASIC demo
Posted: Fri Dec 22, 2017 6:00 am
by Shaun_B
Thanks. I know that using variables is faster on other dialects of BASIC, I just wasn't sure whether this rule applied to the ZX81 as well. I think using my scrolly routine
in this thread I could probably get some more speed out of it, and then maybe more animation.
Regards,
Shaun.