83Plus:Software:usb8x/Asm Interface/GetVersion

From WikiTI
Revision as of 21:29, 15 July 2006 by Dan Englender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Name: GetVersion

Minimum usb8x version: 0.05

Returns driver version and memory requirements.

Inputs

  • None

Outputs

  • DE: size of buffer required for [[../DriverInit|DriverInit]]
  • H: major version
  • L: minor version

Destroys

  • None

Notes

If your application uses any routines first introduced in a version after 0.05, you should check the usb8x version to make sure the user has an appropriate version. The buffer size is the actual size used by the driver. Use this value if you would like to dynamically allocate the driver's buffer. If you would like to statically allocate it, you can use a buffer size of 128 bytes.