9 * Liest (maximal 31) Zeichen ein, bis Enter gedrückt wird.
10 * Vorsicht: Es wird ein statischer Buffer benutzt, sodass man
11 * das Ergebnis via strdup() retten muss, bevor man get_input()
17 static char output[32];
19 memset(output, '\0', 32);
31 char *format_euro(char *s, int maxlen, int cent){
33 int len = strlen(",EUR");
34 while ((tmp /= 10) > 0)
38 sprintf(s, "%d,%dEUR", cent / 100, cent % 100);
42 void c128_perror(BYTE c, char *msg) {
43 cprintf("\r\nError (Code %d) while: %s\r\nOS Error = %d\r\n", c, msg, _oserror);