Hacker News new | past | comments | ask | show | jobs | submit login
Commodore’s Assemblers: Overview (pagetable.com)
61 points by ingve on May 10, 2021 | hide | past | favorite | 8 comments



Back in 1983, I used a 6502 "Machine Language Monitor" cartridge to program my VIC-20.

I had 3 whole K of RAM (some of which was used by the system), so writing pretty much anything required machine code.


Best part, I still have that Commodore VIC-1213 "Machine Language Monitor" [1] along with my beloved VIC-20. I also had (and still have) a character-editor [2] and with that setup I wanted to write a computer game.

Problem was, I didn't know how to write a game, so with the Machine Language Monitor I disassembled Jeff Minter's Gridrunner [3] and learned really wonderful tricks.

I remember, in Gridrunner there was a main loop with 20 JSRs or so and each JSR handled a piece of the game, querying the joystick, updating the spaceship, producing the sound, etc... (kinda cooperative multitasking)

It was a wonderful journey to learn all this stuff from that game and then write my own one...

Jeff, if you ever read this, thank you for that wonderful Gridrunner, not only was playing it a lot of fun, I learned a lot from you!

[1] https://retro8bitshop.com/product/commodore-vic-1213-machine... [2] http://www.lust-auf-nostalgie.de/vc20/04_software/commodore_... [3] https://en.wikipedia.org/wiki/Gridrunner


Don’t exaggerate ;-)

The VIC-20 had a whopping 5kB of RAM. Its basic had 3,583 bytes free.


1 kB "low RAM", 0-0x3ff

4 kB Main RAM, 0x1000 - 0x1fff

1 kilonibble (kN?), practically 512 bytes worth color RAM, 0x9400-0x97ff

So I think you could say unexpanded VIC-20 had 5.5 kB of RAM.


Yeah, but as pointed out above, the system took 2K, so that left the user with 3.5K.


:) Sorry, my bad.


a whole 3.499k!


TIL a good chunk of the C64 was developed on VAX.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: