stason.org logo lotus


previous page: 9.2: Illegal Baud Rate Indexespage up: Programming VCOMM FAQnext page: 10.0: Documentation Issues

9.3: RxCallback does not preserve EBX.

 Books
 TULARC
















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:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

pc, OS, COMM port driver, Microsoft Windows, compilation







TOP
previous page: 9.2: Illegal Baud Rate Indexespage up: Programming VCOMM FAQnext page: 10.0: Documentation Issues