Commodore 64 Basic miniature screen pixel scroll

Publicado em: 16 Janeiro 2022
no canal de: Just for the Fun of It – Commodore Retro & BASIC
809
10

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/


Nesta página do site você pode assistir ao vídeo on-line Commodore 64 Basic miniature screen pixel scroll duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Just for the Fun of It – Commodore Retro & BASIC 16 Janeiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 809 vezes e gostou 10 espectadores. Boa visualização!