It should work with CWSDPMI in your PATH. The FreeDOS package for NASM includes CWSDPMI, so everything should work if you have NASM in your path. Here's an example for a "Hello world" program:
:: D:\SRC\ASM0>path :: PATH=C:\freedos\bin;C:\devel\nasm :: :: D:\SRC\ASM0>dir /b C:\devel\nasm :: CWSDPMI.DOC :: CWSDPMI.EXE :: LICENSE :: NASM.EXE :: NASMDOC.TXT :: NDISASM.EXE :: README :: :: D:\SRC\ASM0>nasm -o hello.com hello.asm :: :: D:\SRC\ASM0>hello.com :: Hello world Actually, CWSDPMI also gets installed in C:\freedos\bin, so you only need to have C:\freedos\bin in your PATH and you can call NASM directly. Here's the same example, but renaming the output COM program (to demonstrate it's really working) :: D:\SRC\ASM0>dir /b C:\freedos\bin\CWS*.* :: CWSDPMI.EXE :: CWSDPR0.EXE :: CWSDSTR0.EXE :: CWSDSTUB.EXE :: CWSPARAM.EXE :: :: D:\SRC\ASM0>path C:\freedos\bin :: :: D:\SRC\ASM0>C:\devel\nasm\nasm -o hello_.com hello.asm :: :: D:\SRC\ASM0>hello_.com :: Hello world On Tue, Nov 18, 2025 at 12:56 PM victoria crenshaw via Freedos-devel <[email protected]> wrote: > > thanks ill look! > i did get it to compile by manually executing nasm from the directory > for each files > > ill try to fix this for defrag > [..] > > wt., 18 lis 2025 o 18:20 victoria crenshaw via Freedos-devel > > <[email protected]> napisał(a): > >> it's in the path > >> > >> and nasm is installed > >> > >> i need to get that program easily callable > >> [..] > >>> On Tue, 18 Nov 2025, victoria crenshaw via Freedos-devel wrote: > >>> > >>>> i cant compile DEFRAG having issues with nasm calls in it > >>>> > >>>> Load error: no DPMI - Get csdpmi*b.zip > >>>> > >>>> I cant fix this yet _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
