You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/dos
Bill-Gray 3616f81f80 PDC_init_color() now takes integers, not shorts. This had some small ripple effects. 6 years ago
..
CMakeLists.txt Copied over wmcbrine branch a little too eagerly : it lacks CMakeLists.txt files 6 years ago
Makefile Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
Makefile.bcc Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
Makefile.dmc Digital Mars makefile for DOS referred to 'newdemo', now known as 'ozdemo' 6 years ago
Makefile.wcc Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
README.md Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
naptest.c Corrected 'naptest' handling of midnight-spanning naps 6 years ago
pdcclip.c Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
pdcdisp.c Eliminated CHTYPE_16 (16-bit chtype) option. Default remains 64-bit chtypes, and one can #define CHTYPE_32 to get 32-bit chtypes. Mostly just meant I could chop out vast amounts of code, and CHTYPE_LONG is gone. 6 years ago
pdcdos.h Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
pdcgetsc.c Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
pdckbd.c Replaced existing DOS platform with wmcbrine code (with minor additions of new functions). 6 years ago
pdcscrn.c PDC_init_color() now takes integers, not shorts. This had some small ripple effects. 6 years ago
pdcsetsc.c Moved pdc_color_started into SP as 'color_started'. 6 years ago
pdcutil.c DOS version of nap_msl should have recursed to itself, not the short-int variant. Noticed when I didn't do a 32-bit compile. 6 years ago

README.md

PDCurses for DOS

This directory contains PDCurses source code files specific to DOS.

Building

  • Choose the appropriate makefile for your compiler:

      Makefile     - DJGPP
      Makefile.bcc - Borland C++
      Makefile.wcc - Watcom
    
  • For 16-bit compilers, you can change the memory MODEL as a command- line option. (Large model is the default, and recommended.) With Watcom, specifying "MODEL=f" (flat) will automatically switch to a 32-bit build.

  • Optionally, you can build in a different directory than the platform directory by setting PDCURSES_SRCDIR to point to the directory where you unpacked PDCurses, and changing to your target directory:

      set PDCURSES_SRCDIR=c:\pdcurses
    
  • Build it:

      make -f makefile
    

    (For Watcom, use "wmake" instead of "make".) You'll get the library (pdcurses.lib or .a, depending on your compiler) and a lot of object files. Add the target "demos" to build the sample programs.

Distribution Status

The files in this directory are released to the public domain.

Acknowledgements

Watcom C port was provided by Pieter Kunst kunst@prl.philips.nl

DJGPP port was provided by David Nugent davidn@csource.oz.au