| kerravon  Ligao, Free World North, 16.10.2025, 10:29 | not setting carry (Developers) | 
| I believe unimplemented INT 21H functions with high AH don't set the carry flag, unlike ones with low AH. Instead, I think you are supposed to check AL? Now that we have the MSDOS 4.0 source code, do we know whether that is deliberate policy, and perhaps a reason for that policy, or whether it was an accident? | 
| ecm    Düsseldorf, Germany, 16.10.2025, 16:17 @ kerravon | not setting carry | 
| > I believe unimplemented INT 21H functions with high AH don't set the carry --- | 
| bretjohn    Rio Rancho, NM, 16.10.2025, 23:59 @ ecm | not setting carry | 
| > To ensure that these odd "error codes" are detected properly, callers | 
| ecm    Düsseldorf, Germany, 17.10.2025, 09:30 @ bretjohn | not setting carry | 
| > > To ensure that these odd "error codes" are detected properly, callers --- | 
| kerravon  Ligao, Free World North, 17.10.2025, 07:58 @ ecm | not setting carry | 
| > It is deliberate. The "high" functions use the MS-DOS v1 style error | 
| ecm    Düsseldorf, Germany, 17.10.2025, 10:29 @ kerravon | not setting carry | 
| > > It is deliberate. The "high" functions use the MS-DOS v1 style error --- | 
| kerravon  Ligao, Free World North, 17.10.2025, 10:55 @ ecm | not setting carry | 
| > That means all calls above ah=6Ch are high. | 
| ecm    Düsseldorf, Germany, 17.10.2025, 11:31 @ kerravon | not setting carry | 
| > > That means all calls above ah=6Ch are high. --- | 
| kerravon  Ligao, Free World North, 17.10.2025, 16:51 @ ecm | not setting carry | 
| > > > That means all calls above ah=6Ch are high. | 
| ecm    Düsseldorf, Germany, 17.10.2025, 18:43 @ kerravon | not setting carry | 
| >  --- | 
| kerravon  Ligao, Free World North, 17.10.2025, 19:05 @ ecm | not setting carry | 
| > >  | 
 Thread view
Thread view Board view
Board view