Prints a character on the screen using firmware routines. This function is required by printf when we use C standard library.
void putchar (char c)
This function is required by C standard library to be able to use printf. It defines a way to print a given character to the screen. This version of the function makes use of firmware to print.
Firmware must be ENABLED to be able to use this function.
Calling this function with firmware disabled yields undefined behaviour, but normally leads to firmware being reenabled (unless 0xBB5A has been overwritten previously).
AF, BC, DE, HL
14 bytes
Case | microSecs(us) | CPU Cycles ------------------------------------- C Call | 16 + PC | 64 + PC ------------------------------------- Any | 9 + PC | 36 + PC -------------------------------------
PC = Time used in the call to firmware Print Charater function