Cpcitor

Results 12 issues of Cpcitor

# Current (observed) situation `autocmd` as it is works for simplest workflows, but is limited: * any current `-a CAP32_*` or `-a CPC_*` adds a CPC `return` keypress which, while...

cleanup

## Inconsistency between doc and behavior Documentation says: > Caprice32 will try and open, in this order: **$CWD/cap32.cfg** ($CWD being the directory where the cap32 executable resides), then a **.cap32.cfg**...

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...

enhancement

## 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...

enhancement

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...

enhancement

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...

enhancement

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...

enhancement

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...

enhancement

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.

enhancement

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...

enhancement