2 ; Ullrich von Bassewitz, 2002-11-29
4 ; unsigned char __fastcall__ joy_unload (void);
5 ; /* Unload the currently loaded driver. */
10 .include "joy-kernel.inc"
11 .include "joy-error.inc"
12 .include "modload.inc"
17 beq no_driver ; No driver
19 jsr joy_uninstall ; Uninstall the driver
23 jsr _mod_free ; Free the driver
25 jmp joy_clear_ptr ; Clear driver pointer, return zero
29 lda #JOY_ERR_NO_DRIVER