💾 Archived View for cugi.ie › aminet › 1683775458.gmi captured on 2023-06-14 at 14:33:26. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-05-24)
-=-=-=-=-=-=-
Author: mbergmann-sh at web.de (Michael Bergmann) Uploader: Michael Bergmann <mbergmann-sh web de> Type: dev/lang Version: 3.20c Replaces: dev/lang/bwbasic320.lha Requires: some love for BASIC coding Architecture: m68k-amigaos Distribution: Aminet Kurz: ByWater BASIC Interpreter v3.20c Date: 2023-05-10 Readme: http://aminet.net/dev/lang/bwbasic320c.readme Downloads: 4
http://aminet.net/dev/lang/bwbasic320c.lha
Bywater BASIC interpreter v 3.20c
=================================
This is an UPDATE to bwbasic v3.20
- fixed some bugs
- ported sources to SAS/C v6.58 for better optimizations
- added some cozmetics.
Bywater Basic interpreter v3.20c for classic Amiga,
recompiled from original UNIX source. Published under
GNU Public Licence.
The Bywater BASIC Interpreter (bwBASIC) implements a large
superset of the ANSI Standard for Minimal BASIC (X3.60-1978)
and a significant subset of the ANSI Standard for Full
BASIC (X3.113-1987) in C.
BWBASIC is an original creation of Ted A. Campbell, who stopped
working on it in 1993. Since then it has received contributions
from other programmers: Jon B. Volkoff, Paul Edwards,
Howard S. Wulf, Ken Martin and Jon Foster.
I recompiled bwBASIC from its original 3.20 sources, using
gcc v2.95 and SAS/C v6.58 with only minor changes to the source
code.(This release was compiled and optimized with SAS/C). Added
some custom makefiles for various CPU/FPU targets. Same source
easily recompiles under Linux and Windows, too. All you'd
need is gcc or mingw installed on the target system.
INSTALL
=======
bwbasic comes with optimized binaries for FPU/IEEE/STD math.
1. copy bin/<DIR>/bwbasic to C:
you might use a build that suits your Amiga, e.g.
COPY bin/FPU/bwbasic_040 TO C:bwbasic
2. Make bwShell work:
COPY s/bwShell-Startup TO S:
Keep the original installation folder somewhere on your hard drive.
It contains docs and examples for using bwbasic.
Make sure that you have a decent version of ixemul.library available
on your system.
USAGE
=====
Inside program, type:
help - show all commands available.
help commandname - show help for a specific command.
list - list source code for the program currently in memory
run - executes the program in memory from the start.
new - deletes the program in memory and clears all variables.
load "filename" - loads an ASCII BASIC program into memory.
save "filename" - saves the current program into the file "filename"
in ASCII format.
shell "command" - lets you run a SHELL or DOS command within bwbasic.
For example, to list the contents of the current
directory, in Linux type shell "ls -l",
in Windows or Amiga type shell "dir".
edit opens C:Ed with loaded source file.
quit - exits bwbasic.
bye - does the same
Michael Bergmann, March 2023
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME ---------- ----------- ------- ------- ------ ---------- ------------ ---------- [unknown] 238 620 38.4% -lh5- fcfc May 9 11:01 bwbasic320c/bwbasic_src_SASC.info [unknown] 444 834 53.2% -lh5- e818 May 9 11:01 bwbasic320c/bwbasic_src_SASC/ANetEdit.map.info [unknown] 489 837 58.4% -lh5- cb84 May 9 11:01 bwbasic320c/bwbasic_src_SASC/Build.info [unknown] 19193 87952 21.8% -lh5- 9237 May 9 14:52 bwbasic320c/bwbasic_src_SASC/bwbasic.c [unknown] 975 1835 53.1% -lh5- 02eb May 10 20:51 bwbasic320c/ReadMe [unknown] 266 482 55.2% -lh5- a4d4 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwbasic.c.info [unknown] 24955 136633 18.3% -lh5- 72d4 May 9 16:40 bwbasic320c/bwbasic_src_SASC/bwbasic.h [unknown] 220 482 45.6% -lh5- c186 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwbasic.h.info [unknown] 445 834 53.4% -lh5- afc9 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwbasic.map.info [unknown] 105 180 58.3% -lh5- 534c May 9 10:06 bwbasic320c/bwbasic_src_SASC/bwbasic_protos.h [unknown] 226 482 46.9% -lh5- 3b6e May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwbasic_protos.h.info [unknown] 333000 769608 43.3% -lh5- d405 May 9 11:19 bwbasic320c/bwbasic_src_SASC/bwbasic_sc [unknown] 394 831 47.4% -lh5- 9205 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwbasic_sc.info [unknown] 147 1560 9.4% -lh5- a088 May 10 10:31 bwbasic320c/bwbasic_src_SASC/bwBASIC_sc.projecttree [unknown] 291 2031 14.3% -lh5- 75d6 May 10 10:31 bwbasic320c/bwbasic_src_SASC/bwBASIC_sc.session [unknown] 33571 230584 14.6% -lh5- 13f2 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_cmd.c [unknown] 266 482 55.2% -lh5- b1c8 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_cmd.c.info [unknown] 7461 43588 17.1% -lh5- e794 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_cnd.c [unknown] 266 482 55.2% -lh5- a95c May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_cnd.c.info [unknown] 3834 27655 13.9% -lh5- f1f3 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_dio.c [unknown] 265 482 55.0% -lh5- dc8c May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_dio.c.info [unknown] 15173 93086 16.3% -lh5- 5651 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_exp.c [unknown] 264 482 54.8% -lh5- 4a8d May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_exp.c.info [unknown] 16276 99685 16.3% -lh5- 9030 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_fnc.c [unknown] 265 482 55.0% -lh5- 71c2 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_fnc.c.info [unknown] 14686 82700 17.8% -lh5- 3eaf May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_inp.c [unknown] 265 482 55.0% -lh5- 0bb1 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_inp.c.info [unknown] 14676 88463 16.6% -lh5- 5e13 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_int.c [unknown] 265 482 55.0% -lh5- 1e96 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_int.c.info [unknown] 14290 68351 20.9% -lh5- e27b May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_prn.c [unknown] 265 482 55.0% -lh5- 0602 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_prn.c.info [unknown] 8139 40144 20.3% -lh5- 5291 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_stc.c [unknown] 266 482 55.2% -lh5- 5295 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_stc.c.info [unknown] 4595 18597 24.7% -lh5- 5aed May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_str.c [unknown] 266 482 55.2% -lh5- c494 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_str.c.info [unknown] 4730 66741 7.1% -lh5- 69d2 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_tbl.c [unknown] 266 482 55.2% -lh5- ffdb May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_tbl.c.info [unknown] 404 922 43.8% -lh5- 1ed6 May 9 09:43 bwbasic320c/bwbasic_src_SASC/bwb_user.h [unknown] 17567 110145 15.9% -lh5- e469 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwb_var.c [unknown] 266 482 55.2% -lh5- 908f May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwb_var.c.info [unknown] 14889 109828 13.6% -lh5- f2fb May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwd_cmd.c [unknown] 266 482 55.2% -lh5- 881b May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwd_cmd.c.info [unknown] 17028 136682 12.5% -lh5- 829b May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwd_fun.c [unknown] 266 482 55.2% -lh5- b1f8 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwd_fun.c.info [unknown] 4880 27271 17.9% -lh5- e928 May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwd_six.h [unknown] 221 482 45.9% -lh5- 38d8 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwd_six.h.info [unknown] 1129 3885 29.1% -lh5- 351c May 5 09:37 bwbasic320c/bwbasic_src_SASC/bwx_tty.c [unknown] 269 482 55.8% -lh5- ba71 May 9 11:01 bwbasic320c/bwbasic_src_SASC/bwx_tty.c.info [unknown] 1711 2632 65.0% -lh5- a81a May 9 09:37 bwbasic320c/bwbasic_src_SASC/Debug [unknown] 363 822 44.2% -lh5- 3169 May 9 11:01 bwbasic320c/bwbasic_src_SASC/Debug.info [unknown] 530 834 63.5% -lh5- f1a9 May 9 11:01 bwbasic320c/bwbasic_src_SASC/Edit.info [unknown] 436 838 52.0% -lh5- 9215 May 9 11:01 bwbasic320c/bwbasic_src_SASC/Find.info [unknown] 530 1033 51.3% -lh5- 0ab2 May 9 11:22 bwbasic320c/bwbasic_src_SASC/makefile [unknown] 582 1127 51.6% -lh5- b201 May 9 17:45 bwbasic320c/bwbasic_src_SASC/makefile.020 [unknown] 582 1127 51.6% -lh5- 328d May 9 17:47 bwbasic320c/bwbasic_src_SASC/makefile.030 [unknown] 582 1127 51.6% -lh5- 712c May 9 17:48 bwbasic320c/bwbasic_src_SASC/makefile.040 [unknown] 584 1127 51.8% -lh5- 3037 May 9 17:49 bwbasic320c/bwbasic_src_SASC/makefile.060 [unknown] 580 1124 51.6% -lh5- 78c8 May 9 17:40 bwbasic320c/bwbasic_src_SASC/makefile.68k [unknown] 579 1122 51.6% -lh5- ab83 May 9 16:43 bwbasic320c/bwbasic_src_SASC/makefile_release [unknown] 3655 16267 22.5% -lh5- 05b8 May 5 09:37 bwbasic320c/bwbasic_src_SASC/renum.c [unknown] 269 482 55.8% -lh5- e696 May 9 11:01 bwbasic320c/bwbasic_src_SASC/renum.c.info [unknown] 215 389 55.3% -lh5- d8e7 May 9 17:50 bwbasic320c/bwbasic_src_SASC/scoptions [unknown] 445 2950 15.1% -lh5- 6e5f May 9 11:01 bwbasic320c/bwbasic_src_SASC/SCoptions.info [unknown] 147 218 67.4% -lh5- 26a6 May 9 11:23 bwbasic320c/bwbasic_src_SASC/scoptions_debug [unknown] 296 727 40.7% -lh5- d5d4 May 8 15:02 bwbasic320c/bwbasic_src_SASC/shellattrs.h [unknown] 224 482 46.5% -lh5- ed8a May 9 11:01 bwbasic320c/bwbasic_src_SASC/shellattrs.h.info [unknown] 415 929 44.7% -lh5- f575 May 9 10:53 bwbasic320c/bwbasic_src_SASC/smakefile [unknown] 200 834 24.0% -lh5- bb7e May 9 11:01 bwbasic320c/bwbasic_src_SASC/smakefile.info [unknown] 848 3101 27.3% -lh5- e8c8 May 9 10:28 bwbasic320c/bwbasic_src_SASC/unixio.c [unknown] 269 482 55.8% -lh5- c1cb May 9 11:01 bwbasic320c/bwbasic_src_SASC/unixio.c.info [unknown] 360 742 48.5% -lh5- 3a5c May 5 09:37 bwbasic320c/bwbasic_src_SASC/unixio.h [unknown] 1383 1656 83.5% -lh5- 9cee May 10 20:38 bwbasic320c/bin/STD.info [unknown] 157706 414140 38.1% -lh5- daf8 May 10 20:41 bwbasic320c/bin/STD/bwbasic_020 [unknown] 157721 414132 38.1% -lh5- 6338 May 10 20:42 bwbasic320c/bin/STD/bwbasic_030 [unknown] 157309 414092 38.0% -lh5- d182 May 10 20:43 bwbasic320c/bin/STD/bwbasic_040 [unknown] 157569 414124 38.0% -lh5- ea1f May 10 20:44 bwbasic320c/bin/STD/bwbasic_060 [unknown] 224 482 46.5% -lh5- ab09 May 9 11:01 bwbasic320c/bwbasic_src_SASC/unixio.h.info [unknown] 1383 1656 83.5% -lh5- 5a9d May 10 20:20 bwbasic320c/bin/IEEE.info [unknown] 153367 409056 37.5% -lh5- d2d0 May 10 20:37 bwbasic320c/bin/IEEE/bwbasic [unknown] 153241 406508 37.7% -lh5- 6db2 May 10 20:32 bwbasic320c/bin/IEEE/bwbasic_030 [unknown] 152873 406468 37.6% -lh5- d471 May 10 20:34 bwbasic320c/bin/IEEE/bwbasic_040 [unknown] 153155 406500 37.7% -lh5- e3f7 May 10 20:35 bwbasic320c/bin/IEEE/bwbasic_060 [unknown] 157743 416676 37.9% -lh5- 298d May 10 20:39 bwbasic320c/bin/STD/bwbasic [unknown] 245 624 39.3% -lh5- 6359 May 5 13:44 bwbasic320c/bin.info [unknown] 1387 1656 83.8% -lh5- 365d May 10 20:19 bwbasic320c/bin/FPU.info [unknown] 149955 399644 37.5% -lh5- 62dc May 10 20:29 bwbasic320c/bin/FPU/bwbasic_020 [unknown] 149940 399640 37.5% -lh5- 0968 May 10 20:23 bwbasic320c/bin/FPU/bwbasic_030 [unknown] 149590 399596 37.4% -lh5- 7b93 May 10 20:25 bwbasic320c/bin/FPU/bwbasic_040 [unknown] 149864 399628 37.5% -lh5- e0ab May 10 20:27 bwbasic320c/bin/FPU/bwbasic_060 [unknown] 153229 406516 37.7% -lh5- 2037 May 10 20:31 bwbasic320c/bin/IEEE/bwbasic_020 [unknown] 135888 334824 40.6% -lh5- 190c May 5 09:28 bwbasic320c/bwbasic [unknown] 1276 1502 85.0% -lh5- 6107 May 5 13:44 bwbasic320c/bwbasic.info [unknown] 1059 1707 62.0% -lh5- 82a9 May 5 13:44 bwbasic320c/bwShell.info [unknown] 33844 620059 5.5% -lh5- 3c3e May 5 07:13 bwbasic320c/docs/ALL.txt [unknown] 9955 61306 16.2% -lh5- 5c89 May 5 07:13 bwbasic320c/docs/BYWATER-2.txt [unknown] 17331 113198 15.3% -lh5- f860 May 5 07:13 bwbasic320c/docs/BYWATER.txt [unknown] 7315 47172 15.5% -lh5- 11d9 May 5 07:13 bwbasic320c/docs/CALL-360.txt [unknown] 7849 48377 16.2% -lh5- 41f4 May 5 07:13 bwbasic320c/docs/CBASIC-II.txt [unknown] 4939 104697 4.7% -lh5- 34e5 May 5 07:13 bwbasic320c/docs/CMDS.HTM [unknown] 6894 43586 15.8% -lh5- b45b May 5 07:13 bwbasic320c/docs/DARTMOUTH.txt [unknown] 9375 58057 16.1% -lh5- ab6c May 5 07:13 bwbasic320c/docs/ECMA-116.txt [unknown] 6241 38299 16.3% -lh5- ef90 May 5 07:13 bwbasic320c/docs/ECMA-55.txt [unknown] 3806 99613 3.8% -lh5- 6169 May 5 07:13 bwbasic320c/docs/FNCS.HTM [unknown] 7836 48547 16.1% -lh5- 20fb May 5 07:13 bwbasic320c/docs/GCOS.txt [unknown] 12340 79157 15.6% -lh5- d981 May 5 07:13 bwbasic320c/docs/HAARDT.txt [unknown] 10167 68795 14.8% -lh5- de38 May 5 07:13 bwbasic320c/docs/HANDBOOK1.txt [unknown] 12811 88475 14.5% -lh5- 0896 May 5 07:13 bwbasic320c/docs/HANDBOOK2.txt [unknown] 7933 48865 16.2% -lh5- 322f May 5 07:13 bwbasic320c/docs/HEATH.txt [unknown] 8983 54021 16.6% -lh5- f8e0 May 5 07:13 bwbasic320c/docs/IBASIC.txt [unknown] 7529 46378 16.2% -lh5- 4279 May 5 07:13 bwbasic320c/docs/MARK-I.txt [unknown] 7910 48682 16.2% -lh5- bd76 May 5 07:13 bwbasic320c/docs/MARK-II.txt [unknown] 11134 71246 15.6% -lh5- fc64 May 5 07:13 bwbasic320c/docs/MBASIC.txt [unknown] 5865 36684 16.0% -lh5- 849a May 5 07:13 bwbasic320c/docs/PDP-11.txt [unknown] 6198 38557 16.1% -lh5- d68e May 5 07:13 bwbasic320c/docs/PDP-8.txt [unknown] 8884 56058 15.8% -lh5- 4046 May 5 07:13 bwbasic320c/docs/RBASIC.txt [unknown] 11967 77416 15.5% -lh5- 2edf May 5 07:13 bwbasic320c/docs/RSTS-11.txt [unknown] 7307 47169 15.5% -lh5- 7de4 May 5 07:13 bwbasic320c/docs/SYSTEM-360.txt [unknown] 7351 47248 15.6% -lh5- c0f6 May 5 07:13 bwbasic320c/docs/SYSTEM-370.txt [unknown] 245 624 39.3% -lh5- b0f7 May 5 13:44 bwbasic320c/docs.info [unknown] 11157 71439 15.6% -lh5- cfaf May 5 07:13 bwbasic320c/docs/TRS-80.txt [unknown] 5909 36797 16.1% -lh5- 8303 May 5 07:13 bwbasic320c/docs/VINTAGE.txt [unknown] 8730 55343 15.8% -lh5- 2372 May 5 07:13 bwbasic320c/docs/XBASIC.txt [unknown] 349 846 41.3% -lh5- bc12 May 8 07:23 bwbasic320c/examples/mb_bool.bas [unknown] 217 374 58.0% -lh5- 2757 May 8 07:23 bwbasic320c/examples/mb_bool.bas.info [unknown] 97 118 82.2% -lh5- df54 May 6 18:43 bwbasic320c/examples/time.bas [unknown] 370 834 44.4% -lh5- 9c6c May 8 08:16 bwbasic320c/examples/aqb_bool.bas [unknown] 215 374 57.5% -lh5- a96e May 8 08:16 bwbasic320c/examples/aqb_bool.bas.info [unknown] 413 1044 39.6% -lh5- 273c May 6 18:10 bwbasic320c/examples/bool.bas [unknown] 108 156 69.2% -lh5- db02 May 9 15:11 bwbasic320c/examples/dir.bas [unknown] 98 109 89.9% -lh5- c8f6 May 9 16:39 bwbasic320c/examples/hello.bas [unknown] 217 374 58.0% -lh5- 2757 May 8 07:23 bwbasic320c/examples/hello.bas.info [unknown] 334 526 63.5% -lh5- 7c4d May 5 07:13 bwbasic320c/examples/GAMES/00readme.txt [unknown] 812 1714 47.4% -lh5- 2239 May 5 07:13 bwbasic320c/examples/GAMES/23-match.bas [unknown] 14 14 100.0% -lh0- 6b0a May 5 07:13 bwbasic320c/examples/GAMES/23-match.INP [unknown] 245 384 63.8% -lh5- 4f1c May 5 07:13 bwbasic320c/examples/GAMES/3dplot.bas [unknown] 1 1 100.0% -lh0- 0780 May 5 07:13 bwbasic320c/examples/GAMES/3dplot.INP [unknown] 907 2221 40.8% -lh5- 117b May 5 07:13 bwbasic320c/examples/GAMES/aceyducy.bas [unknown] 33 48 68.8% -lh5- c9a5 May 5 07:13 bwbasic320c/examples/GAMES/aceyducy.INP [unknown] 1039 2992 34.7% -lh5- 2821 May 5 07:13 bwbasic320c/examples/GAMES/amazing.bas [unknown] 6 6 100.0% -lh0- 4e79 May 5 07:13 bwbasic320c/examples/GAMES/amazing.INP [unknown] 926 1991 46.5% -lh5- b8a3 May 5 07:13 bwbasic320c/examples/GAMES/animal.bas [unknown] 244 624 39.1% -lh5- dbb8 May 5 13:44 bwbasic320c/examples.info [unknown] 25 28 89.3% -lh5- a796 May 5 07:13 bwbasic320c/examples/GAMES/animal.INP [unknown] 878 2039 43.1% -lh5- c943 May 5 07:13 bwbasic320c/examples/GAMES/awari.bas [unknown] 24 50 48.0% -lh5- de2f May 5 07:13 bwbasic320c/examples/GAMES/awari.INP [unknown] 641 732 87.6% -lh5- 37ce May 5 13:44 bwbasic320c/ReadMe.info [unknown] 1513 4004 37.8% -lh5- 1802 May 5 10:21 bwbasic320c/S/bwShell-startup [unknown] 242 620 39.0% -lh5- c438 May 9 08:44 bwbasic320c.info [unknown] 245 624 39.3% -lh5- e5ca May 5 13:44 bwbasic320c/S.info ---------- ----------- ------- ------- ------ ---------- ------------ ---------- Total 149 files 3167450 10631295 29.8% May 11 03:24
Aminet © 1992-2023 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>