Assembling Z80 source using TASM or similar
Posted: Fri Jun 11, 2021 2:12 pm
Greetings Sharp Community!
I'm scratching the surface of assembly language programming as it pertains to my real hardware MZ-700 and the various emulators I've tried. I've done some Z80 programming in the past, but it's all been for non-specific platforms like single board computer stuff. Anyway, I'm familiar enough with the language and processor architecture, and now learning how to specifically apply it to the 700. Up until recently, I've used a DOS command line assembler called TASM for any "greater-than-hello-world" programming I've done for a Z80. Does anyone know how to port .BIN or .OBJ files generated by TASM on a PC to something that the MZ-700 can work with? Using the assemblers that were written to be executed within the 700 system is proving to be more of a challenge than I want right now because my Windows PC with a US keyboard layout doesn't 100% translate properly to the MZ system. My @ symbol is a double quote " and underscore _ is an equals sign = just to name a couple of misses. There are lots! I'd like to be able to write code in Notepad or some other text editor and assemble with TASM, then somehow convert that file output to .MZF, I suppose. I think I'm asking for something analogous to what MASM's linker does linking .OBJ to .EXE for an x86 system, if that helps.
Thanks,
John
I'm scratching the surface of assembly language programming as it pertains to my real hardware MZ-700 and the various emulators I've tried. I've done some Z80 programming in the past, but it's all been for non-specific platforms like single board computer stuff. Anyway, I'm familiar enough with the language and processor architecture, and now learning how to specifically apply it to the 700. Up until recently, I've used a DOS command line assembler called TASM for any "greater-than-hello-world" programming I've done for a Z80. Does anyone know how to port .BIN or .OBJ files generated by TASM on a PC to something that the MZ-700 can work with? Using the assemblers that were written to be executed within the 700 system is proving to be more of a challenge than I want right now because my Windows PC with a US keyboard layout doesn't 100% translate properly to the MZ system. My @ symbol is a double quote " and underscore _ is an equals sign = just to name a couple of misses. There are lots! I'd like to be able to write code in Notepad or some other text editor and assemble with TASM, then somehow convert that file output to .MZF, I suppose. I think I'm asking for something analogous to what MASM's linker does linking .OBJ to .EXE for an x86 system, if that helps.
Thanks,
John