File:  [gforth] / gforth / Attic / io-dos.h
Revision 1.1: download - view: text, annotated - select for diffs
Thu Nov 17 15:53:13 1994 UTC (27 years, 8 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
*Added:
* configure.bat configures on MS-DOS machines
* io-dos.h provides IO for MS-DOS
* makefile.dos is a GNU make Makefile for MS-DOS
*Changed:
* Merged gray/gforth and gray/gray4, added conditional compilation for
  gray ports (gforth and bigFORTH first)
* added gforth recognising string in environment
* added interpreter support for images (starts now with magic)
* changed make rule for ds2texi, so that it can run with Messy-DOS
* added SAVESYSTEM in dumpimage.fs
* fixed bug in Makefile for big endian systems (->configure)

    1: /* Input driver header */
    2: 
    3: #define prep_terminal()
    4: #define deprep_terminal()
    5: #define install_signal_handlers()
    6: 
    7: #include <conio.h>
    8: #include <setjmp.h>
    9: 
   10: extern jmp_buf throw_jmp_buf;
   11: 
   12: #define key()		getch()
   13: #define key_query       FLAG(kbhit())

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>