Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Alternative for M$ CP/M assembler M80 & L80 for DOS/Win32? (Users)

posted by RayeR Homepage, CZ, 04.12.2024, 20:06
(edited by RayeR on 04.12.2024, 23:10)

> Well, I compiled the NTVCM. It required updating my OpenWatcom toolchain.
> Also my mingw64/g++-8.1.0 seems to be too old to know advanced c++
> features...

Hm, even with latest mingw I'm unable to compile NTVCM for windows.


gcc version 14.2.0 (i686-win32-dwarf-rev0, Built by MinGW-Builds project)
C:\NTVCM>mg.bat
In file included from ntvcm.cxx:44:
./djltrace.hxx: In member function 'void CDJLTrace::Trace(const char*, ...)':
./djltrace.hxx:220:41: error: '_getpid' was not declared in this scope; did you mean '_getcwd'?
  220 |                              (unsigned) _getpid() );
                              _getcwd


Well, I fixed it by adding
#ifdef _WIN32
#include <process.h>
#endif

to both .cxx files. Now I have also win32 NTVCM binary. So I step further to compile the monitor source. It complains about:
Origin below loader memory, move anyway(Y or N)?n
I chose n and got some intel HEX file. So I'll see if it works...


C:\NTVCM\CPMTOOLS>..\NTVCM.EXE M80 =MON40F.MAC/N

No Fatal error(s)

C:\NTVCM\CPMTOOLS>..\NTVCM.EXE L80 MON40F/P:0/D:4000,MON40F/N/X/Y/E

Link-80  3.44  09-Dec-81  Copyright (c) 1981 Microsoft

Data    4000    4000    <    0>
Program 0000    4400    <17408>

36656 Bytes Free
[0000   4000       67]
Origin below loader memory, move anyway(Y or N)?n

C:\DATA\____SAPI\NTVCM\CPMTOOLS>dir MON4*
04.12.2024  22:47            41 984 MON40F.HEX
04.12.2024  20:58            38 021 MON40F.MAC
04.12.2024  22:47             2 560 MON40F.REL
04.12.2024  22:47               128 MON40F.SYM
               4 File(s)         82 693 bytes

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22138 Postings in 2044 Threads, 396 registered users, 16 users online (1 registered, 15 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum