home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,640 of 42,547   
   JJ to John   
   Re: How do I hide choice.com's cursor?   
   12 Jun 18 23:26:16   
   
   From: jj4public@vfemail.net   
      
   On Tue, 12 Jun 2018 12:00:23 -0000 (UTC), Kerr-Mudd,John wrote:   
   > chgcsr.asm   
   > org 0x100   
   > 	  mov ah,03   
   > 	  xor bx,bx   
   > 	  int 0x10      ; q csr shape (to ch)   
   > 	  or  ch,0x20   ; bit 5 csr off   
   > 	  mov ah,01   
   > 	  int 0x10   
   > 	  ret   
   >   
   > May or may not work! (probably not, in a cmd window)   
      
   It should work in DOSBox and 32-bit Windows's CMD.   
      
   Numbers in DEBUG can only be hexadecimal, so the "0x" must be removed.   
      
   And another program is needed to restore the cursor. i.e.   
      
     mov ah,03   
     xor bx,bx   
     int 10   
     and ch,1f   
     mov ah,01   
     int 10   
     ret   
      
   For cursor hide/show toggle, use below. But it may not be able to unhide the   
   cursor if other program tries to (improperly) hide the cursor also.   
      
     mov ah,03   
     xor bx,bx   
     int 10   
     xor ch,20   
     mov ah,01   
     int 10   
     ret   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca