On page 124, the footnote states:
“The Commodore 64 character set is not available to the VIC-II chip in BANKS 1 and 3."
Many programmers may know about video bank switching, but may not realize that if you switch to certain banks (specifically banks 1 or 3), the character generator ROM is not accessible to the VIC-II for screen rendering. This affects custom character graphics and can cause “garbage” characters if not properly managed.
BasicUpstart2(start)
start:
lda #%00000010 // Set VIC bank to BANK 1 (bit 1 = 1)
sta $DD00 // CIA2 port A
lda #$10 // Screen at $4000 (bits 4–7 = $10 << 6 = $4000)
sta $D018 // Set VIC-II memory pointers (screen/charset)
rts
ffmpeg -i input.png -vf “scale=1080:-1” output.png
ffmpeg -loop 1 -i input.png -vf “fade=t=in:st=0:d=3,fade=t=out:st=15:d=3,scroll=vertical=0.001,scale=-1:1920, crop=iw:1080:0:0,format=yuv420p” -t 20 output.mp4
ffmpeg -loop 1 -i judgedredd1080.png -vf “crop=iw:1920:0:0,format=yuv420p” -t 4 judgedredd-intro-1080x1920.mp4
10 ? "NINT()":? "nint(3.4)=";:? nint(3.4):? "nint(3.5)=";:? nint(3.5):? "nint(3.6)=";:? nint(3.6)
20 ? "CINT()":? "cint(3.4)=";:? cint(3.4):? "cint(3.5)=";:? cint(3.5):? "cint(3.6)=";:? cint(3.6)
NINT() - rounds down nint(3.4)= 3 nint(3.5)= 3 nint(3.6)= 4 CINT() - rounds up cint(3.4)= 3 cint(3.5)= 4 cint(3.6)= 4
rename – ’s/.././g' * removes double dots (shows escaping)
rename – ’s/ /./g' * to sub . for space in filenames.