4 ms·
You could even use this functionality from your own code - CALL &BB60 would read a character from the current cursor position and return its ASCII code.
by Doctor_Fegg 6y ago
You could even use this functionality from your own code - CALL &BB60 would read a character from the current cursor position and return its ASCII code.
- seanwilson 6y agoAny idea how fast it was? If it was doing a linear search it doesn't sound like it would be fast. Maybe I couldn't find a better way at the time, but to add a pause/delay to game code, I remember using "for" loops that just counted to an arbitrarily high number because the processor was so slow e.g. count from 0 to X to make it wait a few milliseconds.
- Doctor_Fegg 6y agoIt wasn't fast. But if you were really concerned about performance on the CPC you wouldn't be using the firmware anyway. Standard practice to do a delay on the CPC was a loop around CALL &BD19 - that paused until frame flyback, i.e. 1/50th of a second.