From: notsaying@nospicedham.invalid.org   
      
   On Mon, 29 Apr 2019 12:01:59 GMT, wolfgang kern   
    wrote:   
      
   > On 27.04.2019 19:04, Kerr-Mudd,John wrote:   
   >   
   > ok, fever makes the mind elastic...   
   > not fully recovered yet, but I give it a try.   
   >   
   > I'm always confused by M$'s I/O.   
   > For me IO mean hardware connected to the IO-bus.   
   > Seems they use that term for READ/WRITE and getkey/display.   
   > So I have no clue what it shall do nor why at all ... :)   
   > __   
   > wolfgang   
   >   
   > BD0A8D mov BP,8D0A ;where is this ?   
   > 31DB xor BX   
   > BA0A0D mov DX,0D0A   
   > 89D6 mov SI,DX   
   > B90080 mov CX,8000   
   > B43F mov AH,3F   
   > CD21 INT21   
   > 91 swap ax,cx   
   > E378 jcxz +78   
   > 813E82002F64 cmp[0082],642F ;"/d"   
   > 7401 skip next if equal   
   > 98 cbw   
   > 55 push BP   
      
   oops; this ain't right!   
   > B00A89 OR [BP+SI],89   
   > F75651 NOT[BP+51]   
   B00A mov al,lf ; srch for lf   
   89F7 mov di,si   
   56 push si ; need to come back if no match   
   51 push cx   
      
      
      
   > F2AE REPNZ SCASB   
   > 754F JNZ +4F   
   > B020 mov AL,20   
   > 4E dec SI   
   >   
   > 46 inc SI   
   > 3834 cmp [SI],DH   
   > 7427 jz +27   
   > 3804 cmp [SI],AL   
   > 74F7 jz -09   
   > F3AE REPZ SCASB   
   > E33F JCXZ +3f   
   > 4F dec DI   
   > 41 inc CX   
   > 3834 cmp [SI],DH   
   > 7419 jz +19   
   > 3804 cmp [SI],AL   
   > 74E8 jz -18   
   > A6 CMPSB   
   > E1F5 LOOPZ -0B   
   > E318 JCXZ +18   
   > 80FC80 cmp AH,80   
   > 741A jz +1a   
   > 98 cbw   
   > 59 pop cx ;where you pushed this two ?   
   > 5F pop di   
   > B00A mov AL,0A   
   > F2AE REPNZ SCASB   
   > 89FE mov SI,DI   
   > EBC7 jmp -39   
   >   
   > F3AE REPZ SCASB   
   > E304 JCXZ +04   
   > 4F dec DI   
   > A7 CMPSW   
   > 75E8 jnz -18   
   > 80FC00 cmp AH,00 ;08 E4 OR AH,AH   
   smaller; thanks ; this is the flag   
   > 75E9 jnz -17   
   > B401 mov AH,01   
   > 59 pop CX   
   > 5E pop DI   
   > 87FD swap BP,DI   
   > A4 MOVSB   
   > 3814 cmp [SI],DL   
   > E0FB LOOPNZ -5   
   > A4 MOVSB   
   > 49 dec CX   
   > 740F jz +0F   
   > 87FD swap BP,DI   
   > EBA7 jmp -59   
   >   
   > 59 pop CX   
   > 5E pop DI   
   > 87FD swap BP,DI   
   > 80FC01 cmp AH,01   
   > 7402 jz +02   
   > F2A4 REP MOVSB   
   > 43 inc BX   
   > 5A pop DX   
   > 89F9 mov CX,DI   
   > 29D1 sub CX,DX   
   > B440 mov AH,40   
   > CD21 int21   
   > C3 ret   
   >   
   > eof   
   >   
   >   
      
      
      
   --   
   Bah, and indeed, Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|