TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: AUKE REITSMA
from: BARRY BLOCK
date: 1997-09-15 15:40:00
subject: set country from prompt

Hello Auke,
 BB>> Hello all, why does this not work?
 AR> Incorrect interpretation of the interrupt list.
 BB>> ;A86 comfile - set country from prompt.
 BB>> mov ah,38h
 BB>> mov dx,0ffffh
 BB>> mov al,1
 AR> Sets country code of 1. You probably want:
 AR>      mov al, 01Fh
 BB>> mov bx,01Fh
 AR> Ignored. Relevant parts of the interrupt list retained:
 BB>>  AL = 01h thru FEh for specific country with code <255
 BB>>  AL = FFh for specific country with code >= 255
 BB>>  BX = 16-bit country code (see #0713)
     Yes, I see. AH must be set to 38h so any number in AL >FFh
     can't go on in AH. So BX is used instead.
     However it still does not work.
     I have checked it in D86 (disassembler) so that the command interpreter
     is not involved (4DOS). For any number in AL it always returns 1.
     I have tried DX,200h and BX,0 and BX,0ffffh also.
     I am not using country.sys so would expect the default to be 1.
Kind regards, Barry 
---------------
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.