Latest version is available here. It fixes problems with IX/IY registers handling.
Octoate sent me words about the updated project template he did for Code::Blocks IDE (which is a free and powerful source-code editor). Sample project allows to compile SDCC Tutorial Part 3 ("Hello World"). An archive is provided with step-by-step description.
Update includes the following : - added SDCC2Pasmo v1.3 - changed project settings (filename can be set in project properties) - changed post-build options to use the filename of the project properties - added pre- and post-build batch files to execute own commands before and after the build process (e.g. for compressing files and adding files to a DSK file) - added ManageDSK with example in post-build batch file which creates a new DSK image which contains all .BIN files from the bin/Release directory You can get more information about this update here. Many thanks to you Octoate ! Many thanks to Optimus for reporting me some badly generated code when dealing with AND logic-operation. You can download latest version here.
My personal conclusion thanks to my own experience with z88dk and SDCC was that SDCC produced much better code than z88dk. Today I got confirmation from one of the z88dk authors here : "sdcc currently generates code which in general is smaller and faster than the one generated by z88dk [...] it does support a more complete subset of standard C compared to z88dk. It is actively maintained (releases about once a year) and keeps improving.". Don't get me wrong : competition is good and actually benefits to both projects. Still - basically it's a fact that today SDCC is the best C compiler available for Z80 developments.
I updated the article with a new Tips & Tricks : How can I retrieve parameters in a C function from inlined assembly code ? Click here to read it.
I updated the article with a new Tips & Tricks : How to use multiple C source-files in a single project ? Click here to read it.
Once again - a new release. From here this release is a stable version and recommended for everyone.
Changelog : fixed other minor issues with IX/IY registers handling, added better support for #< and #> SDCC's operations, and finally, added only required C lib code at end of generated source file. Thanks a million to Optimus for providing such a great support ! :) You can download latest version here. 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.
|
Categories
All
AuthorI (NoRecess) am an active programmer for the 1985's Amstrad CPC computer. Feel free to contact me via the Contact section. |