Commit Graph

577 Commits

Author SHA1 Message Date
Philip Zembrod
4939662c55 Build v4th.com from .fth sources instead of .fb sources.
This needs two adaptions in the .fth sources:
1. Replace screen comments \\ with multiple line comments \
as fth files have no screens.
2. Move Create Does> constructs each into a single line because the
metacompiler chokes on line breaks in Create Does> when including from
an .fth fileb - unclear atm why.
C64 metacompiler has the same issue - don't remember if I understood
the reason when I encountered the issue there.
2022-03-05 23:21:37 +01:00
Philip Zembrod
6012afd9d8 Enable metacompiler to include fth files 2022-03-05 23:14:05 +01:00
Philip Zembrod
1d293d7ccf Extracting the main parts from kernel.fth into .fth files for building a
new v4th.com from.
Also placing the info from the first few screens into a separate file.
2022-03-05 23:08:31 +01:00
Philip Zembrod
0ed53b9f5f Move kernel.fb screen 111 to mk-v4th.fth so no thru or +thru from
kernel.fb is used anymore in building v4th.com
2022-03-04 23:25:37 +01:00
Philip Zembrod
c21311278a Merge branch 'msdos-tests' of github.com:pzembrod/VolksForth into msdos-tests
github.com:pzembrod/VolksForth branch msdos-test contains the latest
sync back from forth-ev/VolksForth master
2022-03-04 23:13:11 +01:00
Philip Zembrod
64ed332b12 First build of v4th.com with compile log file written and
checked at the end of the Makefile recipe.
Also introduces a prebuilt metacompiler metafile.com with integrated fth file include
2022-03-01 14:02:46 +01:00
Philip Zembrod
8032f26268
Merge branch 'forth-ev:master' into msdos-tests 2022-02-28 23:26:21 +01:00
Philip Zembrod
5e0dafaa16 Reopen stream include file if it was closed, e.g. by a FLUSH. 2022-02-06 23:11:22 +01:00
Philip Zembrod
1f698d6638 Decouple stream include from isfile. This allows the free use of USE
within a .fth stream source file.
2022-02-06 11:19:10 +01:00
Philip Zembrod
5dc3bbef7c Move all msdos block file Forth sources (.fb, .vid, .sys, .prn) to the
msdos/src subdir and generate .fth copies of the .fb files.
2022-02-01 22:33:21 +01:00
Philip Zembrod
081ed82c25 Run incltest.fth on new-built minimal v4th.com 2022-01-31 07:21:14 +01:00
Philip Zembrod
d8b8f0366e First test rule for the freshly-built-from-fb-src v4th.com, including
a good deal of Makefile and run-in-dosbox.sh refactoring, e.g. the
introduction of a dosfiles/ subdir in which dosbox runs, to eliminate
the need for the Forth PATH word to run tests.
2022-01-31 00:14:47 +01:00
Philip Zembrod
7dc1c34150 Make rule to target compile a new v4th.com 2022-01-20 00:00:40 +01:00
Carsten Strotmann
af1b3e831a
Merge pull request #37 from pzembrod/msdos-tests
Msdos tests
2022-01-17 07:49:20 +00:00
Philip Zembrod
9a568b3a03 Copying over the Hayes tester tests from C64 to msdos VolksForth.
Names are adapted to DOS 8.3 file names, PETSCII adaptions of core.fth
are reverted (DOS uses ASCII), the input test is disabled, since no
way was yet found to inject keystrokes into dosbox. And some tweaks
were applied to ans-shim.fth and the golden files to make the first
tests (preliminary & core) to pass.
2022-01-16 21:16:48 +01:00
Philip Zembrod
fe2d6e25d1 Add a tweak to log2file.fb such that it can also be included as log2file.fth 2022-01-16 13:43:38 +01:00
Philip Zembrod
48f488e584 Add fixed \ definition that can comment out tib lines, too. 2022-01-16 13:42:34 +01:00
Philip Zembrod
69a959d618 Print file name when including file 2022-01-16 11:15:02 +01:00
Philip Zembrod
d9a2bf6311 Missing Makefile rule fix for fthfiles_caseconverted 2022-01-16 11:06:28 +01:00
Philip Zembrod
53beef0d01 Update v4thfile.com binary - v4th with include *.fth file interface 2022-01-16 00:30:36 +01:00
Philip Zembrod
5dc52454a6 Add proper initialization of stash> after abort/error/restart. 2022-01-16 00:29:52 +01:00
Philip Zembrod
c612a61455 Change INCLUDE so that it saves and restores the tib before and after
interpret-via-tib instead of clearing it after.
This way, commands after a .fth include can be passed to v4fthfile.com,
e.g. a bye to terminate a make-controlled test run.
2022-01-15 23:44:11 +01:00
Philip Zembrod
7dafbfcc3e Rename DOS-created uppercase *.FB files to lowercase, with corresponding
Makefile changes.
2022-01-15 23:26:28 +01:00
Philip Zembrod
533e73c29d - enable run-in-dosbox.sh to include either .fb or .fth files
- add first test for including an .fth file
- add generic rules to convert lowercase .fb files to .fth files
- check in the tools/echo-toupper/tolower.py files that I left out earlier
2022-01-11 23:40:24 +01:00
Philip Zembrod
16857ea57a Let fb2fth.py replace zero bytes in block files with a ^@ sequence.
Zero bytes in text files can't be handled by at least some editors.
2022-01-11 23:34:29 +01:00
Philip Zembrod
6616904fbb Fix log2file.fb logopen so that it restores isfile after opening the logfile 2022-01-11 23:32:30 +01:00
Philip Zembrod
eb8a218bf1 Rule to savesystem v4thfile.com which includes INCLUDE.FB, i.e. the
stream file include
2022-01-10 22:56:19 +01:00
Philip Zembrod
e089121f22 Add Makefile rules to convert uppercase XYZ.FB block files
into lowercase xyz.fth stream files, and convert files in src/ and tests/
2022-01-10 22:42:25 +01:00
Philip Zembrod
83173f691f Move INCLUDE.FB into src/ subdir 2022-01-10 22:33:25 +01:00
Philip Zembrod
dd5db3ecd5 Make finclude file type smart (block or stream file), rename to include 2022-01-06 20:45:43 +01:00
Philip Zembrod
ab4a88aa5b First MSDOS finclude implementation 2022-01-06 20:23:09 +01:00
Philip Zembrod
b0c4023a54 Some comments and naming clarifciation around C64 include's freadline 2022-01-06 20:22:31 +01:00
Philip Zembrod
1db5aedfc0 Auto-end run-in-dosbox.sh only if 2nd arg include_basename is given 2022-01-06 16:30:46 +01:00
Philip Zembrod
99276c12cb In C64 logclose, disable log output before closing the log file. 2022-01-06 15:52:41 +01:00
Philip Zembrod
5373de9c36 First automated make test for MSDOS volks4th.com in dosbox. 2022-01-06 14:55:53 +01:00
Carsten Strotmann
3c1b33c68f Target Glossary F2012 A-C 2021-04-26 23:27:52 +02:00
Carsten Strotmann
d704e50d71
Merge pull request #36 from pzembrod/v3.9.3
V3.9.3
2021-04-26 07:05:48 +00:00
Philip Zembrod
7dd34ccaf5 Remove "dev" postfix from version string and update all binaries again.
After testing the final dev version as basis for cc64, on top of passing
all Forth tests, this is now considered the final 3.9.3 CBM version and
is good to merge into master.
2021-04-25 22:21:52 +02:00
Philip Zembrod
007fb8c1b3 Update all binaries to latest 3.9.3-dev state 2021-04-25 21:16:27 +02:00
Philip Zembrod
393aca7add Code words to call the CBM channel I/O. 2021-04-25 21:08:42 +02:00
Carsten Strotmann
30577e05d4 new "vlist" inspired by F79Forth 2021-04-21 20:35:29 +02:00
Carsten Strotmann
52740e8949 Use adapted volks4th.com for meta compiling 2021-04-20 09:36:50 +02:00
Carsten Strotmann
18b56869ff (8086bm) Replaced "Ascii" with "char" and "[char]" 2021-04-19 23:17:12 +02:00
Carsten Strotmann
497e0ab489 (8086pc) Implemented POSTPONE, VALUE and TO 2021-04-19 19:05:25 +02:00
Carsten Strotmann
73eba0b5b5
Update LICENSE
Adjusted dates and license owner
2021-04-13 06:48:00 +00:00
cas
38c3914fc4 Implemented "poweroff" to shutdown PC or QEMU with APM 2021-04-12 22:28:34 +02:00
Carsten Strotmann
c3d3da6771 Circular String Buffer 2021-04-12 20:42:46 +02:00
Carsten Strotmann
adde793779 Makefile: qemu and bootdisk targets 2021-04-12 20:36:18 +02:00
Carsten Strotmann
904a83dcfe Bootdisk Tools License and Readme 2021-04-12 20:29:10 +02:00
Carsten Strotmann
2ca3cf3519 Tools for Bootdisk creation 2021-04-12 20:27:23 +02:00