83Plus:Software:usb8x/Asm Interface/KBD/KBDVersion

From WikiTI
Jump to: navigation, search

Synopsis

Name: KBDVersion

Minimum usb8x version: 0.11

Returns keyboard driver version and memory requirements.

Inputs

  • None

Outputs

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

Destroys

  • None

Notes

The version reported by this routine is the version of the keyboard driver. To get the usb8x version use the [[../../GetVersion|GetVersion]] routine. 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 32 bytes.