frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Building a Modern C64 Assembly AI Toolchain

https://medium.com/@gianlucabailo/building-a-modern-c64-assembly-ai-toolchain-using-google-gemini-3-1a36464c9458
37•094459•5d ago

Comments

094459•5d ago
Really enjoyed reading this post, and wanted to make it more broadly visible. I am planning on trying this out to see how far I can push it.
afro88•10h ago
Great idea and execution. But please don't get an LLM to write the whole blog post for you. It took the enjoyment out of reading it for me. I want to read about your project in your words. Reading it in LLMs words feels disconnected and not genuine.
noobermin•7h ago
the deepest irony of asking someone to write their own blog post when they can't even be bothered to write their own code
logsr•9h ago
amazing work!
linsomniac•9h ago
I know this is going to be an unpopular opinion, but I'd really like to see something put together for the Commodore 64 Ultimate that is a, likely assembly based, environment that leverages LLMs to be able to build games and demos and the like. Looking back to my VIC-20 (I couldn't afford the C64, but wanted one desperately), the thing I loved the most about it really was the end result.

Don't get me wrong, I loved the process of programming, but these days I have so many things going on that I rarely have the time either during or after work to learn assembly or do any significant low level programming.

I like what they are doing with the C64 now, but for me to get any joy out of getting an Ultimate I'd really need something that would let me play with it at a higher level than assembly or basic. I could see that being a lot of fun for both my 16yo son and myself.

aduty•6h ago
https://marketplace.visualstudio.com/items?itemName=rosc.vs6...

I haven't tried the support for the C or C++ compilers targeting the C64, but that would set you up for developing with the C64 as a target in a modern environment.

If you're wanting it to be on the C64 Ultimate itself, maybe we'll all be in luck in a year or two.

erwincoumans•9h ago
Pretty complex project, brings up C64 assembly programming memories (with some freeze cartridge with monitor to enter asm OP codes). It would be interesting to see all the actual LLM queries to get those results.
tom_•5h ago
The *40 routine feels a bit questionable. Looks like it'll lose some bits. 24*40 is a 10-bit quantity, and you'll need to track the last 2 shifted-out bits. Throwing one away and using the other to add back into the LSB is probably not the best idea.

This sort of thing is written out three times in the code: https://github.com/dexmac221/C64AIToolChain/blob/a7bbc568c0e..., https://github.com/dexmac221/C64AIToolChain/blob/a7bbc568c0e..., https://github.com/dexmac221/C64AIToolChain/blob/a7bbc568c0e...

I'm not going to spend any time doing the computer's job for it by carefully checking every single one against the other, something it can do with perfect accuracy and no mistakes. Nor am I going to double check whether I missed any, which I probably did, because, ditto.

But, looking at the one at line 541, I might be inclined to suggest the following instead. Please step through this in the debugger or whatever though, rather rather than just taking my word for it.

