I wrote a post detailing the 30 hours I spent tracking a compiler toolchain bug in #cc65.
#RetroComputing is hugely interesting :) https://www.colino.net/wordpress/archives/2023/08/15/tracking-and-killing-a-cc65-corruption-bug/
Holy fucking shit, folks! I have successfully tracked, found, understood and fixed a data corruption bug in #cc65!
This is absolutely one, maybe two new stamps on my #nerd card!
I'm so proud of myself right now 😊
I'll push a PR to cc65 later, and probably an explanation of the process on my blog for posterity, but first, celebration time 🙂
I think I got obsessed with #cc65 compiler. I abandoned all work until I made a C program for my #apple2 clone which reads a contemporary, but converted image from the file system and shows it on the screen. I'm not even a C programmer. #prodos #pravetz8 #retrocomputing
#cc65 #apple2 #prodos #pravetz8 #retrocomputing
These bastards at #cc65 included HGR examples files that lack the last eight bytes, being 8184 bytes instead of 8192.
These bytes are useless as they fall into an "HGR memory hole", but that little trick sure gets the idiots that hardcode a transfer of 8192 bytes!
(I am the idiot)
#retrocomputing #apple2
So, expanding the original tutorial code and using a sprite and character set I've once designed for the same demo code written in C and using the #cc65 compiler, here's the result of my #Mos6502 #Assembler workshop for this weekend.
I'd never expected that I would be able to show off this little demonstration code on my #Commodore64 after only two days of reading online tutorials and mnemonics references as well as different sources on the internals of the #VIC2 chip.
But somehow things just fell into place this time, after more than 35 years, and suddenly everything made sense. Or maybe I've finally lost my mind ... who knows?!
What a wonderful machine this is indeed!
#cc65 #mos6502 #assembler #commodore64 #vic2 #c64
I just completed "Treetop Tree House" - Day 8 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/8
in #atari8bit #cc65
dealing with overflows in this one was a pain
#adventofcode #atari8bit #cc65
I just completed "No Space Left On Device" - Day 7 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/7
in #atari8bit #cc65
#adventofcode #atari8bit #cc65
I just completed "Tuning Trouble" - Day 6 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/6
in #atari8bit #cc65
#adventofcode #atari8bit #cc65
I just completed "Tuning Trouble" - Day 6 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/6
in #atari8bit #cc65
#adventofcode #atari8bit #cc65
I just completed "Supply Stacks" - Day 5 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/5
in #atari8bit #cc65
#cc65 #adventofcode #atari8bit
Wife went to work, kid at school. You know what we guys do when alone…
That’s right !#adventofcode #cc65
I just completed "Camp Cleanup" - Day 4 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/4
in #atari8bit #cc65
#adventofcode #atari8bit #cc65
I just completed "Rock Paper Scissors" - Day 2 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/2 in #cc65 #atari8bit
#adventofcode #cc65 #atari8bit
I just completed "Rock Paper Scissors" - Day 2 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/2 in #cc65 #atari8bitfile:///home/mariano/Pictures/Screenshot%20from%202022-12-20%2020-15-37.png
#cc65 #adventofcode #atari8bitfile
I just completed "Calorie Counting" - Day 1 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/1
on #atari8bit #cc65
#atari8bit #cc65 #adventofcode
Art for sure needed, but programming made a lot of progress today
#cc65 #atari8bit #tacobot
Art for sure needed, but programming meda a lot of progress today
#cc65 #atari8bit #tacobot
Returned to some #cc65 code I wrote a few years ago. Not sure wether to continue it using cc65 or take things a little more back to the roots and use #powerc on the #commodore64 natively.
Finally looking good! Dealing with floats in cc65 is a pain in the butt 😩
#c64 #cc65 #fractals #commodore64 #retrocomputing #mandelbrot
#c64 #cc65 #fractals #commodore64 #retrocomputing #mandelbrot