Live data from Hacker News

Disassembly of the Asteroids arcade game firmware

github.com

21–22 of 22 posts

Re: Disassembly of the Asteroids arcade game firmware

#21

Earlier quoted context omitted.

> sixteen year-old me spent quite a lot of time coding in it for a year or so I always assumed this was what I would be doing for a living when I grew up - I was honestly a little disappointed that high-level languages had progressed so far by the time I joined the workforce.

I think deep knowledge of any assembly helps with any type of programming. You'll have very good perspective of how the CPU and RAM really work, even if modern CPUs are more complex and you have caching and out-of-order in the mix.

> I think deep knowledge of any assembly helps with any type of programming.

I very much agree. I've never written any assembly-level code as part of my work, but having an appreciation of the concepts at that level helped me as newbie C/C++ developer in the mid nineties.

Nowadays I work slmost entirely in the .net stack, but even there having even a shallow knowledge of the "next level down" helps - the concept of a jitted language only really makes sense if you grok what the jitter is emitting. And the idea of compiler optimisations is easier to understand if you get that language constructs can be realised in different ways, with different costs, as machine code.

Abstraction layers are certainly easier to think about if you see them (even shallowly) from both sides.

Re: Disassembly of the Asteroids arcade game firmware

#22

Seeing 6502 assembly language made me feel a bit nostalgic - sixteen year-old me spent quite a lot of time coding in it for a year or so, first on my Vic 20 then on an Acorn Electron. I was surprised to find that I can still almost read it and, browsing an instruction set reference just now, I'm impressed all over again by its succinctness. Wiki has a few notes on the game hardware and implementation at [1]. The Quad…

Tons of additional information here from an Atari staff engineer who worked on some of the XY games. [1] [2] [1] https://www.jmargolin.com/vgens/vgens.htm [2] http://www.jmargolin.com/xy/xymon.htm

Fascinating - particularly the description of the state machine implementation. Thank you.
Post reply on HN