(to save line count, I've put multiple instructions on a line, separated by ':')

    lda tmp_hi:asl:asl:asl:sta ptr_lo ; y*8, an 8-bit quantity
    asl:rol ptr_hi ; y*16, a 9-bit quantity
    asl:rol ptr_hi ; y*32, a 10-bit quantity
    clc:adc ptr_lo:sta ptr_lo ; <(y*32)+y*8=<(y*40)
    lda ptr_hi:and #3:adc #0:sta ptr_hi ; >(y*32)+carry out=>(y*40)

CapROS: The Capability-Based Reliable Operating System

https://www.capros.org/
20•gjvc•1h ago•4 comments

2002: Last.fm and Audioscrobbler Herald the Social Web

https://cybercultural.com/p/lastfm-audioscrobbler-2002/
147•cdrnsf•5h ago•85 comments

Elevated errors across many models

https://status.claude.com/incidents/9g6qpr72ttbr
260•pablo24602•4h ago•130 comments

JSDoc is TypeScript

https://culi.bearblog.dev/jsdoc-is-typescript/
104•culi•6h ago•134 comments

Hashcards: A plain-text spaced repetition system

https://borretti.me/article/hashcards-plain-text-spaced-repetition
250•thomascountz•9h ago•104 comments

Ask HN: What Are You Working On? (December 2025)

144•david927•9h ago•509 comments

History of Declarative Programming

https://shenlanguage.org/TBoS/tbos_15.html
30•measurablefunc•3h ago•10 comments

In the Beginning was the Command Line (1999)

https://web.stanford.edu/class/cs81n/command.txt
92•wseqyrku•6d ago•41 comments

An Attempt at a Compelling Articulation of Forth's Practical Strengths and Eter

https://im-just-lee.ing/forth-why-cb234c03.txt
15•todsacerdoti•1w ago•1 comments

Microsoft Copilot AI Comes to LG TVs, and Can't Be Deleted

https://www.techpowerup.com/344075/microsoft-copilot-ai-comes-to-lg-tvs-and-cant-be-deleted
40•akyuu•1h ago•22 comments

Interview with Kent Overstreet (Bcachefs) [audio]

https://linuxunplugged.com/644
40•teekert•3d ago•24 comments

The Typeframe PX-88 Portable Computing System

https://www.typeframe.net/
90•birdculture•8h ago•28 comments

DARPA GO: Generative Optogenetics

https://www.darpa.mil/research/programs/go
11•birriel•3h ago•1 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
189•nkko•16h ago•114 comments

Advent of Swift

https://leahneukirchen.org/blog/archive/2025/12/advent-of-swift.html
55•chmaynard•6h ago•19 comments

Price of a bot army revealed across online platforms

https://www.cam.ac.uk/stories/price-bot-army-global-index
94•teleforce•10h ago•26 comments

AI and the ironies of automation – Part 2

https://www.ufried.com/blog/ironies_of_ai_2/
210•BinaryIgor•13h ago•91 comments

Show HN: I Ching simulator with accurate Yarrow Stalk probabilities

https://castiching.com/
3•jackzhuo•16h ago•0 comments

GraphQL: The enterprise honeymoon is over

https://johnjames.blog/posts/graphql-the-enterprise-honeymoon-is-over
180•johnjames4214•9h ago•159 comments

Developing a food-safe finish for my wooden spoons

https://alinpanaitiu.com/blog/developing-hardwax-oil/
149•alin23•4d ago•94 comments

Checkers Arcade

https://blog.fogus.me/games/checkers-arcade.html
22•fogus•2d ago•1 comments

Show HN: Dograh – an OSS Vapi alternative to quickly build and test voice agents

https://github.com/dograh-hq/dograh
5•a6kme•6d ago•2 comments

Checkpointing the Message Processing

https://event-driven.io/en/checkpointing_message_processing/
6•ingve•6d ago•0 comments

Baumol's Cost Disease

https://en.wikipedia.org/wiki/Baumol_effect
86•drra•13h ago•93 comments

Claude CLI deleted my home directory Wiped my whole Mac

https://old.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wi...
150•tamnd•2h ago•115 comments

Our emotional pain became a product

https://www.theguardian.com/us-news/ng-interactive/2025/dec/14/trauma-mental-health
20•worik•2h ago•5 comments

SPhotonix – 360TB into 5-inch glass disc with femtosecond laser

https://www.tomshardware.com/pc-components/storage/sphotonix-pushes-5d-glass-storage-toward-data-...
11•peter_d_sherman•1h ago•0 comments

Compiler Engineering in Practice

https://chisophugis.github.io/2025/12/08/compiler-engineering-in-practice-part-1-what-is-a-compil...
109•dhruv3006•18h ago•22 comments

GNU recutils: Plain text database

https://www.gnu.org/software/recutils/
116•polyrand•7h ago•34 comments

Efficient Basic Coding for the ZX Spectrum (2020)

https://blog.jafma.net/2020/02/24/efficient-basic-coding-for-the-zx-spectrum/
50•rcarmo•14h ago•13 comments