1D/ADAC08328(1us)(10~20(10~20))DAC083221.2088DAC8D/AVREFIOUT2RFBAGNDVCCDGNDDI7~DI0CSWR1WR2XFERILELELEIOUT1&&&RFB3Vcc,+5V+15VVREF,-10V+10VRFB,AGNDDGND8DAC8D/AVREFIOUT2RFBAGNDVCCDGNDDI7~DI0LEIOUT1LECSWR1WR2XFERILE&&&8RFB4DI7~DI0:DI0DI78DAC8D/AVREFIOUT2RFBAGNDVCCDGNDDI7~DI0LEIOUT1LECSWR1WR2XFERILE&&&8RFB58DAC8D/AVREFIOUT2RFBAGNDVCCDGNDDI7~DI0LEIOUT1LECSWR1WR2XFERILE&&&8RFB0011ILE,CS,WR11LE1ILECSWR1,LE=1WR1,LE=06LE2XFERWR22•XFERWR2,LE2=1DAC•WR1,LE=0DACD/AD/AVREF8DAC8D/AIOUT2RFBAGNDVCCDGNDDI7~DI0LEIOUT1LECSWR1WR2XFERILE&&&8RFB00178DAC8D/AVREFIOUT2RFBAGNDVCCDGNDDI7~DI0LEIOUT1LECSWR1WR2XFERILE&&&8IOUT11”1”,”0”,0IOUT22IOUT1+IOUT2=255VREF256RFBRFB82.DAC08321)2)91):D/AD/A10+-VoportPCIOWA0~A9D0~D7+5VCSDAC0832DI0~DI7IOUT1IOUT2RFBXFERWR2WR1ILE:DAC11PCI/OA15~A0CLKIOWT4T1T2T3TwD7~D0portMOVAL,data;MOVDX,portOUTDX,ALD/AIOUT2DI7~DI0LEIOUT1LECSWR1ILE&WR2XFER&RFB-+VoIOWA9~A0D7~D0+5VPCportDAC12portPCIOWA0~A9D0~D7+5VXFERDAC0832DI0~DI7+-VoIOUT1IOUT2RFBCSWR1WR2ILE:DAC13PCI/OA15~A0CLKIOWT4T1T2T3TwD7~D0portMOVAL,data;MOVDX,portOUTDX,ALIOUT2DI7~DI0LECSWR1ILE&VoD7~D0+5VPCportWR2IOWA9~A0XFERD/ALEIOUT1RFB-+DAC&142):DAC0832PCWR1IOWDI0~DI7D0~D7+5VILE+-VoIOUT1IOUT2RFBWR2CSA0~A9XFERVREF-5Vport1port2DGNDAGND15MOVAL,data;MOVDXport1OUTDX,AL;MOVDX,port2OUTDX,AL;IOUT2DI7~DI0LECSWR1ILE&VoD7~D0+5VPCport2WR2IOWA9~A0XFERD/ALEIOUT1RFB-+DAC&port116port1XFERWR2CSWR1ILE+D/ADI7~DI0Vo1port2XFERWR2CSWR1ILE+D/ADI7~DI0Vo2port3DAC0832DAC0832D7~D0A9~A0IOWPC+5v+5v17codeSEGMENTASSUMECS:code,DS:codedatav1DB11h,12h,13h,14h,15h,16h,17h,18h,19h,1Ahdatav2DB21h,22h,23h,24h,25h,26h,27h,28h,29h,2Ahstart:MOVAX,codeMOVDS,AXLEASI,data_v1LEABX,data_v2MOVCX,10next:MOVAL,[SI];V1OUTport1,AL;0832MOVAL,[BX];V2OUTport2,AL;0832OUTport3,AL;0832INCSIINCBXLOOPnextMOVAH,4CHINT21HcodeENDSENDstartdatav1datav2183.(10CDHVoDAC0832PCWR1IOWDI0~DI7D0~D7+5VILE+-VoIOUT1IOUT2RFBWR2DGNDCSA0~A9XFERVREF-5Vport1port2MOVAL,0CDHMOVDXport1OUTDX,ALMOVDX,port2OUTDX,AL190FFH=255IOUT1=Vo=-IOUT1RFB=-FBREF256R255V256255VREF0CDH=205VREF=-5VVo=-=4V256205VREFWR1IOWDI0~DI7D0~D7+5VILE+-VoIOUT1IOUT2RFBWR2DGNDCSA0~A9XFERVREF-5Vport1port220VoVREFWR1IOWDI0~DI7D0~D7+5VILE+-VoIOUT1IOUT2RFBWR2DGNDCSA0~A9XFERVREF-5Vport1port24VVREF-10V,Vo=8V-10V8V10VVREF10V,Vo=-8V-8V212tVo4V0V22codeSEGMENTASSUMECS:codestart:MOVCX,8000H;MOVAL,0;next:MOVDX,port1;OUTDX,ALMOVDX,port2;OUTDX,ALCALLdelay;INCAL;CMPAL,0CEH;JNZnext;MOVAL,0;LOOPnext;MOVAH,4CH;DOSINT21HdelaycodeENDSENDstartVo4V0VCDH234V0VVottVo4V0V