News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Phrozen C

Started by funkheld, 21:39, 19 November 19

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

norecess464

As requested, I have just made the repository public (it's now hosted on Bitbucket).

https://bitbucket.org/norecess464/phrozenc/src/master/

Here is why I lost interest in the project:
  • it was K&R and not ANSI C. This makes a significant difference in implementation -- for example, all variables must be declared at the beginning of a code block.
  • there were no optimizations: each C instruction was translated directly into Z80 ASM without taking the context into account. That said, I don't consider this a major issue when running on a real machine, as it still outperformed BASIC in terms of performance.

Working on improving the two points mentioned above seemed like a massive job -- one that I wasn't able to take on by myself.
Please note that my contribution to this project was limited to porting the existing Small-C codebase to the Amstrad platform and properly repackaging it with RSXs and documentation. I did not write the compiler myself -- that credit goes to Ron Cain, back in the early 1980s.

Still, exploring the internals of a full compiler was a fascinating learning experience. If anyone decides to continue or update the project, please keep this cpcwiki thread going!

Thanks!
My personal website: https://norecess.cpcscene.net
My current project is Sonic GX, a remake of Sonic the Hedgehog for the awesome Amstrad GX-4000 game console!

genesis8

Is it the v1.1 or was there a newer version ? I checked the PDF documentation, but no mention of version at the start of the file
____________
Amstrad news site at Genesis8 Amstrad Page

norecess464

Quote from: genesis8 on 20:46, 13 June 25Is it the v1.1 or was there a newer version ? I checked the PDF documentation, but no mention of version at the start of the file
I can't say regarding the "official" versioning, but I can confirm that this is the most recent version of the codebase I have.
My personal website: https://norecess.cpcscene.net
My current project is Sonic GX, a remake of Sonic the Hedgehog for the awesome Amstrad GX-4000 game console!

zhulien

Thanks, it is really a cool product.

Powered by SMFPacks Menu Editor Mod