Next Previous Contents

## 5. Direct console I/O - `conio.h`

The `conio.h` header file contains a large set of functions that do screen and keyboard I/O. The functions will write directly to the screen or poll the keyboard directly with no more help from the operating system than needed. This has some disadvantages, but on the other side it's fast and reasonably portable. conio implementations exist for the following targets:

- apple2
- apple2enh
- atari
- atmos
- c16 (works also for the c116 with up to 32K memory)
- c64
- c128
- plus4 (or expanded c16/c116)
- cbm510 (40 column video)
- cbm610 (all CBM series-II computers with 80 column video)
- geos
- nes
- pet (all CBM PET systems except the 2001)
- vic20

The conio.h header file does also include the system specific header files which define constants for special characters and keys.

Next Previous Contents