Viewer Matt Kasdorf asks if a plain text file version of the Truchet source code is available. I answer no. But, I will show everyone how to convert Turbo Macro Pro source code, step-by-pedantic-step, into a regular text file you can use on your new-fangled computer. Join me for this ultra-rare Emulated Episode, where we not only flagrantly use VICE, but some of its little-known command line utilities, c1541 and petcat. They’re handy!
Links:
How I Programmed Truchet Tiles video: https://youtu.be/cFWNo1GjMP0
DirMaster by Style: https://style64.org/dirmaster
VICE User Manual: https://vice-emu.sourceforge.io/vice_toc.html
C1541 chapter: https://vice-emu.sourceforge.io/vice_14.html
Petcat chapter: https://vice-emu.sourceforge.io/vice_16.html
Truchet Source Code Text File: http://8bitshowandtell.com/downloads/tile21.txt
ALSO, check out TMPview by Style, which converts TMP binary source files to TMPx cross-assembler text format: https://style64.org/release/tmpview-v1.3.1-style
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/UCAgWzEh5c8391eJnELDy9OA
Step-By-Step Extraction and Conversion Instructions:
Download the D64: https://8bitshowandtell.com/downloads/truchet.d64
Attach it in VICE C64 emulator or whatever.
LOAD"TMP",8,1
SYS 32768
(Back Arrow) L to load a file
Filename: tile21
(Back Arrow) W to write the file as seq
Filename: tile21.s
Quit VICE
Open terminal / shell / command prompt / whatever
Go to directory where .d64 is
c1541 truchet.d64
read tile21.s,s
exit
petcat -text -o tile21.txt — tile21.s
Index:
0:00 What and Why Intro?
2:10 Download the D64
3:04 VICE time: starting TMP, loading the source (back arrow L)
5:20 Saving as SEQuential ASCII file (back arrow W)
6:44 Sidequest: BASIC 10/20 PRINT
7:58 C1541 to extract the file: read filename,s
14:58 petcat -text -o fileout.txt — filein.s
18:30 Sidequest: petcat -2 -o basicout.txt — basicin
22:12 petcat -k = keywords
24:29 Conclusion and thanks