Commit Graph

78 Commits

Author SHA1 Message Date
Philip Zembrod
de47bbef54 Re-enable closing incfile after include 2024-11-09 10:51:07 +01:00
Philip Zembrod
2e780eed5d First version of vf-file1.fth that fully works, still with debug code 2024-11-09 06:15:25 +01:00
Philip Zembrod
2cb921222a Create the test3 for v4th3.com and add a first compiling version of
vf-file.fth to the forked source v4th3.fth, with separate test.
2024-11-09 05:50:00 +01:00
Philip Zembrod
3a8650ea3c Change displace from 0x9000 to 0x8000 so adding a bit of size to v4th.com
doesn't overwrite the stack of the target compiler system.
2024-11-09 05:44:38 +01:00
Philip Zembrod
916ac6e0c4 Fix bug in dos-error? - check for non-zero instead of -1 2024-11-07 09:52:08 +01:00
Philip Zembrod
4263b89a67 Use tc-base.com to build v4th.com 2024-11-03 15:14:33 +01:00
Philip Zembrod
8a0f3f1eb7 Add log2file.fb and include.fb to tc-base.com 2024-11-03 15:11:16 +01:00
Philip Zembrod
e05a6a5016 New make target for target compiler base created from kernel.com,
and new v4th3 target built using tc-base.com
2024-11-03 13:45:00 +01:00
Philip Zembrod
079a14606e Update cpmfiles 2024-11-03 13:36:57 +01:00
Philip Zembrod
df6b07f5e1 Set up test-blk.fth and get it to pass 2024-10-10 22:52:46 +02:00
Philip Zembrod
bb041ce5dd Copy the main test files over from msdos-vf and make test-std pass. 2024-10-09 21:41:36 +02:00
Philip Zembrod
aef07d62f9 Increase TIB size to 132 bytes 2024-10-09 17:51:55 +02:00
Philip Zembrod
b701e46bb0 Update cpmfiles/ including binary v4th.com 2024-10-09 04:20:07 +02:00
Philip Zembrod
bce5954787 Comment out debug prints in run-in-runcpm.sh 2024-10-09 04:17:33 +02:00
Philip Zembrod
33cd326d9a Extract vf-bdos.fth from source.fth and use it building v4th.com.
This removes the remaining use of source.fb for building v4th.com.
2024-10-09 04:15:31 +02:00
Philip Zembrod
da911706ce Extract vf-end.fth from source.fth and use it building v4th.com 2024-10-09 04:02:02 +02:00
Philip Zembrod
a88ecc8cef Extract vf-sys.fth from source.fth and use it building v4th.com 2024-10-08 22:48:04 +02:00
Philip Zembrod
853a555eb2 Extract vf-bufs.fth from source.fth and use it building v4th.com 2024-10-08 22:40:31 +02:00
Philip Zembrod
f61430eb83 Extract vf-io.fth from source.fth and use it building v4th.com 2024-10-08 22:28:06 +02:00
Philip Zembrod
074c934fe2 Use vf-core.fth to build v4th.com 2024-10-08 22:20:11 +02:00
Philip Zembrod
3365788054 Unroll all \\ in vf-core.fth into \ sequences 2024-10-08 21:44:54 +02:00
Philip Zembrod
46608c5ee3 Extract blocks 0x02 to 0x53 from source.fth into vf-core.fth 2024-10-08 21:41:31 +02:00
Philip Zembrod
11750dee8e Move target v4th.com into cpmfiles/ and check in cpmfiles/ 2024-10-08 18:10:53 +02:00
Philip Zembrod
89f70a08f4 Migrate loadscreen of source.fb to v4th.fth 2024-10-07 22:35:21 +02:00
Philip Zembrod
ce92a01952 First successfully target-compiled and working CPM VolksForth with min test. 2024-10-06 22:51:50 +02:00
Philip Zembrod
45b761c1a9 Small Makefile fix 2024-09-13 21:46:38 +02:00
Philip Zembrod
9702f53ba4 Though I can't run coreext.fth and following tests yet (need to get
CP/M target compile going first to get a longer TIB), I'll check in
the golden's for them already, anyway.
2024-05-26 20:20:47 +02:00
Philip Zembrod
9a83986e8b Add veryclean target (cleaning cpmfiles/) to CPM/Makefile 2024-05-10 23:15:02 +02:00
Philip Zembrod
d6f424f0b6 Add tester.fth to CPM/tests - had forgotten that when checking in core.fr. 2024-05-10 23:08:17 +02:00
Philip Zembrod
d884a3ea92 Add commented-out alternative RunCPM invocations with -s to run-in-runcpm.sh 2023-12-19 20:14:58 +01:00
Philip Zembrod
ef0442b657 temporary additional target compiler targets for debugging 2023-11-25 21:07:14 +01:00
Philip Zembrod
f5feeb2c37 Add second target compiler rule using kernel.com instead of volks4th.com 2023-09-03 13:22:05 +02:00
Philip Zembrod
79ef63fdec Remove dependency of log2file.fb on xinout.fb, namly (type (page (at
and switch tests to use kernel.com instead of volks4th.com
2023-09-03 13:02:12 +02:00
Philip Zembrod
6daa05b8a6 First rule to invoke the target compiler and include the kernel source 2023-09-02 23:10:05 +02:00
Philip Zembrod
853362671d Straighten out patsubst expressions in rule dependencies 2023-09-02 22:58:20 +02:00
Philip Zembrod
f1d1d06d7c Remove the now duplicate test-std 2023-09-02 22:19:18 +02:00
Philip Zembrod
4724cfe581 Generate test-min.golden from prelim.golden and core.golden as
copied and adapted from the msdos tests. Also move include log2file.fb
into test-min.fth
2023-09-02 22:19:18 +02:00
Philip Zembrod
a1afa53034 Read the last record of the outer include again, after an inner include. 2023-09-02 22:19:07 +02:00
Philip Zembrod
78ecc6192c Better probe-for-fb - look for #lf in content, instead of at file extension.
Now core test works as core.fr, not just as core.fth.
2023-08-26 00:30:58 +02:00
Philip Zembrod
71babe38da Refactor inc-fgetc and include such that the first record was already
read when probe-for-fb is called.
2023-08-25 23:50:21 +02:00
Philip Zembrod
b762d6ecb0 Extract inc-readrec from inc-fgetc 2023-08-25 23:11:09 +02:00
Philip Zembrod
3c288beac5 First slightly hacky setup that makes the core.fr tests pass for CPM 2023-08-25 21:15:27 +02:00
Philip Zembrod
63b507db05 Fix log2file.fb and get prelim test to work 2023-08-20 21:54:27 +02:00
Philip Zembrod
9c599de9a1 Add prelim test to CPM VolksForth 2023-07-02 23:33:51 +02:00
Philip Zembrod
e9c2c942ef Move trunc-ctrl-z.py invocation and cp runcpm.log into run-in-runcpm.py 2023-07-02 16:43:54 +02:00
Philip Zembrod
c188248df4 Add golden result verification for inctest 2023-07-02 11:47:08 +02:00
Philip Zembrod
5761bf7c9e Move inctest.fth from src/ to tests/ 2023-07-02 11:29:47 +02:00
Philip Zembrod
46f0c31dc4 Move script file content for run-in-runcpm.sh into command line params 2023-07-02 11:23:26 +02:00
Philip Zembrod
20a2715203 First properly evaluated CPM test: log-test, with golden file,
evaluate script and script to cut off CPM text files at ctrl-z (EOF)
2023-07-02 00:11:52 +02:00
Philip Zembrod
415fd869e1 First working Forth log2file.fb for CPM VolksForth 2023-07-01 20:15:57 +02:00