1. -o hello creates a hello.cpc file on the disk. I would prefer the file on the disk not having the extension .cpc, but instead .bin.
The advantage would be: if the file is named hello.bin, you can load it with
RUN"hello"
But if the file is named hello.cpc, you have to load it with
RUN"hello.cpc"
2. The screen border is blue by default, is there a way to change its colour? Same for the foreground colour which by default is cyan.
Code: Select all
textcolor(WHITE);
textbackground(BLACK);
3. Is there a way to programmatically clear the keyboard buffer? Either any target-specific trick, or is there even a console function that would do this?
On the CPC, a short key press has a much longer effected than on other targets.
E.g. when my program goes from screen A to B and then to C, I would like to use the X key to always return to the previous screen. When pressing X on screen C, I would like to clear any present keyboard input when getting to B, in order to prevent from further returning to screen A.