joy_sig: .byte $6A, $6F, $79, JOY_API_VERSION ; "joy", version
+.code
;----------------------------------------------------------------------------
; unsigned char __fastcall__ joy_install (void* driver);
; /* Install the driver once it is loaded */
mouse_sig: .byte $6d, $6f, $75, MOUSE_API_VERSION ; "mou", version
+.code
;----------------------------------------------------------------------------
; unsigned char __fastcall__ mouse_install (const struct mouse_callbacks* c,
; void* driver);
ser_sig: .byte $73, $65, $72, SER_API_VERSION ; "ser", version
+.code
;----------------------------------------------------------------------------
; unsigned char __fastcall__ ser_install (void* driver);
; /* Install the driver once it is loaded */
_ser_install:
sta _ser_drv
- sta ptr1
- stx _ser_drv+1
- stx ptr1+1
+ sta ptr1
+ stx _ser_drv+1
+ stx ptr1+1
; Check the driver signature
tgi_sig: .byte $74, $67, $69, TGI_API_VERSION ; "tgi", version
+.code
;----------------------------------------------------------------------------
; void __fastcall__ tgi_install (void* driver);
; /* Install an already loaded driver. */
rts
+