DESKTOP x1k10
                                  ͻ
                                    HD6301  
                                   commands 
                                  ͼ
                                   Ŀ
Ĵ  I N  Ŀ
                                                                     
RESET                  $80  $01                                               
                                                                              
TRANSFERT_On           $11                                                    
                                                                              
TRANSFERT_Off          $13                                                    
                                                                              
MOUSE_as_Keyboard      $0A  X_impulses  Y_impulses                            
                                                                              
MOUSE_Absolute_Mode    $09  X_maxi_high  X_maxi_low  Y_maxi_high  Y_maxi_low  
                                                                              
MOUSE_Absolute_Get     $0D                                                    
                                                                              
MOUSE_Absolute_Set     $0E  $00  X_high  X_low  Y_high  Y_low                 
                                                                              
MOUSE_Relative_Mode    $08                                                    
                                                                              
MOUSE_Step_absolute    $0C  X_impulses  Y_impulses                            
                                                                              
MOUSE_Step_relative    $0B  X_step  Y_step                                    
                                                                              
MOUSE_Y_Normal         $10                                                    
                                                                              
MOUSE_Y_Inverse        $0F                                                    
                                                                              
MOUSE_Buttons          $07  %000001--:as keyboard                             
                            %000000-1:get absolute position when hiting       
                            %0000001-:get absolute position when releasing    
                                                                              
MOUSE_Off              $12                                                    
                                                                              
JOYSTICK0_as_Keyboard  $19  X_per1 Y_per1 X_rep1 Y_rep1 X_rep2 Y_rep2         
                           (                  1/10s                  )        
                                                                              
JOYSTICKS_Report_On    $14                                                    
                                                                              
JOYSTICKS_Report_Off   $15                                                    
                                                                              
JOYSTICKS_Get          $16                                                    
                                                                              
JOYSTICK0_Sample_Fire  $18     period                                         
                           (for 8 samples , 1/100s)                           
                                                                              
JOYSTICKS_Sample_On    $17     period                                         
                              (1/100s)                                        
                                                                              
JOYSTICKS_Off          $1A                                                    
                                                                              
DATE_Set               $1B  year  month  day  hour  minute  second            
                           (         in BCD else not set          )           
DATE_Get               $1C                                                    
                                                                              
STATE_Get              $80+($07-$0C/$0F/$10/$12/$14/$15/$19/$1A)              
                                                                              


                                   Ŀ
Ĵ O U T Ŀ
                                                                     
KEYBOARD_scancode      see scancode map when hiting                           
                       (and $74 for left button $75 for right button)         
                       same code+$80 when releasing                           
                                                                              
MOUSE_Absolute         $F7     %0000lLrR        X_low  X_high  Y_low  Y_high  
                          (L:left  button hited)                              
                          (R:right button hited)                              
                          (l:left  button released)                           
                          (r:right button released)                           
                                                                              
MOUSE_Relative         %111110LR       X      Y                             
                       (L:left  button)                                       
                       (R:right button)                                       
                                                                              
JOYSTICK_Motion        %1111111J       %F000RLDU                              
                       (J:joystick)    (F:fire R:right L:left D:down U:up)    
                                                                              
JOYSTICK0_Fire         %ffffffff                                              
                                                                              
JOYSTICKS_Sample       %000000fF       %rlduRLDU                              
                       (F:fire)        (R:right L:left D:down U:up)           
                       (           lowercase:joystick0         )              
                                                                              
DATE                   $FC  year  month  day  hour  minut  second             
                           (              in BCD                 )            
                                                                              
STATE                  $F6  $07/$08/$0F/$10/$12/$14/$15/$1A  parameters...    
                                                                              

