main.mic 694 B

12345678910111213141516171819202122232425262728
  1. ;; Independent compilation a program for the 20
  2. ;; MAIN module and data_segement, do last
  3. ; MIC MAIN modulename
  4. ; modulename=symboltablename
  5. @define DSK:, DSK:, P20:, PV:, PI:
  6. @delete 'A.mac
  7. @delete D'A.mac
  8. ;avoid obnoixous ^Q halts...
  9. @terminal length 0
  10. @s:DEC20-CROSS.EXE
  11. off break; % avoid obnoxios breaks
  12. InputSymFile!* := "'A.sym"$
  13. OutputSymFile!* := "'A.sym"$
  14. GlobalDataFileName!* := "20-test-global-data.red"$
  15. ON PCMAC, PGWD$ % see macro expansion
  16. !*MAIN := ''T;
  17. ModName!*:='' 'A;
  18. ASMOUT "'A"$
  19. off StandAlone$ % Should emit SYMFNC inits
  20. IN "'A.red"$
  21. off pcmac,pgwd; % Suppress echo before INIT
  22. ASMEnd$
  23. quit$
  24. @terminal length 24
  25. @macro
  26. *'A.rel='A.mac
  27. *D'A.rel=D'A.mac