I updated the article with a new Tips & Tricks : How to include binary files into the compiled file ? Click here to read it.
This version includes many important bug-fixes, thanks to your awesome feedback (hello Optimus ! :-). IX/IY registers should now be correctly handled, and utility functions such as _multiply or _abs are now automatically inserted at end of generated source. You can download latest version here.
Here we are. I finally made big pressure on me to finish writing the last tutorial about SDCC :) As usual, send me comments if you need more information, I will be glad to complete the corresponding articles.
This is a custom tool to be used to convert .asm files generated by SDCC C compiler to .asm files compatible with Pasmo. Pasmo is a Z80 assembler with Maxam-style syntax. Download SDCC2Pasmo here (also added in Productions section). This is version 1.0, so please be indulgent with potential issues you may encounter. I used it for 2 weeks now and fixed all the problems I was able to find on my side.
I made available as a download link the PhrozenC's manual I wrote. It's about 36 pages to explain how to use the compiler and its dedicated small library for the Amstrad CPC. As a reminder, PhrozenC is a K&R C compiler running on Amstrad CPC platforms (64Kb/128Kb/ROM). Phreaks demo has been created using it.
Looks like I'm quite motivated these days. I just added Part 2 of the tutorial series dealing with SDCC.
Today I decided to start writing a series of 4 tutorials dealing with C programming for the Amstrad CPC using SDCC compiler.
These articles are : introducing C usage for the Amstrad CPC, compiling a C program with SDCC, using Maxam syntax for inlined asm code in your C programs, and finally a tip & tricks article. Enjoy today's Part 1. Contact me privately if you need more information that could be eventually added later in tutorials. There is now a small RSS feed icon for this blog, located at the right side. Feel free to subscribe it !
|
Categories
All
AuthorI (NoRecess) am an active programmer for the 1985's Amstrad CPC computer. Feel free to contact me via the Contact section. |