Commodore 64 Basic miniature screen pixel scroll
This is another example that make use of the VIC-II capability to smooth scroll.
Sample code that you can type on the Commodore 64 or copy directly in to the Commodore 64 Vice emulator
10 ?chr$(147):poke53280,6:poke53281,1:for l=1024to2023:pokel,123:nextl
30fOl=0to7:wA53265,128:pO53265,(pE(53265)and240)or7-l:pO53270,l:nE:gO30
If you read the programmer reference guide of the commodore 64 then on page 129 a chapter is dedicated to "smooth scrolling".
The VIC-II chip adress 53270 is used to expand the border (covering the
right,left, top or bottom characters on the screen) then using bit 0 to 3
is used to move the screen.
So poke 53270, (peek(53270)and248)+ x where x can have a value from 0 to 7.
More one-liner or miniature Commodore Basic examples can be found on my site see http://justforthefunofit.nl/oneliners/
En esta página del sitio puede ver el video en línea Commodore 64 Basic miniature screen pixel scroll de Duración hora minuto segunda en buena calidad , que subió el usuario Just for the Fun of It – Commodore Retro & BASIC 16 enero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 809 veces y le gustó 10 a los espectadores. Disfruta viendo!