module.mic 649 B

123456789101112131415161718192021222324252627
  1. ;; independant compilation a program for the 20
  2. ; MIC MODULE modulename,symbolmname
  3. @define DSK:, DSK:, P20:, PI:
  4. @delete 'a.mac
  5. @delete D'a.mac
  6. ;avoid obnoixous ^Q halts...
  7. @terminal length 0
  8. @s:DEC20-cross.exe
  9. off break; %kill obnoxious break loops
  10. off USERMODE ;
  11. InputSymFile!* := "'B.sym"$
  12. OutputSymFile!* := "'B.sym"$
  13. GlobalDataFileName!* := "20-test-global-data.red"$
  14. ON PCMAC, PGWD$ % see macro expansion
  15. !*MAIN := ''NIL;
  16. ModName!*:='''A;
  17. ASMOUT "'A"$
  18. off StandAlone$ % Should emit SYMFNC inits
  19. IN "'A.red"$
  20. off pcmac,pgwd; % Suppress echo before INIT
  21. ASMEnd$
  22. quit$
  23. @terminal length 24
  24. @macro
  25. *'A.rel='A.mac
  26. *D'A.rel=D'A.mac