Computing.Net > Forums > Programming > ASM: Switch Characters

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ASM: Switch Characters

Reply to Message Icon

Name: AvengerX
Date: December 13, 2001 at 17:27:02 Pacific
Comment:

I am trying to change the (DOS) Switch Character to - instead of /, but the code i use doesnt work, the return code (GETSW.COM) works, but it _always_ returns "/", my Set program (SETSW.COM) doesnt work. code in SETSW.COM (Using A86 assembler)

MOV AH,37h ;Subfunction for "Switch Character" Operations
MOV AL,1h ;Set Switch Character to DL
MOV DL,2Dh ;Hex code for "-" character
INT 21h ;Call Interrupt 21
INT 20h ;Call Interrupt 20

Any Help Appreciated, Thanks In Advance



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


How'd iread type RCDatafr... ALGORITHMS



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: ASM: Switch Characters

Undocumented DOS commands www.computing.net/answers/programming/undocumented-dos-commands/9094.html

Convert .asm to .c www.computing.net/answers/programming/convert-asm-to-c/7883.html

Calling C++ from ASM www.computing.net/answers/programming/calling-c-from-asm/402.html