La détection de materiel

 
V- Page Joystick
 
Il n'est pas question ici de déterminer la marque du Joystick mais tout simplement s'il est possible avec la matériel installé d'en brancher un.
 
 
PageJoystick:
         call ModeTexte
         mov ah,84h
         mov dx,0
         int 15h
         jc PJ_PasDispo
PJ_Dispo:
         mov dx,offset JOY_Dispo
         call PutString
         jmp EndPageJoystick
PJ_PasDispo:
         mov dx,offset JOY_PasDispo
         call PutString
EndPageJoystick:
         call Page_HitAnyKey
         ret