@8_Bit
  @8_Bit
8-Bit Show And Tell | Printing Binary in BASIC and Assembly on Commodore 64 @8_Bit | Uploaded April 2022 | Updated October 2024, 12 hours ago.
I wanted to print binary numbers on the Commodore 64 from BASIC. When I didn't find a ready-made solution, I made my own in BASIC. Then I tried to optimize it for speed. Then I coded it in 6510 assembly language on a real C64. But will it benchmark faster?

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

Download .d64 of today's code: 8bitshowandtell.com/downloads/binary.d64
Previous SYS Params video: youtu.be/3ZV8LtpMbvA

Index:
0:00 Why I want to print binary values
2:25 BASIC1: The BASIC benchmarking framework 12.52s
5:11 BASIC2: e5frog's algorithm 52.95s
7:52 BASIC3: Fixed output 58.78s
8:40 BASIC4: Decimal pretending to be binary 96.85s
11:20 BASIC5: "Cheating" with precalculations 35.97s
15:28 BASIC6: Direct to characters 35.93s
17:10 BASIC7: Eliminate a comparison 31.43s
17:47 BASIC8: GOTO optimization 28.4s
18:35 BASIC9: Leading zeros "optimization" 33.63s
21:54 BASIC10: Precalc all strings! 20.78s + 13.17s
25:02 Turbo Macro Pro time: binary.s walkthrough
32:12 BASIC11: Benchmark assembly from BASIC 13.68s
34:50 Joystick time - thanks Carsten!
37:30 Thanks
Printing Binary in BASIC and Assembly on Commodore 6410x Faster Than C64 BASIC? Hare BasicWhy I Want to Dump This Commodore 64 Cartridge #8bit #c64  #retrogamingRealms of Quest V: The Biggest VIC-20 Game Ever?Restoring Satoru Iwatas 1981 Easter Egg in Star Battle for the Commodore VIC-20JRPG-Style Menu in C64 BASIC with LOADSTARs Toolbox 181Command-line-style Parameters on Commodore 64? #8bit #c64 #shortsMaking a New Commodore 64 Game: 1nvaderExploring My Commodore IEEE-488 Disk Drive CollectionI Am The C-64: Advanced Tutorial Series, Volumes 4-6NEW Commodore 64 Easter Egg Hidden On Vinyl, Also: TCB RevealedAtari Video Touch Pad Programming on a C64 (also, Zellers!)

Printing Binary in BASIC and Assembly on Commodore 64 @8_Bit

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER