Uploaded November 2021 | Updated November 2026, 1 week ago
Continuing on with the "8-Bit Book Club" series, it's Part Two of Raeto Collin West's "Programming The Commodore 64: The Definitive Guide". This time we cover chapters 7 & 8. What an epic book! Thanks to Dane for donating this extra-rare second edition of the book. This video was originally the patron-exclusive video for February 2021; thanks to my patrons for their generous support.
Link to zipped .pdf scan of this actual copy of the book I'm reading in this video!
commodore.bombjack.org/books/commodore/books/Compute's_Programming_the_Commodore_64_The_Definitive_Guide_Revised_Edition.zip
Thanks to DLH of Bombjack.org for his excellent work archiving Commodore books! Support his web site: commodore.bombjack.org (link at top of page to donate)
To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA
Link to book on archive.org:
archive.org/details/Compute_s_Programming_the_Commodore_64_The_Definitive_Guide
Episodes I mentioned:
Part One: youtu.be/rU3zgeXBgg4
8-Bit Handouts: youtu.be/DqEIG6YKxOI
Jim Butterfield's book: youtu.be/OirYXXnCVlo
Using BCD: youtu.be/vnhyGt6URYc
KERNAL variations: youtu.be/If4mcprqBZw
Hex POKEs: youtu.be/I8GuyK-1DmQ
Music Playback: youtu.be/EZAcD8aXVm4
Green Delicious Apple-1 Emulator for Commodore 64 by Aleksi Eeben:
https://csdb.dk/release/?id=118857
Index:
0:00 Intro
2:58 My goal with Book Club videos
3:50 Chapter 7: Intro to 6510 Machine Language
8:22 About the 6510 Chip
13:01 6510 Machine Language Techniques
14:50 ML Monitors
22:11 ML Assemblers
26:37 Chapter 8: KERNAL Routines
30:47 BASIC ROM Routines
33:04 Using RAM under ROM
34:28 Modifying BASIC & KERNAL Vectors, Wedges
37:33 Thanks!
Continuing on with the "8-Bit Book Club" series, it's Part Two of Raeto Collin West's "Programming The Commodore 64: The Definitive Guide". This time we cover chapters 7 & 8. What an epic book! Thanks to Dane for donating this extra-rare second edition of the book. This video was originally the patron-exclusive video for February 2021; thanks to my patrons for their generous support.
Link to zipped .pdf scan of this actual copy of the book I'm reading in this video!
commodore.bombjack.org/books/commodore/books/Compute's_Programming_the_Commodore_64_The_Definitive_Guide_Revised_Edition.zip
Thanks to DLH of Bombjack.org for his excellent work archiving Commodore books! Support his web site: commodore.bombjack.org (link at top of page to donate)
To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA
Link to book on archive.org:
archive.org/details/Compute_s_Programming_the_Commodore_64_The_Definitive_Guide
Episodes I mentioned:
Part One: youtu.be/rU3zgeXBgg4
8-Bit Handouts: youtu.be/DqEIG6YKxOI
Jim Butterfield's book: youtu.be/OirYXXnCVlo
Using BCD: youtu.be/vnhyGt6URYc
KERNAL variations: youtu.be/If4mcprqBZw
Hex POKEs: youtu.be/I8GuyK-1DmQ
Music Playback: youtu.be/EZAcD8aXVm4
Green Delicious Apple-1 Emulator for Commodore 64 by Aleksi Eeben:
https://csdb.dk/release/?id=118857
Index:
0:00 Intro
2:58 My goal with Book Club videos
3:50 Chapter 7: Intro to 6510 Machine Language
8:22 About the 6510 Chip
13:01 6510 Machine Language Techniques
14:50 ML Monitors
22:11 ML Assemblers
26:37 Chapter 8: KERNAL Routines
30:47 BASIC ROM Routines
33:04 Using RAM under ROM
34:28 Modifying BASIC & KERNAL Vectors, Wedges
37:33 Thanks!









![Soft-Patching C64 ROMs for Benchmark BASIC: 6510 Assembly Code Walkthrough
Today well look through the Commodore 64 6510 assembly language source of the Benchmark BASIC utility. Even if you have no interest in the benchmarking aspects, well cover a wide variety of development techniques, including: use of the Turbo Macro Pro assembler, soft-patching the C64 ROMs, fixing the ?OUT OF MEMORY error, great resources for understanding the BASIC and KERNAL codebase, how location 1s memory control really works, how to use BASICs floating point math routines, and even more.
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
Download the Benchmark BASIC .d64 (see instructions below, and in video):
https://8bitshowandtell.com/downloads/bbasic.d64
Links mentioned in video:
Original Benchmark BASIC video: https://youtu.be/B-Cky_2l11U
Block Transfer fix: https://youtu.be/dG_oZV6s0Zg
PageTable: https://www.pagetable.com/c64ref/c64disasm/
Tool Kit video: https://youtu.be/O8DRGqIZpPg
CodeBase: https://codebase64.org/doku.php?id=base:kernal_floating_point_mathematics
Transactor Anthology: https://archive.org/details/transactor-anthology/
Gregs C64 OS 6510 port article: https://c64os.com/post/6510procport
Advanced machine language: https://archive.org/details/The_Advanced_Machine_Language_Book_for_the_Commodore_64/
TI$ video: https://youtu.be/VkabHdR15xs
To use: mount/attach the .d64 image
LOADBENCHMARK BASIC,8,1
SYS 49152 to start
STOP+RESTORE keys to disable
To load the source code (requires REU):
LOADTMP+REU,8,1
SYS 32768
to view disk directory: [back arrow] *
to load: [back arrow] L
file name: bb33 (or whatever latest filename is on disk)
cursor keys to navigate source file
[back arrow] 3
press S to start
The REU is required to assemble to RAM at $C000 (where Benchmark BASIC lives) because Turbo Macro Pro also uses that memory range. But if you dont have access to an REU, a workaround is to assemble to disk with [back arrow] 5, and then give a filename. Once assembly is complete, you can reset the computer, load the object code with ,8,1 and SYS 49152 to start it.
Index:
0:00 Recap about Benchmark BASIC use
2:08 How to load the source in Turbo Macro Pro
4:28 About the $C000 origin, and why REU
8:50 SEI: Set Interrupt Disable
10:06 ?OUT OF MEMORY ERROR fix
13:53 ROM copy routine
18:06 Modify READY. prompt
19:20 Resources: PageTable.com and Dan Heebs Tool Kit books
21:34 Patching RUN
23:00 Location 1: Switching out the ROMs
28:46 When RUN is typed... more patching
32:14 Jiffy Clock reset, handing control back
34:12 Just scrolling once, the wonders of C=s screen editor
38:44 Final cleanup
40:18 About BASICs floating-point routines
43:10 Stashing, printing, converting, dividing floating points
48:36 ENDing
49:51 Conclusion, thanks! Soft-Patching C64 ROMs for Benchmark BASIC: 6510 Assembly Code Walkthrough](https://i.ytimg.com/vi/vJQNulZj7AQ/mqdefault.jpg)
