NUMBER DB REVNUM MOD 10+'0' DB ACR,ALF DB 'FOR MORROW DESIGNS DJ2D CONTROLLER ' DB '@ 0' IF ORIGIN/4096 > 10 ;CONTROLER ORIGIN (HEX) DB ORIGIN/4096+'A'-10 ELSE DB ORIGIN/4096+'0' ENDIF IF (ORIGIN/256 AND 0FH) > 10 DB (ORIGIN/256 AND 0FH)+'A'-10 ELSE DB (ORIGIN/256 AND 0FH)+'0' ENDIF DB '00H.' DB ACR,ALF,0 ENDIF PAGE ************************************************************* * * * UTILITY ROUTIN******** CBOOT: IF LDRBIOS ;ITIALIZE TERMINAL OR WHATEVER CALL TINIT ENDIF ; IF NOT LDRBIOS LXI SP,TPA ;SET UP STACK ENDIF ; LXI H,PROMPT ;PREP FOR SENDING SIGNON MESSAGE CALL MESSAGE ;SEND THE PROMPT XRA A ;SELECT DISK A STA CPMDRV STA CDISK ; IF NOT LDRBIOS CALL ?INIT ;INITIALIZE PAGE ZERO AND SCB JMP WBOOT ;WARM-BOOT ; ; SYSTEM INITIALIZATION SUBROUTINE ?INIT: MVI A,JMP ;SET JMPS AT ADDRESSES 0 AND 5 STA 0 STA 5 LXI H,WBOOTE SHLD 1 LHLD @MXTPA SHLD * ************************************************************* CSEG PUBLIC ?BOOT,?WBOOT,?CONST,?CONIN,?CONO,?LIST,?AUXO,?AUXI PUBLIC ?HOME,?SLDSK,?STTRK,?STSEC,?STDMA,?READ,?WRITE PUBLIC ?LISTS,?SCTRN PUBLIC ?CONOS,?AUXIS,?AUXOS,?DVTAB,?DEVIN,?DRTBL,?MLTIO,?FLUSH PUBLIC ?MOV,?TIM,?BNKSL,?STBNK,?XMOV IF NOT LDRBIOS PUBLIC ?INIT,?LDCCP EXTRN @CIVEC,@COVEC,@AIVEC,@AOVEC,@LOVEC,@MXTPA ENDIF ************************************************************* * ;SECTORS TO BE READ OR WRITTEN ?FLUSH: JMP FLUSH ;FORCE PHYSICAL BUFFER FLUSHING FOR ;USER-SUPPORTED DEBLOCKING ?MOV: JMP MOVE ;MEMORY MOVE FOR LARGE MEMORY COPY ?TIM: JMP ?TIME ;GET THE TIME ?BNKSL: JMP SELMEM ;SELECT ALTERNATE BANK OF MEMORY ?STBNK: JMP SETBNK ;SELECT BANK FOR DMA OPERATION ?XMOV: JMP XMOVE ;SET BANK WHEN A BUFFER IS IN A BANK ; THAN 0 OR 1 DJDRV JMP DJSEL ;HOOK FOR SINGLE.COM PROGRAM ;RESERVED FOR SYSTEM IMPLEMENTOR JMP RESERV1 ;RESERVED FOR CP/M PLUS c is the utility entry address U{W}{n{,c}} (Untrace) Monitor Execution without Trace n is the number of program steps c is the utility entry address W instructs SID not to trace subroutines V (Value) Display the value of the next available location in memory Displays current SETDEF parameters. A>SETDEF [TEMPORARY=C:] Sets disk drive C as the drive to be used for temporary files. A>SETDEF C:,* Tells the system to search for a program on drive C, then, if not found, search for it on the default drive. A>SETDEF [ORDER=(SUB,COM)] Instructs the system to search for a SUB file to execute. If no SUB file is found, search for a COM file. A>SETDEF [DISPLAY] Turns on the snitored execution, symbolic disassembly, assembly, and memory display and fill functions. SID can dynamically load SID utility programs to provide traceback and histogram facilities. ///2Commands Command Meaning As (Assemble) Enter assembly language statements s is the start address Cs{b{,d}} (Call) Call to memory location from SID a and b are symbolic expressions Icommand tail (Input) Input CCP command line L{s}{,f} (List) List 8080 mnemonic instructions s is the start address f is the finish address Ms,h,d (Move) Move Memory Block s is the start address h is the high address of the block (NEXT), the next location after the largest file read in (MSZE), the current value of the Program counter (PC), and the