# making a PCMD {a modified XCMD} ###################### asm {MPW}PCMDs:DoPCommand.a Pascal {MPW}PCMDs:DoPCommand.p -t -mc68881 -mc68020 -d Elems881=true # note - all of the program code must reside in a single resource # hence the -sn commands to rename all segments the same # (the linker will then combine them). Of course, you may need to # add other libraries or delete unused ones from the list. link -rt P0o8=0 {MPW}PCMDs:DoPCommand.a.o {MPW}PCMDs:DoPCommand.p.o ¶ "{Libraries}"Interface.o {pLibraries}PasLib.o {pLibraries}SaneLib881.o ¶ -sn SANELib=Main -sn SANELIB=Main -sn PASLIB=Main -o {MPW}PCMDs:DoPCommand # this statement automatically duplicates the new file into the system folder # so that Prism will find and load it for testing. SetFile {MPW}PCMDs:DoPCommand -t P0o8 -c PRSM && ¶ duplicate -y {MPW}PCMDs:DoPCommand "{SystemFolder}" Beep