Premium Only Content

Detecting Screen Size & Using KERNAL Routines in BASIC (C64, C128, & VIC-20)
A 3-in-1 BASIC programming tutorial that demonstrates how to detect the size of the current screen, interact with KERNAL routines & processor registers, and know if we're running on a Commodore 128.
This short program works on the Commodore 64, the Commodore 128, and the VIC-20.
CHAPTERS-
0:00 - Intro
4:24 - C64 Demo
05:32 - Code - Setup
10:46 - Code - Main
15:41 - C128, VIC-20, & Outro
LINKS-
Basic Bites - Files & Downloads
- http://files.basicbites.ca/
Commodore 64 Programmer's Reference Guide
- https://archive.org/details/Commodore_64_Programmers_Reference_Guide_1983_Commodore/
Commodore 64 Programmer's Reference Guide (alt.)
- https://archive.org/details/Commodore_64_Programmers_Reference_Guide_1983_Commodore_a/
#Commodore64 #Commodore128 #BASIC #KERNAL #Programming
-
LIVE
Rallied
5 hours ago $8.02 earnedBATTLEFIELD 6 DOMINATION WITH RAL !BF6 #BF6 #Ad
1,347 watching -
24:23
MYLUNCHBREAK CHANNEL PAGE
20 hours agoIstanbul Should NOT Exist - Pt 5 of 5
17.5K16 -
15:31
Chris Harden
2 days agoOvershadowed by Gary | Lake Station, Indiana
2.2K2 -
8:27:16
SLS - Street League Skateboarding
19 days agoSLS Paris 2025 🛹 | OCTOBER 11, 2025
401K33 -
6:15:10
SpartakusLIVE
7 hours ago$120,000 WZ Tourney || #1 Tournament Champion RETURNS
15.7K1 -
47:47
Athlete & Artist Show
8 hours ago $0.86 earnedSeason 6 Premiere, NHL Season Preview!
12.1K2 -
17:17
Advanced Level Diagnostics
20 days ago $1.03 earnedWhy won't this Mack Truck Charge!
12.8K3 -
1:33:51
Steve-O's Wild Ride! Podcast
16 days ago $12.08 earnedJohn C. Reilly's Surprising Connection To Jackass (And Beef With Weeman!)
110K24 -
LIVE
StoneMountain64
4 hours agoBattlefield 6 Unlocks and Challenges
73 watching -
7:34:25
Total Horse Channel
12 hours agoLow Roller Reining Classic | Main Arena | October 11th, 2025
55.5K5