On 04/07/2016 14:46, Gerd Hoffmann wrote:
We run in real mode, so passing around pointers isn't that easy. Given this would make sense for constant strings only (like the 4-byte clear-screen sequence) and not so much for variable stuff we might put all strings in the global segment.
Hmm you're right, pointers are messy here.
Paolo
Would this ...
void sercon_putchar(char *ptr) { char c = GET_GLOBAL(ptr[0]); [ ... ]
... work?