Recent Commits to freecom:master

  • 19/10/2026 19:46

    buildall: name CMD-xx.COM after the FreeDOS LANG codes (PL, SV, SL, S…

    buildall: name CMD-xx.COM after the FreeDOS LANG codes (PL, SV, SL, SR, UK, PB)
    
    `buildall.bat` names the language builds with its own abbreviations (`PO` Polish, `SE` Swedish,
    `SI` Slovene, `Ser` Serbian, `UKR` Ukrainian, `PTR` Brazilian Portuguese), so the package contains
    e.g. `NLS\CMD-PO.COM`. Everything that picks the localized shell looks for `CMD-%LANG%.COM`:
    
    - `NLS\MAKECMD.BAT` in the FreeCOM package itself (`if exist cmd-%lang%.com ...`),
    - the FDI-x86 and FDI installers (`if not exist ...\CMD-%LANG%.COM goto NoCommand`).
    
    With `LANG=PL` (or SV, SL, SR, UK, PB) nothing matches and the English COMMAND.COM stays installed.
    This PR only renames those six entries to the FreeDOS language codes (as in fd-nls `LangCode.md`).
    The other names already match; `YUG` (yu437) has no FreeDOS language code and is left as is.
    `strings/pt.lng` is not built by `buildall.bat` at all (it is in `ci_build.sh`) — left unchanged.
    
    Found while testing the Polish Floppy Edition (T2610): the installer looked for `CMD-PL.COM`
    and the package had `CMD-PO.COM`.
  • 19/10/2026 19:24

    cswapc.c: no XMScopy vararg func for XMM structure [fixes #171]

    cswapc.c: no XMScopy vararg func for XMM structure [fixes #171]
  • 16/10/2026 8:05

    Polish: switch strings to CP852 and update the translation

    Polish: switch strings to CP852 and update the translation
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 21/05/2026 14:24

    CI: Update actions due to impending node20 deprecation

    CI: Update actions due to impending node20 deprecation
  • 30/10/2025 16:28

    DIR: don't display invalid data with devices

    DIR: don't display invalid data with devices
    
    When doing `DIR NUL` findfirst will actually return success
    with an attribute indicating a device exists with that name.
    MS-DOS shows 'File not found' in this case, but FreeCOM
    (and also Comcom64) can display invalid data, so let's
    correct that. Since the required constant FA_DEVICE isn't
    always present in `dos.h`, let's define it when necessary.
    
    [https://github.com/FDOS/freecom/issues/181]
    
    Before (C: is MFS, D: is FAT16):
    ~~~
    C:\>dir nul
     Volume in drive C is IR DXXXXS C
     Directory of C:\
    
    NUL                      0  10-30-25  6:55p
             1 file(s)              0 bytes
             0 dir(s)     49,839 Mega bytes free
    C:\>d:
    
    D:\>dir nul
     Volume in drive D has no label
     Volume Serial Number is 4A09-DBB4
    
     Directory of D:\
    
    NUL                      0  10-30-25  6:55p
             1 file(s)              0 bytes
             0 dir(s)      42,698,752 bytes free
    ~~~
    
    With patch (C: is MFS, D: is FAT16):
    ~~~
    C:\>dir nul
     Volume in drive C is IR DXXXXS C
     Directory of C:\
    
    File not found.
    
    C:\>d:
    
    D:\>dir nul
     Volume in drive D has no label
     Volume Serial Number is 4A09-DBB4
     Directory of D:\
    
    File not found.
    ~~~
    Tags:
  • 27/09/2025 9:06

    support up to LASTDRIVE=32 (lDOS or patched MS-DOS v7)

    support up to LASTDRIVE=32 (lDOS or patched MS-DOS v7)
    
    Changing to a drive or running DIR with only a drive letter and
    colon didn't work. (DIR with drive letter, colon, backslash did
    work already.) Without this patch applied:
    
    C:\>]:
    Bad command or filename - "]:".
    C:\>dir ]:
    File not found. - ']:'
    C:\>dir ]:\
     Volume in drive ] is SRDXMS 2.10
     Directory of ]:\
    
    LDEBUG   COM        94,208  09-19-25  6:35p
             1 file(s)         94,208 bytes
             0 dir(s)         948,224 bytes free
    
    With this patch applied:
    
    C:\>]:
    ]:\>dir ]:
     Volume in drive ] is SRDXMS 2.10
    
     Directory of ]:\
    
    LDEBUG   COM        94,208  09-19-25  6:35p
             1 file(s)         94,208 bytes
             0 dir(s)         948,224 bytes free
    Tags:
  • 13/01/2022 9:20

    Languages: Import Portuguese from fd-nls

    Languages: Import Portuguese from fd-nls
    
    Note the codepage is 860, not sure how that plays out with the Euro
    currency symbol.
    Tags:
  • 07/08/2020 3:19

    Minor fixes for pt-br.

    Minor fixes for pt-br.
    Tags:

Log in