Commit Graph

352 Commits

Author SHA1 Message Date
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
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
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
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
73eba0b5b5
Update LICENSE
Adjusted dates and license owner
2021-04-13 06:48:00 +00:00
Philip Zembrod
ce11fa9060 Place cursor-relevant ZP addresses in vf-sys-c64.fth into labels 2021-04-11 19:44:39 +02:00
Philip Zembrod
ef6f246dea Add x16-R39 test to overall test target. Also create a golden file for R39. 2021-04-11 19:43:04 +02:00
Carsten Strotmann
c2f6ee50f0 created arch directory for 8086 VolksForth 2021-04-11 13:43:39 +02:00
Carsten Strotmann
68229ac499 ignore emacs backup files 2021-04-11 11:53:42 +02:00
Philip Zembrod
fb100de9ed Make X16 work with both R38 and R39 type bank switching 2021-04-11 01:33:31 +02:00
Philip Zembrod
663b1e16e1 Add test target for X16-39 2021-04-11 00:01:08 +02:00
Philip Zembrod
641f6e4566 Add ascii-conversion with shadows side-by-side of TC sources tc38q.d6h 2021-04-10 15:28:12 +02:00
Philip Zembrod
47abb48e9d tmpheap: Rename ?heapmovetx to ?headmove-xt and tmpclear to tmp-clear
as agreed with cstrotm
2021-04-06 22:32:04 +02:00
Philip Zembrod
972d78c986 Add a default noop/drop alias for fthpage to allow loading of
vf-cbm-bufs.fth from a regular v4th core, outside the TC.
This doesn't make the buffer words work as an optionally loadable
wordset yet, but it is at least a prepartation.
2021-04-06 22:20:16 +02:00
Philip Zembrod
c7ced3bb60 Move load +load thru +thru --> from vf-cbm-core to vf-cbm-bufs 2021-04-02 00:33:57 +02:00
Philip Zembrod
798fcb3620 Bump version to 3.9.3dev 2021-04-02 00:18:17 +02:00
Philip Zembrod
07c0f154f1 Add .status to interpret-via-tib to facilitate source listing while compiling. 2021-04-02 00:09:45 +02:00
Philip Zembrod
1047117fe6 Switch X16 ConOut to $ffd2, and introduce more labels to prepare switch to X16 R39. 2021-04-02 00:07:59 +02:00
Carsten Strotmann
9b54bb8144
Merge pull request #32 from pzembrod/v3.9.2
Remove unneeded mk-tmp-heap from x16tmpheap.fth
2021-02-09 08:23:29 +00:00
Philip Zembrod
bcf034a65f Merge branch 'master' of https://github.com/forth-ev/VolksForth 2021-02-08 22:43:23 +01:00
Philip Zembrod
a710214576 Remove unneeded mk-tmp-heap from x16tmpheap.fth 2021-02-08 22:07:53 +01:00
Carsten Strotmann
c03d6d0c82
Merge pull request #30 from pzembrod/v3.9.2
V3.9.2
2021-01-30 17:04:16 +00:00