Port of Digital Research MAC assembler

3 views
Skip to first unread message

Mark Ogden

unread,
Oct 13, 2025, 5:20:10 PM (5 days ago) Oct 13
to intel-devsys
All
I have just posted a port of the old Digital Research MAC assembler to my c-ports GitHub repository

it is a port from the assembler code, largely from the old disassembly done by the late Werner Cirsovius, with a bit of additional analysis by myself using IDA Pro.
A consequence of this is that I have done a number of hacks to work around the unstructured code elements. At some point I may clean up more of the code, as I have already done in places, e.g. I/O and opcode symbol look up.
Although I have done some testing of the port and it appears to work on the samples I have used, if you would like to try it on your own source code, I would be grateful if you could let me know any anomalies or errors that you encounter.

I already know that the file name in the listing against MACLIB is not converted to upper case, which is deliberate as Unix files are case sensitive. Also I trim trailing white space.
The c-ports.pdf documentation under the doc directory documents the command line interface differences from the CP/M original, mainly due modifications on the controls which specified disks; now file names/paths are supported instead.

If you clone the repository, there are visual studio solution files and under the Linux directory there are makefiles to build under Linux.

Mark

William Beech

unread,
Oct 14, 2025, 7:11:01 PM (3 days ago) Oct 14
to intel-...@googlegroups.com
Mark,

I have updated my directory.  I had 12 build errors with your gull project,  but luckily,  MAC built correctly.  I have been using it rebuilding the CPM80 sources and it has behaved as MAC did under CPM80.  Another useful tool added to our repertoire. 

Thanks!

Bill
--
You received this message because you are subscribed to the Google Groups "intel-devsys" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intel-devsys...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/intel-devsys/e75fa95b-42f2-42d1-9ec9-bbaabe87f4d8n%40googlegroups.com.

mark.p...@btinternet.com

unread,
Oct 15, 2025, 5:59:41 AM (3 days ago) Oct 15
to intel-...@googlegroups.com
Bill
Thanks for highlighting the build errors.

They were not from the MAC, but when I added safeStrdup to my utility library, I had overlooked that there was already one in the shared os.h/os.c files, hence the duplicate error for some applications. As the other applications hadn't changed I hadn't rebuilt them, which would have highlighted the issue earlier.

I have posted the updated shared/os.h and shared/os.c files to Github, the version numbers of the applications hasn't changed.

Mark


From: intel-...@googlegroups.com <intel-...@googlegroups.com> on behalf of William Beech <nj...@nj7p.org>
Sent: 15 October 2025 00:09
To: intel-...@googlegroups.com <intel-...@googlegroups.com>
Subject: Re: intel-devsys Port of Digital Research MAC assembler
 
Reply all
Reply to author
Forward
0 new messages