#! /bin/csh # Create help file for GNU Tools assembly echo "ASSEMBLE" > __ted.s echo " NIBASC /HPHP48-X/ * Download header" >> __ted.s echo " INCLUDE SupRomEntr.a * Supported Entries" >> __ted.s echo " INCLUDE __head.a * Library header" >> __ted.s echo " LISTM * List includes" >> __ted.s echo "RPL" >> __ted.s echo " INCLUDE ted.s * General" >> __ted.s echo " INCLUDE ed.s * ED" >> __ted.s echo " INCLUDE decomp.s * Compiler/Decompiler" >> __ted.s echo " INCLUDE view.s * Viewer" >> __ted.s echo " INCLUDE ufl.s * UFL" >> __ted.s echo "ASSEMBLE" >> __ted.s echo " CLRLIST INCLUDE" >> __ted.s echo " INCLUDE __hash.a * Library tables" >> __ted.s echo " INCLUDE __end.a * Library end" >> __ted.s echo "RPL" >> __ted.s ###################################################################### echo Assembling rpl.. rplcomp __ted.s __ted.a __ted.ext ###################################################################### echo Building tables.. echo "TITLE TED Library" > __build.mn echo "OUTPUT __xx.o" >> __build.mn echo "LLIST __xx.lr" >> __build.mn echo "CONFIGURE TEDcfg" >> __build.mn echo "MESSAGE TEDmsg" >> __build.mn echo "NAME TED v3.1 :Fin" >> __build.mn echo "ROMPHEAD __head.a" >> __build.mn echo "REL __ted.o" >> __build.mn echo "TABLE __hash.a" >> __build.mn echo "FINISH __end.a" >> __build.mn echo "END" >> __build.mn makerom __build.mn __build.m ###################################################################### echo Assembling code.. if ($1 == -l) then sasm -EH __ted mv __ted.l ted.l else sasm -EHN __ted endif lbcrc __ted.o mv __ted.o ted.lib ######################################################################