2 ; Ullrich von Bassewitz, 2003-04-15
4 ; unsigned char __fastcall__ ser_unload (void);
5 ; /* Unload the currently loaded driver. */
10 .include "ser-kernel.inc"
11 .include "ser-error.inc"
12 .include "modload.inc"
18 beq no_driver ; No driver
23 pha ; Save pointer to driver
25 jsr _ser_uninstall ; Deinstall the driver
29 pla ; Get pointer to driver
30 jmp _mod_free ; Free the driver
34 lda #<SER_ERR_NO_DRIVER