module.mic 726 B

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