diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-22 04:49:35 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-23 06:51:22 +0300 |
commit | 522d0aafc73e4412439921e2dcd10f698984a94f (patch) | |
tree | 07c2c594182e8b502d70916019f49ce8791a3e03 /Makefile.wcc | |
parent | 21a986f52bd2fb1e6522503cc9796adf71b29a37 (diff) | |
download | videoteco-fork-522d0aafc73e4412439921e2dcd10f698984a94f.tar.gz |
DOS: implemented console size detection
This is done via 10h interrupts and special memory regions.
The alternative would have been to use set the cursor to 9999,9999
and query the cursor position via ANSI escape sequences.
Diffstat (limited to 'Makefile.wcc')
-rw-r--r-- | Makefile.wcc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.wcc b/Makefile.wcc index 21d1b8e..ffee78c 100644 --- a/Makefile.wcc +++ b/Makefile.wcc @@ -24,7 +24,8 @@ LDFLAGS += format dos option map option stack=16k & set WCC_DEFS=-dSTDC_HEADERS=1 -dHAVE_STDIO_H -dHAVE_CTYPE_H -dHAVE_ERRNO_H & -dHAVE_STRING_H -dHAVE_STRINGS_H -dHAVE_FCNTL_H -dHAVE_IO_H & -dHAVE_SYS_STAT_H -dHAVE_SIGNAL_H -dHAVE_STDLIB_H -dHAVE_UNISTD_H & - -dHAVE_STDINT_H -dHAVE_DIRECT_H -dHAVE_SBRK -dHAVE_STRCHR -dTERMCAP + -dHAVE_STDINT_H -dHAVE_DIRECT_H -dHAVE_I86_H & + -dHAVE_SBRK -dHAVE_STRCHR -dTERMCAP all : teco.exe .SYMBOLIC |