Today we explore 64 Forth for the Commodore 64 with the help of my friend Paul Pridham, aka Madgarden, who uses his own version of Forth to code his hit indie videogames such as Death Road To Canada. Prompted by David Youd, who donated the cartridge and books to me, we try a few Forth variations of the famous 10 PRINT program, starting with one-line versions while working towards a more Forth-like final version.
Check out Death Road To Canada on Steam:
https://store.steampowered.com/app/252610/Death_Road_to_Canada/Follow Paul on Twitter:
https://twitter.com/madgardenWhy we keep saying "orthAgonal":
https://youtu.be/oPtjcSsS2MIYou might want to check out DurexForth which is a modern C64 implementation of Forth:
https://github.com/jkotlinski/durexforthHey Birt! made some videos about DurexForth:
https://youtu.be/TXIDqptXmiMThanks to David Youd for finding these Forth references:
John Romero's interview of Stuart Smith:
https://appletimewarp.libsyn.com/episode-9-stuart-smith29:02 "I used Forth by the way for Adventure Construction Set..." -- Stuart Smith
Kay Savetz's interview of David Maynard:
https://ataripodcast.libsyn.com/antic-interview-408-david-maynard-electronic-arts-worms30:08 "Electronic Arts is a lot of early productivity software. So probably the first products I did there were Cut & Paste an editor that ran on Atari, and Apple, and Commodore, written in Forth..."
30:28 "Then I wrote a program called Financial Cookbook . . . and that was all written in Forth"
48:22 "I was technical director on Starflight . . . written in Forth" -- David Maynard
C64 "Worms" Forth source code:
https://github.com/savetz/worms/blob/main/worms%20source%20code%20Commodore%2064.txtChipwits:
https://en.m.wikipedia.org/wiki/ChipWits David Youd helped confirm that the C64 version is still (at least partially) in Forth. Start the game and look at $1460 and on, or look at file cw.gm.
COMPUTE! SpeedScript: Original version was in forth, but they rewrote it in pure assembly for the various platforms:
https://ataripodcast.libsyn.com/antic-interview-207-tom-halfhill-compute-magazine/16:26 "So Charles was famous for his word processor that he did. . . that was SpeedScript . . he first showed me a prototype of that, believe it or not that was written in a programming language called Forth . . . later he ended up rewriting it in machine language for the Atari. Then we did homelogs[?] for Commodore 64 and VIC20 and Apple II..." -- Tom Halfhill
Update 2022.11.16: David Youd has also found that Lords of Conquest (EA, 1986) was written in Forth.
To support 8-Bit Show And Tell:
Become a patron:
https://patreon.com/8BitShowAndTell One-time donation:
https://paypal.me/8BitShowAndTell 2nd channel:
https://youtube.com/channel/UCAgWzEh5c8391eJnELDy9OAEnd credits music is "Bit Pair" by Bedford Level Experiment:
https://youtu.be/Appmg64tZB0Index:
0:00 Introductions & Going Forth
2:54 Forth 10PRINT one-liner by David Youd
10:04 Using SID as a random source
14:54 Decompiling the 10PRINT word
16:50 10 PRINT Orthogonal in Forth
26:55 Replacing MOD with AND for speed
29:19 Thanks, links, and more...
About the Site π
This site provides links to random videos hosted at YouTube, with the emphasis on random. π₯
Origins of the Idea π±
The original idea for this site stemmed from the need to benchmark the popularity of a video against the general population of YouTube videos. π§
Challenges Faced π€
Obtaining a large sample of videos was crucial for accurate ranking, but YouTube lacks a direct method to gather random video IDs.
Even searching for random strings on YouTube doesn't yield truly random results, complicating the process further. π
Creating Truly Random Links π οΈ
The YouTube API offers additional functions enabling the discovery of more random videos. Through inventive techniques and a touch of space-time manipulation, we've achieved a process yielding nearly 100% random links to YouTube videos.
About YouTube πΊ
YouTube, an American video-sharing website based in San Bruno, California, offers a diverse range of user-generated and corporate media content. π
Content and Users π΅
Users can upload, view, rate, share, and comment on videos, with content spanning video clips, music videos, live streams, and more.
While most content is uploaded by individuals, media corporations like CBS and the BBC also contribute. Unregistered users can watch videos, while registered users enjoy additional privileges such as uploading unlimited videos and adding comments.
Monetization and Impact π€
YouTube and creators earn revenue through Google AdSense, with most videos free to view. Premium channels and subscription services like YouTube Music and YouTube Premium offer ad-free streaming.
As of February 2017, over 400 hours of content were uploaded to YouTube every minute, with the site ranking as the second-most popular globally. By May 2019, this figure exceeded 500 hours per minute. π
List of ours generatorsβ‘
Random YouTube Videos Generator
Random Film and Animation Video Generator
Random Autos and Vehicles Video Generator
Random Music Video Generator
Random Pets and Animals Video Generator
Random Sports Video Generator
Random Travel and Events Video Generator
Random Gaming Video Generator
Random People and Blogs Video Generator
Random Comedy Video Generator
Random Entertainment Video Generator
Random News and Politics Video Generator
Random Howto and Style Video Generator
Random Education Video Generator
Random Science and Technology Video Generator
Random Nonprofits and Activism Video Generator