TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: DAVID KIRSCHBAUM
from: TOM TORFS
date: 1997-07-07 09:28:00
subject: Huh?

David Kirschbaum wrote in a message to Arnoud Bakker:
 DK> If it's truly the first code in the program .. AX shouldn't really
 DK> matter.  AFAIK AX will always be 0.
From RB:
   .COM-format executables begin running with the following register
     values:
      AL = 00h if first FCB has valid drive letter, FFh if not
      AH = 00h if second FCB has valid drive letter, FFh if not
      CS,DS,ES,SS = PSP segment
      SP = offset of last word available in first 64K segment
      (note: AX is always 0000h under DESQview)
   old-format executables begin running with the following register
     values:
      AL = 00h if first FCB has valid drive letter, FFh if not
      AH = 00h if second FCB has valid drive letter, FFh if not
      DS,ES = PSP segment
      SS:SP as defined in .EXE header
      (note: AX is always 0000h under DESQview)
greetz,
Tom
tomtorfs@mail.dma.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

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™.