83Plus:BCALLs:80ED
From WikiTI
Synopsis
Unofficial Name: ControlCmdFailed
BCALL Address: 80ED
Checks for success/failure on a USB control request.
Inputs
- None
Outputs
- C set if NAK or Stall
Destroys
- A
Comments
This BCALL outputs 0 to port 8Eh and checks bits 2 and 4 of port 91h. If either are set, this function returns carry set.
Example
B_CALL ControlCmdFailed jr c,commandFailed