Commit Graph

460 Commits

Author SHA1 Message Date
Philip Zembrod 2c86e4809f Remove references to the Kernal variables InDev and OutDev which
are needed to implement BUSOFF via CLRCHN and which moved on X16
between r38 and r41 and will likely change again, and replace with
own variables and calls to UNLSN and UNTLK.
2022-07-31 23:54:37 +02:00
Philip Zembrod cae5f7c94d Get v4th-x16 to work with r41 of x16emu and x16 ROM.
Main change is that c64key? and getkey are implemented through new
Kernal API calls instead of direct reading the keyboard buffer.
A separate intermediate test target for r41 is introduced.
But also the main x16 target is switched to r41 now.
Also, the KEEPEMU env var is introduced to run-in-x16emu.sh
for debugging that has proved its usefulness in cc64 emulator scripts.
2022-07-31 21:56:33 +02:00
Philip Zembrod 6812352db3 Detect and message file-not-found condition in INCLUDE 2022-07-06 01:36:15 +02:00
Carsten Strotmann e412229459
Merge pull request #39 from pzembrod/msdos-file
First MSDOS VolksForth version with and without block words: volksFORTH 3.9.1-MSDOS
2022-03-28 06:14:11 +00:00
Philip Zembrod e3bf763d3b
Merge branch 'forth-ev:master' into msdos-file 2022-03-23 22:56:54 +01:00
Philip Zembrod f8c3d7c16e Update binaries to the new version number 3.9.1 2022-03-23 22:55:58 +01:00
Philip Zembrod 6e4f9fa1bf Update version to 3.9.1-MSDOS 2022-03-23 22:45:42 +01:00
Philip Zembrod 1a814700b9 Update v4th.com and v4thblk.com binaries 2022-03-23 22:35:40 +01:00
Philip Zembrod a6976accb7 Fix incltest.log to use v4thblk.com instead of v4th.com as it uses
log2file.fb
2022-03-23 22:34:40 +01:00
Philip Zembrod 67f6188fe3 Move FILE and [FCB] from DOS to FORTH, after comparing vocabularies
with original volks4th.com
2022-03-23 22:13:51 +01:00
Philip Zembrod 22079fe734 Make rules to compare the content of the DOS and FORTH vocabularies
before and after the 2 recent refactorings, using v4thfile.com
(volks4th.com plus include .fth interface) as reference
2022-03-23 22:12:09 +01:00
Philip Zembrod 3e42ca8b2a Update readme.org and remove the obsolete test-min.log make target. 2022-03-23 08:50:04 +01:00
Philip Zembrod 82cd5ba3da Update the latest binaries v4th.com and v4thblk.com 2022-03-23 00:24:27 +01:00
Philip Zembrod b24511437e First block/buffer free MSDOS v4th.com. v4thblk.com is now the version
with block/buffer implemented.
2022-03-23 00:23:43 +01:00
Carsten Strotmann 1a3bc28e53
Merge pull request #38 from pzembrod/msdos-tests
First .fth-based v4th.com
2022-03-22 22:12:24 +00:00
Philip Zembrod 48544073a1 2nd refactoring step to enable building a v4th.com from
vf86core.fth, vf86dos.fth and vf86file.fth, without vf86bufs.fth.
2022-03-22 22:38:19 +01:00
Philip Zembrod f3376268f8 Make v4th.com tests independent of .fb sources:
Provide .fth variants of asm.fb, extend.fb, dos.fb, multi.vid
Also add detection of unresolved symbols to v4th.com make rule
2022-03-21 00:50:22 +01:00
Philip Zembrod c9a62fc7ff First refactoring step to move all buffers/blocks related code to vf86bufs.fth
and to make vf86core.fth independent of vf86bufs.fth.
2022-03-20 14:05:06 +01:00
Philip Zembrod 91c74f0830 Tweak block test incl. golden file to make it pass:
Close and reopen log file before and after FLUSH.
Adapt golden file to 16x64 screen format and .fb instead of direkt disk access.
2022-03-20 00:50:27 +01:00
Philip Zembrod 155eceadcf Set up block tests 2022-03-19 22:37:33 +01:00
Philip Zembrod 620cfae913 Extract main part of buffer and block code from vf86core.fth 2022-03-19 22:05:42 +01:00
Philip Zembrod 483be768c1 Remove commented-out coreplus.fth from test-min.fth (it has lines >80char
and cannot be run by the original volks4th.com.
2022-03-17 23:44:31 +01:00
Philip Zembrod 432048b844 Move TIB-capable line comment \ into core code. 2022-03-17 23:02:31 +01:00
Philip Zembrod 41cecebbfa Add make rules for "std" test for v4th.com, i.e. all tests except the
block tests. Now that v4th.com has a 132 char TIB, it can process the
other tests, some of which have a few lines longer than 80 chars.
2022-03-17 22:18:14 +01:00
Philip Zembrod 54c3d25af5 Fix wrong automatic make variable in test golden file concat rules 2022-03-17 22:14:27 +01:00
Philip Zembrod 9c2a761894 Migrate .fth include into v4th.com kernel; adapt test-min.log rule 2022-03-15 00:39:21 +01:00
Philip Zembrod a7ef2d0e64 Delete obsolete preptest.fb/fth, replaced by testprep.fb/fth 2022-03-14 23:38:10 +01:00
Philip Zembrod 9b765a0fe3 One more small Makefile fix 2022-03-14 21:55:47 +01:00
Philip Zembrod da96ca1217 Checking in the current version of the new make-built binaries 2022-03-14 00:26:45 +01:00
Philip Zembrod 32060bfcc3 2 small Makefile fixes 2022-03-14 00:25:57 +01:00
Philip Zembrod f2a4edb1a1
Update msdos/readme.org
Add refactoring and transitional make target information.
2022-03-13 23:09:31 +01:00
Philip Zembrod 8a78db5cdc
Update README.ORG
Adding pointer mention of make based automation
2022-03-13 22:05:48 +01:00
Philip Zembrod fcbb96d1b0
Update main README.ORG
Update details about the current version (3.8x, 3.9.x) of different platforms.
2022-03-13 21:53:11 +01:00
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