Skip to content

Conversation

@guberathome
Copy link
Contributor

@guberathome guberathome commented Jan 17, 2025

Compiled PForth under FreeDOS and DosBox
as 32bit version with a DOS extender (dos4gw).

README has the details.

Needs #196 to be merged in advance to work. (Update: #196 is now merged.)

@@ -0,0 +1,19 @@
src/csrc/pf_io_none.c src/csrc/ionone.c
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should rename all these files to 8.3 format in the main code.
I thought 8.3 files were no longer important on Windows.
But I guess they are still a requirement.

philburk added a commit that referenced this pull request Nov 25, 2025
DOS cannot handle long filenames.

The original and new file names are:

    csrc/pf_io_none.c                   csrc/ionone.c
    csrc/posix/pf_io_posix.c            csrc/posix/ioposix.c
    csrc/stdio/pf_fileio_stdio.c        csrc/stdio/fiostdio.c
    csrc/stdio/pf_io_stdio.c            csrc/stdio/iostdio.c
    csrc/win32/pf_io_win32.c            csrc/win32/iowin32.c
    csrc/win32_console/pf_io_win32_console.c csrc/win32csl/iowin32c.c
    fth/save-input.fth                  fth/savinput.fth
    fth/structure.fth                   fth/structur.fth
    fth/t_include.fth                   fth/tinclude.fth
    fth/t_load_defer.fth                fth/tlddefer.fth
    fth/t_load_pairs.fth                fth/tldpairs.fth
    fth/t_load_semi.fth                 fth/tldsemi.fth
    fth/t_load_undef.fth                fth/tldundef.fth
    fth/t_required_helper1.fth          fth/treqhlp1.fth
    fth/t_required_helper2.fth          fth/treqhlp2.fth
    fth/t_strings.fth                   fth/tstrings.fth
    fth/utils/dump_struct.fth           fth/utils/dumpstru.fth
    fth/utils/load_file.fth             fth/utils/loadfile.fth
    fth/utils/make_all256.fth           fth/utils/make_all.fth

Note that the folder "csrc/win32_console" became "csrc/win32csl".

Updated all Makefiles and CMakeLists.txt to reflect the changes.

Special thanks to https://github.com/guberathome for providing scripts
to do the conversion. See #201

Fixes #216
@philburk
Copy link
Owner

@guberathome - I decided to go ahead and fix the long file names.
There was no point in having some 8.3 file names and some longer.
I made heavy use of your renaming scripts with the SED and AWK magic. Very cool.

Please take a look at #218
If I merge that then you could simplify this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants