One-Line Bouncing Ball: Commodore 64 BASIC

Опубликовано: 21 Май 2023
на канале: 8-Bit Show And Tell
64,494
2.1k

Besides the famous 10 PRINT, one of my favourite type-in programs from the Commodore 64 User's Guide is "More Bouncing Balls" in which a ball bounces off the borders of the screen. Inspired by Josip Retro Bits' 2-line version of this program, I attempt to squeeze it down to one line, with some other diversions along the way.

Check out Josip's channel for more C64 programming:    / @josipretrobits  

To support 8-Bit Show And Tell:
Become a patron:   / 8bitshowandtell  
One-time donation: https://paypal.me/8BitShowAndTell
2nd channel:    / @8-bitshowandtell247  

Index:
0:00 The Commodore 64 User's Guide
2:52 Adding a clear screen to 10 PRINT
7:57 More Bouncing Balls
14:32 Josip Retro Bits' 2-line version
22:23 A different approach: what's it doing?
26:41 Implementing a simple oscillator
32:25 POKEing the ball back in!
35:44 The final one-line version
38:00 Potential improvements?
40:25 Thanks to Josip, my patrons, and you!


Смотрите видео One-Line Bouncing Ball: Commodore 64 BASIC онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал 8-Bit Show And Tell 21 Май 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 64,494 раз и оно понравилось 2.1 тысяч посетителям.