Compiler for Z80

musicman282

Active member
Joined
Jul 24, 2010
Messages
891
Reaction score
43
Location
Akron, Ohio
I"m trying to hack some pacman code and I'm not really skilled in writing code in assembly language yet. I'm having trouble finding a compiler that I can use to create hex files that will allow me to try my code on my pacman machine. Does anyone have a decent compiler that they recommend using?
 
I typically hand-edit the binary by referencing the opcode table ;) . But your question sounds like you want to write high level code, not assembly (asking for a compiler, not assembler)... which I don't think is going to help for hacking existing Pac code.

DogP
 
I typically hand-edit the binary by referencing the opcode table ;) . But your question sounds like you want to write high level code, not assembly (asking for a compiler, not assembler)... which I don't think is going to help for hacking existing Pac code.

DogP

I'm trying to experiment with writing code the runs on the pac hardware. Really just trying to mess around a bit. I've written programs in assembly when I was in college and I just don't think I have the patience for it anymore.
 
I typically hand-edit the binary by referencing the opcode table ;) . But your question sounds like you want to write high level code, not assembly (asking for a compiler, not assembler)... which I don't think is going to help for hacking existing Pac code.

DogP

Wait? You also hand edit the binary? I thought I was the only one. I've always been a firm believer this is the only way to produce efficient code.
 
Wait? You also hand edit the binary? I thought I was the only one. I've always been a firm believer this is the only way to produce efficient code.

Nah.. the best way is to dump the binary code (without any spaces) to paper tape. Make new holes with a paper punch (or cover up existing ones) and then feed back into the PC. :)
 
Back
Top Bottom