Hex to ASCII Conversion: Lance A. Leventhals 6502 Assembly Language Programming @8_Bit
Hex to ASCII Conversion: Lance A. Leventhals 6502 Assembly Language Programming  @8_Bit
Uploaded November 2020 | Updated November 2026, 1 week ago
We take a look at three different approaches to converting hex values to PETSCII.

To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell

Download .d64: 8bitshowandtell.com/prg/tmphexpet.d64

Attach .d64 file then:
LOAD"TMP",8,1
SYS 32768
Back Arrow L to load, filename: conv8
Back Arrow 3 to assemble, S to start, Restore to return to TMP

6502 Assembly Language Programming by Lance A. Leventhal: archive.org/details/6502_Assembly_Language_Programming_by_Lance_Leventhal
C64 Programmer's Reference Guide: archive.org/details/c64-programmer-ref
BCD Programming: youtu.be/vnhyGt6URYc

Credits music by: bedfordlevelexperiment.bandcamp.com

Index:
0:00 Intro
1:40 4-bit Hex to ASCII
3:14 Starting our program
6:39 Conversion 1: table driven
12:00 Conversion 2: branching conversion
17:10 Conversion 3: no-branch BCD weirdness
23:50 Converting 8-bit hex values to ASCII
28:13 Thanks to you!
Hex to ASCII Conversion: Lance A. Leventhals 6502 Assembly Language ProgrammingBook Club: Commodore 64 Programmers Reference GuideSoft-Patching C64 ROMs for Benchmark BASIC: 6510 Assembly Code WalkthroughCommodore Magic Voice Software Prototype and Easter EggsExploring the SuperCPU Accelerator for C64Project Creators Talk at VCFMW 2022: Meatloaf, Amiga Video, 8-Bit Guy, Giant SX-64INPUT Bug on Commodore VIC-20 #8bit #vic20 #shortsA Very Commodore 64 Christmas Special1979 Home Computer Buyers Guide: Apple II, Commodore PET, TRS-80, and The Very Obscure!Cracking a C64 Game From Cassette: Livingstone, I Presume?SuperCPU Sky Travel Easter Egg Hunt for Commodore 64Re-typing My 1983 Game Programming Inspiration
8-Bit Show And Tell |

Hex to ASCII Conversion: Lance A. Leventhal's "6502 Assembly Language Programming"

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER