ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bwx_ncu.h 1.8 KiB

v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /***************************************************************
  2. bwx_ncu.h Header File for Linux (and others?) using Ncurses
  3. library,
  4. This BWBASIC file hacked together by L.C. Benschop,
  5. Eindhoven, The Netherlands.
  6. (benschop@eb.ele.tue.nl)
  7. Copyright (c) 1993, Ted A. Campbell
  8. Bywater Software
  9. email: tcamp@delphi.com
  10. Copyright and Permissions Information:
  11. All U.S. and international rights are claimed by the author,
  12. Ted A. Campbell.
  13. This software is released under the terms of the GNU General
  14. Public License (GPL), which is distributed with this software
  15. in the file "COPYING". The GPL specifies the terms under
  16. which users may copy and use the software in this distribution.
  17. A separate license is available for commercial distribution,
  18. for information on which you should contact the author.
  19. ***************************************************************/
  20. #define IMP_IDSTRING "NCU" /* unique ID string for this implementation */
  21. /* Definitions indicating which commands and functions are implemented */
  22. #define IMP_FNCINKEY 1 /* 0 if INKEY$ is not implemented, 1 if it is */
  23. #define IMP_CMDCLS 1 /* 0 if CLS is not implemented, 1 if it is */
  24. #define IMP_CMDLOC 1 /* 0 if LOCATE is not implemented, 1 if it is */
  25. #define IMP_CMDCOLOR 1 /* 0 if COLOR is not implemented, 1 if it is */
  26. #define UNIX_CMDS TRUE
  27. #define MKDIR_ONE_ARG FALSE /* TRUE if your mkdir has but one argument;
  28. FALSE if it has two */
  29. #define PERMISSIONS 644 /* permissions to set in Unix-type system */