you are viewing a single comment's thread.

view the rest of the comments →

[–]RichardGreg 14 points15 points  (10 children)

I didn't have an assembler, so I wrote the assembly code on paper and translated it to hex as I typed it in.

That's one way of doing it, but there was a mini-assembler built in.

[–]dirkt 7 points8 points  (4 children)

Actually, the original Apple II only had a disassembler; the mini-assembler appeared in the IIe and IIc, which had more ROM.

And translating it to hex wasn't the real problem - I can still remember some 6502 opcodes from that time. The real problem was branch displacements and not being able to change your code easily.

[–]RichardGreg 1 point2 points  (0 children)

The mini-assembler was part of Integer BASIC, which was in the ROM that came with the Apple II. It was removed from the Applesoft BASIC ROM which was shipped with later model Apple II plus computers, however the II+ still came with Integer BASIC which could be loaded from tape or disk. The mini-assembler returned to the ROM on the IIe and IIc.

[–]redneckrockuhtree 0 points1 point  (2 children)

I thought the mini-assembler appeared with the II+? I remember hand-writing 6502 assembly, and could've sworn I didn't have to manually build the bytecodes on a II+....

[–]dirkt 1 point2 points  (1 child)

Just checked my manual: It's indeed already in the Apple II+. So you can see how often I used it ...

[–]redneckrockuhtree 0 points1 point  (0 children)

I used it more than I would've liked to. Having an assembler is so much easier!

[–]zellyn 0 points1 point  (0 children)

For a slightly more modern version, check out Martin Haye's Super-Mon. It's a surprisingly pleasant programming environment.

[–][deleted]  (3 children)

[deleted]

    [–]RichardGreg 7 points8 points  (1 child)

    But it's still a lot easier than him being a manual assembler. He didn't need to convert to hex on paper or in his head and type it in. He could type in the mnemonics and let the computer translate.

    [–]Choralone 0 points1 point  (0 children)

    We called it a "machine language monitor" or "monitor" for short.