Commit Graph

235 Commits

Author SHA1 Message Date
Carsten Strotmann
352036bb6e Old Ultraforth cleanup 2020-07-15 09:27:49 +02:00
Carsten Strotmann
71fb584a66 CBM PET: File permission changed 2020-07-15 09:00:01 +02:00
Carsten Strotmann
83626a0189 Atari 8bit: File permission changes 2020-07-15 08:41:44 +02:00
Carsten Strotmann
54d231b657 Atari 8bit File extension and file permission changes 2020-07-15 08:34:06 +02:00
Carsten Strotmann
c5cda9f484 Atari Math Routines: file extension and file access changes 2020-07-15 08:29:26 +02:00
Philip Zembrod
87c822f8a9 Remove mapping of vforth4_2.d64 from build-vf.sh, now that we fully build from txt files. 2020-07-12 23:12:20 +02:00
Philip Zembrod
ce1d445840 Extract common code from vf-sys-7c64/c16.fth 2020-07-12 23:03:06 +02:00
Philip Zembrod
6fb1f6d972 Extract the platform dependent heads/preambles and make vf-cbm-core.fth
really platform-independent. Likely this might eventually deserve the name
vf-6502-core.fth
2020-07-12 22:49:41 +02:00
Philip Zembrod
d31aaed5e6 Rename vf-sys-indep.fth to vf-cbm-core.fth 2020-07-12 22:34:11 +02:00
Philip Zembrod
9a53225469 Extract screens $8 and $7e to $94 from vforth4_2.fth and make vf-c16 build
independent of vforth4_2.d64, i.e. now for C16 VolksForth sources are fully
text-file based, too, like for the C64 already.
Only transient TC part still comes from tc38q.d64
2020-07-12 22:20:04 +02:00
Philip Zembrod
285794383b Remove reference to drive 1 aka device 9 (where vforth4_2.d64 is mounted)
from vf-c64-main.fth
2020-07-12 21:28:21 +02:00
Philip Zembrod
45bc8879c8 Extract screens $7e to $93 from vforth4_2.fth and make vf-c64 build independent
of vforth4_2.d64, i.e. for C64 VolksForth sources are fully text-file based.
Only transient TC part still comes from tc38q.d64
2020-07-12 21:26:17 +02:00
Philip Zembrod
e7dd310923 Pull (most) platform-dependent code and loads all the way up into the top level
vf-c64/c16-main.fth and remove vf-main.fth.
Now the CBM interface with its platform dependencies in blocks $7e-$94 can be
pried apart into files.
One motivating issue is that (C64 ... ) can't comment out multi-line blocks of
code with my current implementation of include, only single lines.
I'll have to figure out how other Forths do this when I work on that code again
to develop it into something ANS-compliant.
2020-07-12 20:31:30 +02:00
Philip Zembrod
9493061b23 Move remaining essential steps from vf-main.fth to vf-sys-indep and vf-finalize 2020-07-12 13:39:57 +02:00
Philip Zembrod
906d4dfbf2 Split vf-blk-10-7d.fth into a (mostly) system independent part, a finailze part
and pull the loading of the system dependent part up one level in the
file include hierarchy.
2020-07-12 13:25:31 +02:00
Philip Zembrod
e4d6de49a2 Get vf-latest to target-compile from mostly .fth sources.
This requires a small target compiler tweak and some massaging of the fth source:
Esp. some create-does> constructs have to be moved into a single line.
2020-07-11 23:19:56 +02:00
Philip Zembrod
1bd8d592c2 Initial branch of blk $10-$7d, i.e. the main part of the vf sources, from
the ascii version vforth4_2.fth of the disks/vforth4_2.d64 block sources
into a separate vf-blk-10-7d.fth in the src dir.
2020-07-11 20:44:11 +02:00
Philip Zembrod
fc4532c721 Tweak build-vf.sh script for non-saving, non-auto-terminating debug target compile 2020-07-11 20:26:40 +02:00
Philip Zembrod
7ecc127bad Add make target for debugging target compile of c64-vf-latest.
Also add detail diff output to bincmp target.
2020-07-11 20:24:35 +02:00
Philip Zembrod
9f59d4eddf Migrate pre-target-definition source from .d64 screen to .fth 2020-07-06 23:20:03 +02:00
Philip Zembrod
2f1a5e1168 Remove obsolete build-testbase16.sh script - superseeded by build-testbase.sh 2020-07-06 22:27:21 +02:00
Philip Zembrod
6180847a75 Fix test make rule after c16p->c16 rename 2020-07-06 21:50:38 +02:00
Philip Zembrod
8d8731064f Rename c16p-* to c16-* as that (the 64k version) is what matches the
original c16-volksforth83.
2020-07-06 21:34:22 +02:00
Philip Zembrod
e84550c7f9 base target compiler on stable not latest forth 2020-07-05 23:11:33 +02:00
Philip Zembrod
0e80971ee5 Add C16 comments in makefile 2020-07-05 22:56:12 +02:00
Philip Zembrod
31781aeea7 Enhance the build to target-compile both C16 versions of VolksForth. 2020-07-05 22:46:37 +02:00
Philip Zembrod
67e498ccef Rename mk-c64forth.fth to vf-c64-main.fth. Add some comments 2020-07-05 21:24:39 +02:00
Philip Zembrod
fff44ffb9c add testbase cbm binaries to .gitignore as these are now expected to be rather transient. 2020-07-05 21:14:45 +02:00
Philip Zembrod
50d3ba7499 Rename mk-tcbase.fth to tc-base.fth, and add some comments. 2020-07-05 21:13:04 +02:00
Philip Zembrod
dc1d1743e6 Add binary cmp make target between old and new forth binaries. 2020-07-04 23:29:11 +02:00
Philip Zembrod
7e0308908c Tweak targetcompiler and test targets such that they fit together.
Remove checked-in testbase forth binaries to ease iterations on
vf-latest binaries from which testbase will then be built ad-hoc.
2020-07-04 00:51:25 +02:00
Philip Zembrod
5a30a46c88 First automated targetcompiler run 2020-07-02 23:39:45 +02:00
Philip Zembrod
de4d0cc474 Small fix to make clean rule 2020-07-02 22:04:55 +02:00
Philip Zembrod
ecbcd52f8f Make C64/C16 tests completely automated. 2020-07-02 22:02:39 +02:00
Philip Zembrod
e25e95717b Add C64/disks/.gitignore containing ascii version of empty disk image. 2020-07-01 21:22:41 +02:00
Philip Zembrod
c9e0e63ea0 Check in updated devenv binary after include was fixed 2020-07-01 21:20:49 +02:00
Philip Zembrod
7d8f24690c check in updated testbase and testbase16 saved systems 2020-06-30 23:38:45 +02:00
Philip Zembrod
83c1238840 Log test output to file 2020-06-30 23:35:57 +02:00
Philip Zembrod
6dbe30064d Fix include so that printing the file name is outside the file open flow.
Else include doesn't work if cr and type log to a file themselves.
2020-06-30 23:35:18 +02:00
Philip Zembrod
af3bf842af Make modified doubletest.fth pass on C64 VolksForth 2020-06-29 01:00:13 +02:00
Philip Zembrod
98f22b4f75 Checking in original doubletest.fth 2020-06-29 00:12:52 +02:00
Philip Zembrod
48d26551b0 Migrate disk image mappings for drives 9-11 from run-in-vice.sh to build-xyz.sh scripts where they are used.
Also add an empty disk image as default.
2020-06-28 22:33:27 +02:00
Philip Zembrod
090b4bed6c Merge branch 'master' of github.com:pzembrod/VolksForth 2020-06-28 19:31:38 +02:00
Philip Zembrod
184821c258 Map C= key to left Ctrl in VICE. C64 CTRL is mapped to Tab already. 2020-06-28 19:27:04 +02:00
Philip Zembrod
c023c3e68d Making modified coreexttest.fth pass on C64 VolksForth 2020-06-28 19:25:01 +02:00
Philip Zembrod
d1b75d6feb Initial checkin of errorreport.fth and utilities.fth from ans test suite 2020-06-28 19:23:41 +02:00
Philip Zembrod
2dc1619ed8 Add original coreexttest 2020-06-28 17:16:43 +02:00
Philip Zembrod
dc5d2044be Add prelimtest.fth to run-vf-tests.fth. Adapt prelimtest.fth to PETSCII. 2020-06-28 16:05:55 +02:00
Philip Zembrod
ab4f8de981 Initial checkin of prelimtest.fth 2020-06-28 16:02:04 +02:00
Philip Zembrod
c51cfa2e53 Add text file conversions of gen6502 sources 2020-06-27 23:48:33 +02:00
Philip Zembrod
1a7141557f Fix text encoding to cp437 which Atari ST's charset is based upon.
Also add dependency on Python script to make rule.
2020-06-27 23:48:02 +02:00
Philip Zembrod
ae1f4d9dff Makefile and python3 script to turn .fb block sources into .fth text files 2020-06-27 23:40:25 +02:00
Philip Zembrod
b139071e41 Remove x flag from gen6502/ files 2020-06-27 23:38:15 +02:00
Philip Zembrod
4d8b3e1ddc Remove duplicate \vf 2020-06-25 22:51:35 +02:00
Philip Zembrod
461116744c Make coreplustest.fth pass on VolksForth 2020-06-25 22:45:17 +02:00
Philip Zembrod
b88e7db6d2 Add coreplustest.fth 2020-06-25 22:19:33 +02:00
Philip Zembrod
c08e3189e2 Add make rules and adapt scripts for running building and running tests on Plus4 2020-06-25 22:13:51 +02:00
Philip Zembrod
aefcd8cb25 Fix C64/cbmfiles/.gitignore: not tester.fr but core.fr is the non-.fth Forth source file. 2020-06-23 22:48:39 +02:00
Philip Zembrod
a468241ff2 Add C64/cbmfiles/.gitignore for PETSCII Forth sources and the "notdone" file 2020-06-23 22:44:17 +02:00
Philip Zembrod
8a29d9d0ee Check in testbase Forth binary used for tests 2020-06-23 22:41:42 +02:00
Philip Zembrod
40834ca8b4 Add C64/emulator/.gitignore file for *.T64 tape images 2020-06-23 22:39:29 +02:00
Philip Zembrod
fcff5a5a55 Remove again checked-in c64-volksforth83.T64 as it is super-easy to generate 2020-06-23 22:38:17 +02:00
Philip Zembrod
b9e93f643d Switch off test verbose mode 2020-06-23 21:40:25 +02:00
Philip Zembrod
a32c1ece1d A few modifications to the core.fr test set required by the PETSCII charset.
And some tests are commented out with \vf as VolksForth can't yet easily be
ANS-shimmed into providing EVALUATE and the WHILE - ELSE construct.
2020-06-21 15:23:22 +02:00
Philip Zembrod
2eb2620641 Remaining needed ANS shim words for passing the modified core word set test,
incl. the \vf word needed to comment out a few core tests that don't yet make sense for VolksForth.
2020-06-21 15:19:31 +02:00
Philip Zembrod
9b3556a7fd add shim for postpone 2020-06-16 23:35:59 +02:00
Philip Zembrod
5eb24b6105 Fix lshift and rshift shims and add shims up to but excluding postpone 2020-06-16 23:26:58 +02:00
Philip Zembrod
2a1951700f Add curly braces to keymap 2020-06-16 23:26:04 +02:00
Philip Zembrod
6dbacecb9b add lshift, rshift and 2over to ans-shim.fth 2020-06-14 22:47:06 +02:00
Philip Zembrod
760848aa25 adapt run-vf-tests.fth from core.fth to core.fr 2020-06-14 22:46:50 +02:00
Philip Zembrod
e4452b4847 Adapt Makefile to cover core.ft instead of core.fth 2020-06-14 22:46:22 +02:00
Philip Zembrod
e8a6f73a86 Add tracer to devenv 2020-06-14 22:30:42 +02:00
Philip Zembrod
31e85383e1 Add source dependencies to devenv and testbase make rules 2020-06-14 22:30:27 +02:00
Philip Zembrod
353bde189b Fix the colon definition of unloop. Top rstack element must be preserved, of course. 2020-06-14 22:29:53 +02:00
Philip Zembrod
6629fa6ff5 Initial setup to run actual tests. Seems my INCLUDE is crashing yet, though. 2020-06-13 00:00:30 +02:00
Philip Zembrod
410e6f06a5 Add build script and make rules for testbase - a Forth core with include and dos file words.
These are needed to run tests automatedly.
2020-06-12 23:20:42 +02:00
Philip Zembrod
5f4ebcbb76 Add emulator closing to script for building dev environment.
Properly embed that build in Makefile targets.
2020-06-10 10:28:16 +02:00
Philip Zembrod
095026976d Add file-not-found detection and error display to include and cat 2020-06-09 23:37:43 +02:00
Philip Zembrod
1990c113e5 Rename build-in-vice.sh to run-in-vice.sh. Checkin of dev environment build script,
and initial checkin of load-from-file and dos words, branched from cc64
2020-06-09 22:38:00 +02:00
Philip Zembrod
6b19a0b3ba Add pointer to needed tools/ from https://github.com/pzembrod/cc64 to
readme.txt and as comment to Makefile.
2020-06-09 16:20:02 +02:00
Philip Zembrod
adf34dbfc3 Initial checkin of ascii-readable versions of d64 blk sources 2020-06-09 10:06:09 +02:00
Philip Zembrod
b955276434 First Makefile and build script for automated build of development environment from source 2020-06-07 23:30:22 +02:00
Philip Zembrod
04904788e6 extract core volksforth binaries from vforth4_1.d64 into cbmfiles subdir 2020-06-07 22:18:05 +02:00
Philip Zembrod
920221e979 Remove executable bit from all C64 files' filemode 2020-06-07 18:54:14 +02:00
Carsten Strotmann
857eedeafd Initial sync from fossil repo 2017-04-24 00:25:49 +02:00