Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!ut-sally!nather From: nather@ut-sally.UUCP (Ed Nather) Newsgroups: net.micro.pc Subject: Re: Yet another switch.com Message-ID: <5254@ut-sally.UUCP> Date: Sat, 5-Jul-86 22:30:28 EDT Article-I.D.: ut-sally.5254 Posted: Sat Jul 5 22:30:28 1986 Date-Received: Sun, 6-Jul-86 04:42:37 EDT References: <1603@tekgvs.UUCP> Organization: U. Texas CS Dept., Austin, Texas Lines: 24 Summary: asm version I use this to set SWITCHAR to "\" on bootup, so I can use "/" in pathnames. I call it "int37.com" and it takes up a whole 9 bytes. It is premptive: it does ONLY that job and doesn't chatter. ---------------------------------------------------------------- cseg segment para public 'code' assume cs:cseg,ds:cseg,es:cseg,ss:cseg org 100h ent proc near MOV DL,'\' ; DL was slash, change it to backslash MOV AX,3701h ; AH=CharOper, AL=Set it INT 21h ; DOS Command RET ent endp cseg ends end ent -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU