Skip navigation
I wrote a short program in 6502 assembly to visualize the CIA bits being activated when buttons are…
0:00 / 1:57

I wrote a short program in 6502 assembly to visualize the CIA bits being activated when buttons are…

Gregorio Naçu

@gregnacu4.8K followers

Visit on X
501 likesDownloadOriginal post

35,472 views #C64

I wrote a short program in 6502 assembly to visualize the CIA bits being activated when buttons are pressed on the keyboard and mouse. It’s neat to see. #C64

16 Comments

Comments from the original post on X (Twitter)

  • Eduard G. Castelló 🤘's profile picture

    @elpatroned

    Love this, I'm thinking to go back coding in assembly just for fun, who know if professionally, but for sure to decompress from the agentic coding.

    5 likes

  • Gregorio Naçu's profile picture

    @gregnacu

    Robots can program better than us. But robots programming for us don't make us feel good about what we've programmed or what we've learned about programming.

    10 likes

  • Bo Laurent's profile picture

    @bolaurent

    @elpatroned Watch @dhh keynote at the recent Ruby on Rails conference.

  • Bo Laurent's profile picture

    @bolaurent

    @elpatroned @dhh

  • Gregorio Naçu's profile picture

    @gregnacu

    @elpatroned @dhh I'll watch it, thanks. I can sorta guess what he's going to say already though.

  • Michael K's profile picture

    @mgkroth

    Brings back a lot of memories!

    3 likes

  • EpicCashOfficial's profile picture

    @EpicCashTech

    6510 Assembly... just saying...

    2 likes

  • Gregorio Naçu's profile picture

    @gregnacu

    You must be fun at parties. It's a C128, by the way. So... yeah, 8502 assembly.

    1 like

  • EpicCashOfficial's profile picture

    @EpicCashTech

    used to code on both 6502 and 6510 😎 more of a joke than really pedantic

    2 likes

  • Gregorio Naçu's profile picture

    @gregnacu

    Their assembly language is 100% identical. 😂 Except the 6510 has a 6-bit port controllable from $00 for direction and $01 for data. You can convert a 6502 into a 6510 with a drop in adapter.

    1 like

  • 7alken's profile picture

    @7alken2

    cool that it went through; ))

    1 like

  • Davide Ficano's profile picture

    @dafi

    I love these posts so much!!!

    1 like

  • Gregorio Naçu's profile picture

    @gregnacu

    🙏

  • Nate Ighurs's profile picture

    @DOOM_WR_REAL

    Terry Davis approved.

  • Thomas Muders's profile picture

    @thmuders

    People that are too young now are wondering what an intelligence agency has to do with the C64 😎

  • Gregorio Naçu's profile picture

    @gregnacu

    haha. Yup. For those who want to know, it's the "Complex Interface Adapter." 😆 And the 1541 drives have less sophisticated versions of this chip called VIA, "Versatile Interface Adapter."

    1 like