On Tue, Jul 20, 2004 at 06:59:15PM -0000, harry_dodgson wrote:
> Has anyone tried to build something significant with VMUscript
> or VMUASM? As my .S source file approaches 40K, my Windoze systems
> keep crashing. Sometimes it compiles okay and then assembles okay -
> most times it doesn't. It is getting annoying. You would think in
> this age of gigabyte RAM that I could create a 24K VMU file without
> rebooting the system frequently.
As far as I know VMUASM is just the normal aslc86k from Marcus Comstedt
compiled for DOS. Version 1.9 of this has some problems if you use macros.
> Is there a VMU assembler available for Solaris or MacOS anywhere?
The sourcecode for aslc86k can be downloaded at Marcus website at
<http://mc.pp.se/dc/sw.html> as VMS Assembler. A patch to fix the macro
problem is below
Soeren
diff -u aslc86k-1.9.orig/macro.c aslc86k-1.9/macro.c
--- aslc86k-1.9.orig/macro.c Thu Nov 11 23:47:33 1999
+++ aslc86k-1.9/macro.c Tue Oct 17 15:34:31 2000
@@ -41,9 +41,9 @@
nummacargs++;
if(macargbufuse+l>=macargbufmax)
if(macargbuf)
- macargbuf=realloc(macargbuf, macargbufmax=min(macargbufmax<<1,
macargbufuse+l+1));
+ macargbuf=realloc(macargbuf, macargbufmax=macargbufuse+l+1);
else
- macargbuf=malloc(macargbufmax=min(256, l+1));
+ macargbuf=malloc(macargbufmax=l+1);
if(!macargbuf) {
fprintf(stderr, "Fatal: Out of memory!\n");
exit(2);