C
Posted: 20 May 2017 18:30
Hi Folks,
I am looking for a C compiler for MTX/FDX/SDX, at the moment, I have Small C running natively under CP/M. As you can imagine, programming on the MTX is a bit of a chore these days, but Small C works well enough under MEMU, so I can edit on my laptop, but am still stuck with using the likes of NewWord as the editor.
What I would like to have is cross compiler that I can use on the PC that would compile to Z80 code that I can just copy the executable over onto MEMU, and ultimately, or a real MTX. As a minimum, the compiler should have libraries that support CP/M, but MTX specific libraries for sound and graphics would be a bonus.
At Memofest 2015, Andy was playing with SDCC and had written some assembler libraries for sound and VDP (they don’t seem to be on Andy's website though?). I was wondering whether Andy had found (or written) a library that allowed SDCC to compile for CP/M 2.2 that I can generate programs for FDX/SDX?
Similarly, I know that Paul was developing with Z88DK, but I'm not sure whether he was doing anything with CP/M - Paul?
So, any suggestions folks?
Regards
Dave
ps - Andy, I sent you an email directly on this question, but it probably is a topic for the forum, hence this post
I am looking for a C compiler for MTX/FDX/SDX, at the moment, I have Small C running natively under CP/M. As you can imagine, programming on the MTX is a bit of a chore these days, but Small C works well enough under MEMU, so I can edit on my laptop, but am still stuck with using the likes of NewWord as the editor.
What I would like to have is cross compiler that I can use on the PC that would compile to Z80 code that I can just copy the executable over onto MEMU, and ultimately, or a real MTX. As a minimum, the compiler should have libraries that support CP/M, but MTX specific libraries for sound and graphics would be a bonus.
At Memofest 2015, Andy was playing with SDCC and had written some assembler libraries for sound and VDP (they don’t seem to be on Andy's website though?). I was wondering whether Andy had found (or written) a library that allowed SDCC to compile for CP/M 2.2 that I can generate programs for FDX/SDX?
Similarly, I know that Paul was developing with Z88DK, but I'm not sure whether he was doing anything with CP/M - Paul?
So, any suggestions folks?
Regards
Dave
ps - Andy, I sent you an email directly on this question, but it probably is a topic for the forum, hence this post