[comp.os.cpm] Assembling & linking .MAC files ...

dcook@spam.ua.oz (David Cook) (06/16/91)

Hello CP/Mers,
  I grabbed Small-C from wuarchive.wustl.edu (which mirrors SIMTEL20),
and it seems to run ok. My problem now is that it generates .MAC
files, and I'm not sure how to assemble these 
(well, if I had DRI's MAC or RMAC I'd probably know, but I don't :)
I do have M80 and L80 ...
I would appreciate general information on those programs 


PS: to all those who posted or emailed about my previous questions :
I am in the process of summarizing ... Real Soon Now :-)

(please email replies to this question to dcook@spam.adelaide.edu.au )

ianj@ijpc.UUCP (Ian Justman) (06/17/91)

dcook@spam.ua.oz (David Cook) writes:

> Hello CP/Mers,
>   I grabbed Small-C from wuarchive.wustl.edu (which mirrors SIMTEL20),
> and it seems to run ok. My problem now is that it generates .MAC
> files, and I'm not sure how to assemble these 
> (well, if I had DRI's MAC or RMAC I'd probably know, but I don't :)
> I do have M80 and L80 ...
> I would appreciate general information on those programs 

You cannot use DRI's assembler/linker assembler set.  You MUST
use the ZASM/ZLINK (like Small-C, it's PD).  You should be able
to find it on any well-stocked BBS, and it's also on SIMTEL20.

rickc@pogo.WV.TEK.COM (Rick Clements) (06/19/91)

In article <B2Po41w164w@ijpc.UUCP> ianj@ijpc.UUCP (Ian Justman) writes:
}dcook@spam.ua.oz (David Cook) writes:
}} Hello CP/Mers,
}}   I grabbed Small-C from wuarchive.wustl.edu (which mirrors SIMTEL20),
}} and it seems to run ok. My problem now is that it generates .MAC
}} files, and I'm not sure how to assemble these 
}} (well, if I had DRI's MAC or RMAC I'd probably know, but I don't :)
}} I do have M80 and L80 ...
}} I would appreciate general information on those programs 

}You cannot use DRI's assembler/linker assembler set.  You MUST
}use the ZASM/ZLINK (like Small-C, it's PD).  You should be able
}to find it on any well-stocked BBS, and it's also on SIMTEL20.

I believe you are refering to two versions of Small C.  Version 1.2 (supports
float and Z80) requires ZASM/ZLINK.  Veersion 2.1 (supports more control
structures and the 8080 but not float) uses a DRI like assembler.  It isn't
quite like the DRI MAC or RMAC because it declares global and external symbols
differently.

Both the versions of Small C are avialable from SIMTEL-20.
-- 
Rick Clements (RickC@pogo.WV.TEK.COM)

rat@ruth.UUCP (David Douthitt) (06/23/91)

rickc@pogo.WV.TEK.COM (Rick Clements) writes:

> I believe you are refering to two versions of Small C.  Version 1.2 (supports
> float and Z80) requires ZASM/ZLINK.  Veersion 2.1 (supports more control
> structures and the 8080 but not float) uses a DRI like assembler.  It isn't
> quite like the DRI MAC or RMAC because it declares global and external symbol
> differently.

What do you mean by "uses a DRI-like assembler"?  Is this what 
Small-Mac is?  I've been using it for a while now, and it works well.   
What is this ZASM/ZLINK thingie anyway?

Wouldn't you know it, I couldn't find my Small-C book (yes, I PAID for 
Small-C... AND Small-Mac... AND Small-Tools too... GOOD STUFF!)
I don't know what version I have - may be a little out of date by now.  
But then, is Small-C for CP/M supported anymore??

UUCP: uwvax!astroatc!nicmad!madnix!ruth!rat   |  [witty saying stolen...
InterNet: rat@ruth.UUCP                       |   reward offered for safe
==== Apple II Forever! ====                   |   return.]