lotus



previous page: 9.2: Illegal Baud Rate Indexes
  
page up: Programming VCOMM FAQ
  
next page: 10.0: Documentation Issues

9.3: RxCallback does not preserve EBX.




Description

This article is from the Programming VCOMM FAQ, by nelson@desktop.nsc.com (Taed Nelson) with numerous contributions by others.

9.3: RxCallback does not preserve EBX.


[Contributed by Walter Oney and Taed Nelson (nelson@lan.nsc.com).]

At a minimum, the default VCOMM RxCallback does not preserve the EBX register,
so you must "push EBX" prior to calling the callback, and "pop EBX"
afterwards. (Turning of compiler optimization will also solve it.)

It is unknown if it affects other callbacks or other registers.

For more detail, see Walter Oney's _Systems Programming in Windows 95_.




 

Continue to:















TOP
previous page: 9.2: Illegal Baud Rate Indexes
  
page up: Programming VCOMM FAQ
  
next page: 10.0: Documentation Issues