;vector_handler_4C
;-----------------
;Allows RISC OS 3.50-4.xx to support IOC device 9

;R11 - pointer to VARS

.vector_handler_4C
 TEQ     R0, #IOC_SSBC			;IOC SSBC device
 #if compile_RO == 400
   BLEQ    check_taskID			;task we support?
 #endif
 BNE     vector_handler_forward		;NO, pass to OS

 ADD     R12, R11, #DeviceVectors - VARS + (IOC_SSBC * device_table.size)
 MOV     R14, #0
 STR     R14, [R12, #device_table.entry_code]	;clear vector
EXITSWI ""