* Boot a 7900.. load bootext from blocks 0-5 and JSB 2055,I to run it * Switches... bit 0 clear for removeable, set for fixed platter * 10/3/04 WTN ORG 77700B DC EQU 16B CC EQU 17B * seek to sector 0 CLC DC CLC CC CLA OTA DC set cylinder = 0 STC DC,C output to data channel LDA SKCMD get seek command OTA CC output to command channel STC CC,C initiate seek SFS DC first address word accepted? JMP *-1 no, wait CLA start head/sect = 0 LIB 1 SLB skip if SR bit 0 clear IOR RMBIT if SR bit 0 set, then fixed boot OTA DC STC DC,C output to data channel SFS CC seek complete? JMP *-1 no, wait * load bootext from disk... CLC DC clear control on data CLC CC and command channels LDA CW1 get dma control word 1 OTA 6 send to dma channel CLC 2 prepare for cw2 LDA CW2 get cw2, address OTA 2 send to dma channel STC 2 prepare for cw3 LDA CW3 get cw3, -length OTA 2 send to dma channel LDA RDCMD get read command OTA CC send to disk command channel STC DC,C prepare data channel for read STC 6,C activate dma STC CC,C activate read SFS CC done? JMP *-1 no, wait * run bootext and boot JSB ENTRY,I RMBIT OCT 001000 bit 9 set for head 2 RDCMD OCT 020000 read command SKCMD OCT 030000 seek command CW1 OCT 120016 dma cw1 for read, note slot 16 CW2 OCT 102011 dma cw2, read into 2011 CW3 OCT 164000 dma cw3, inverse length (-6144) ENTRY OCT 102055 entry point, 2055 indirect