Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My parents bought me an early Commodore 64 for Christmas in 1982 and I spent untold days typing in source code from Compute!'s Gazette which was the Commodore-dedicated companion to Compute!.

Their MLX system for entering assembly language programs with a checksum was an amazing way to enter programs from a magazine. I remember enlisting my sister to help me type in the programs and I told her, "Type the line of numbers here. If you type one wrong, it will tell you." She quickly retorted, "If it know what's write, why doesn't the computer type it in!?"

You talk about mind-numbing... A9 00 C0 A0 D4 01 03 05 0A

Apparently I did that too much because I can convert that to 6502 Assembly language in my head.



Yes! Compute!'s Gazette, that was it! Every month users would submit their homegrown works, like "I made a game that can display 16 sprites at once instead of 8 because of this clever IRQ trick" and it would contain the full assembly code, along with their checksum like you said. Compute!'s Gazette.


Actually got some submissions to COMPUTE!'s Gazette accepted in high school (though I also kept all my rejection letters). By then, though, they were technically COMPUTE Gazette Edition after the General Media buyout (yes, Bob "Penthouse" Guccione's outfit).


I am not sure about that D4 6502 op code

    echo 'A9 00 C0 A0 D4 01 03 05 0A' | mondump -r | l

    0300- A9 00     LDA #$00
    0302- C0 A0     CPY #$A0
    0304- D4        ???
    0305- 01 03     ORA ($03,X)
    0307- 05 0A     ORA $0A

using KEGS emulator with 65816 op codes

    call-151

    300:A9 00 C0 A0 D4 01 03 05 0A

    300L

    1=m   1=x   0=d   1=LCbank (0/1)
 
    00/0300: A9 00        LDA #00
    00/0302: C0 A0        CPY #A0
    00/0304: D4 01        PEI 01
    00/0306: 03 05        ORA 05,S
    00/0308: 0A           ASL


A9 = LDA, right? :)

All that remains in me' noggin...




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

Search: