cpc-dev-tool-chain
cpc-dev-tool-chain copied to clipboard
A development toolchain to compile your modern C or assembly projects on a modern OS and run on an Amstrad CPC or emulator.
Basically ```c typedef union random_xorshift_state_t { struct { uint8_t a; uint8_t b; uint8_t c; uint8_t x; }; uint32_t as_uint32_t; } random_xorshift_state_t; random_xorshift_state_t rxs; /** Suggested use: unsigned long int time_now...
## Situation Currently, cpc-dev-tool-chain works in a local Linux environment. ## Shortcoming * MacOS is untested * Windows users are mostly left for a cygwin experience * git clone is...
Currently, CPC applications are built "old style", "in source": build artifacts land in the same tree as source files. This clutters the source directories with generated files, generates false positives...
Currently, tools are run off their build directory. Only "sdcc" has an install tree with a proper "make install". This makes unpractical to remove temporary build artifacts while keeping working...
For fun. It's sometimes useful. The [greatest common divisor](https://en.wikipedia.org/wiki/Greatest_common_divisor "greatest common divisor") has an interesting algorithm where divisions are needed only to divide by 2, the [binary GCD algorithm](https://en.wikipedia.org/wiki/Binary_GCD_algorithm "Binary...
Based on https://github.com/stevenhoving/integer_division . For example, include https://github.com/stevenhoving/integer_division/blob/master/integer_division_uint8.h and check if it's indeed faster than SDCC's division. I see 3 cases: * divide by a constant known at compile-time. This...
Add the short code from [cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html](http://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html "cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html"). Sure it's a simple regexp implementation, would be fun addition.
Currently, project is assumed to have a main target which is a binary file derived from C source code. Ancillary make targets make it possible to include other files in...
Kevin Thacker wrote pluslib. Upstream source: http://www.cpctech.org.uk/download.html Announcement: http://www.cpcwiki.eu/forum/programming/pluslib/ Mirrors: https://github.com/pulkomandy/pluslib https://github.com/cpcitor/pluslib It would be nice to make it easy to use this library in cpc-dev-tool-chain projects.
New version of CPCRSLib does not work with present cpc-dev-tool-chain makefiles. It also introduces a problem (not a library problem, but a requirement for latest SDCC patches), as it uses...