Download here - S100 Computers
Transcript
Utilizing Disk Jockey Firmware WRITE: The following program writes from memory starting at 200:000Q (8000H) to tracks 4,5, and 6 of disk. drive 1. 0100 0103 0104 0105 0108 010B 010E 0111 0113 0116" ""117 0llA 011D 011E 0121 0124 0125 '1126 0127 012A 012B 012C 012F 0132 0135 0136 0137 0138 013B 013E 013F 0141 0144 0147 014A 31 AF 4F CD CD 01 CD 3E 32 4F CD 01 C5 CD 21 09 E5 C1 CD EE E6 F3 E1 F2 00 09 04 4A El 7F E2 01 CB E2 31 lA EA E1 0'1 01 09 E2 Cl C5 CD 76 E2 CD 53 E2 DA 47 01 C1 0C 05 C2 10 01 3A 4A 01 3C FE 07 C2 13 01 C3 44 01 C3 47 01 00 1 WRITE 2 3 4 5 6 7 8 TLOOP 9 10 , 11 12 SLOOP 13 14 15 16 17 18 19 20 21 22 " 23 24 25· 26 27 28 29 30 31 32 DONE 33 ERROR 34 TEMP 35 36 CPI JNZ SP,0E6EEH set up the stack select drive A A C,A SELDRV TKZERO recalibrate the hea< B,8000H-l00H set initial adrs. SETDMA A,4 initial track numbel TEMP save track number C,A seek to correct trk TRKSET B,32:001Q sector count&number B save sect and count DMAST get current address H,100H update to next sect B H move address to B-C B SETDMA set up new address B restore sect cnt&nu B SETSEC set up next sector DWRITE write the data ERROR test for error B recover sect cnt&nu C update sector B update co~nt SLOOP TEMP get current track update track A check if all done 7 TLOOP continue to next tr JMP DONE JMP ERROR 0 LXI XRA MOV CALL CALL LXI CALL MVI STA MOV CALL LXI PUSH CALL LXI DAD PUSH POP CALL POP PUSH CALL CALL JC POP INR nCR JNZ LDA INR DB error exit track storage