Dirty tricks 6502 programmers use (C64 coding competition)

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
User avatar
Dr Jefyll
Posts: 3525
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Dirty tricks 6502 programmers use (C64 coding competition)

Post by Dr Jefyll »

In this article, Janne Hellsten wrote:

"This post recaps some of the C64 coding tricks used in my little Commodore 64 coding competition. The competition rules were simple: make a C64 executable (PRG) that draws two lines to form the below image. The objective was to do this in as few bytes as possible."
lines-2x_.png
lines-2x_.png (529 Bytes) Viewed 1527 times

And some of the dirty tricks are very dirty indeed! :shock: :twisted:

The article got posted to Hacker News today and also in 2019. The resulting discussions can be viewed here and here.

-- Jeff
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
enso1
Posts: 197
Joined: 30 Jul 2024

Re: Dirty tricks 6502 programmers use (C64 coding competitio

Post by enso1 »

Damn, it goes to twitter, which I've never been a member of and never will be...
BillG
Posts: 710
Joined: 12 Mar 2020
Location: North Tejas

Re: Dirty tricks 6502 programmers use (C64 coding competitio

Post by BillG »

I am an on and off Twitter user.

Unfortunately, some changes made around the time Elon Musk bought it made it virtually unusable without a Twitter account.
Post Reply