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,644 of 42,547    |
|    JJ to Grant Taylor    |
|    Re: How do I hide choice.com's cursor?    |
|    13 Jun 18 08:52:11    |
      From: jj4public@vfemail.net              On Tue, 12 Jun 2018 11:35:11 -0600, Grant Taylor wrote:       >       > Okay. (I think this is the same code that Kerr-Mudd shared, save for       > removing 0x from numbers. Correct?)              Yes. They're based on Kerr-Mudd's code.              > Please forgive my ignorance. How do I go about entering this in DEBUG?       > It's been the better part of two decades since I've used DEBUG and I've       > forgotten everything.       >       > Thank you in advance. :-)              You can use a "DEBUG script" from those code. e.g. this code.              [code]       mov ah,03       xor bx,bx       int 10       or ch,20       mov ah,01       int 10       ret       [/code]              Became:              [code]       a       mov ah,03       xor bx,bx       int 10       or ch,20       mov ah,01       int 10       ret              n csroff.com       rcx e       w              [/code]              Save it as e.g. "csroff.pat". Then use it as:               debug < csroff.pat              It'll create/overwrite a file named "csroff.com" - as specified by the "n"       DEBUG command.              Notice the empty lines within the script. These must not be omitted. They're       required in order for the DEBUG automation to work.              The above code is for the one that hides the cursor. Below is the one that       unhide it.              [code]       a       mov ah,03       xor bx,bx       int 10       and ch,1f       mov ah,01       int 10       ret              n csron.com       rcx e       w              [/code]              And here's the one that toggles the cursor.              [code]       a       mov ah,03       xor bx,bx       int 10       xor ch,20       mov ah,01       int 10       ret              n csrtog.com       rcx e       w              [/code]              --- 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