diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-02-17 03:45:41 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-02-17 03:45:41 -0500 |
| commit | f1bf0a483e917b67cf9db6483072db261f7688c3 (patch) | |
| tree | 66fc917d1c224f891eb57a6a59710b73569482ba /src/conio.c | |
| parent | 4187e2f3bd0d12e37c494cb990bf4fbd7885555e (diff) | |
| download | fujinet-chat-f1bf0a483e917b67cf9db6483072db261f7688c3.tar.gz | |
Start welding the new UI code to the client. Compiles but doesn't work yet...
Diffstat (limited to 'src/conio.c')
| -rw-r--r-- | src/conio.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/conio.c b/src/conio.c deleted file mode 100644 index 2742ab6..0000000 --- a/src/conio.c +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Simple conio for E: - */ - -#include <atari.h> -#include <string.h> -#include "cio.h" - -void printl(const char* c, int l) -{ - OS.iocb[0].buffer=c; - OS.iocb[0].buflen=l; - OS.iocb[0].command=IOCB_PUTCHR; - ciov(); -} - -void printc(char* c) -{ - OS.iocb[0].buffer=c; - OS.iocb[0].buflen=1; - OS.iocb[0].command=IOCB_PUTCHR; - ciov(); -} - -void print(const char* c) -{ - int l=strlen(c); - printl(c,l); -} - -void get_line(char* buf, unsigned char len) -{ - OS.iocb[0].buffer=buf; - OS.iocb[0].buflen=len; - OS.iocb[0].command=IOCB_GETREC; - ciov(); -} |
