Marcel van Kervinck
Marcel van Kervinck
Minimum plan to untether the Gigatron from Arduino/Babelfish and special laptop/PC software (sendFile.py). Building on top of [CardTest](https://forum.gigatron.io/viewtopic.php?p=918#p918): 1. Detect presence of SDC/MMC card connected to the I/O expander board....
Create more ROM space by shrinking the Pictures application. The idea is to replace it with the Easter egg that was in ROMv1, but then with the original three Gigatron...
1. Handle EOF error from putc 2. Handle size, flags, width and precision 3. Implement %o %x %X %p 4. Cross-check with C89 standard instead of K&R2 5. Make charout()...
[Note: This issue is an aggregation for optimisations of the emitted code. I want to park all ideas here for future reference. Regarding priorities in LCC the order should be...
At some point we like to add 64K support, and before that already malloc/free. This leads to options on how to use the upper 32K. The most significant change is...
Longs should eventually become 4-byte. (Now they're still int-sized.)
Working on printf and implementing stdarg, when I noticed this: ``` #include void f(int a, int b, ...) { putchar(a); putchar(b); putchar('\n'); } int main(void) { f('1', '2', '3', '4',...
``` int f(int a) { return 16807 * (a % 27773) - 2836 * (a / 27773); } ```
The C data stack typically lives in $400..$5ff and can therefore cross a page boundary. If an int-sized variable or function argument happens to be split over these pages, accessing...
Globals, and static variables in functions, are (much) faster when they can be placed in the zero page rather than main memory. We can give this zero page real estate...