
			Input Summary
			~~~~~~~~~~~~~

 Keyboard
 ~~~~~~~~
 CIAASP		contains encoded raw key value
 
		move.b          CIAASP,d0
		not.b           d0
		ror.b           d0

                   Raw Key Codes For GB Amiga
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~
     0   1   2   3   4   5   6   7   8   9   a   b   c   d   e   f
   +---------------------------------------------------------------
  0| '   1   2   3   4   5   6   7   8   9   0   -   =   \       0
  1| Q   W   E   R   T   Y   U   I   O   P   [   ]       1  2  3
  2| A   S   D   F   G   H   J   K   L   ;   #          4  5  6
  3|    Z   X   C   V   B   N   M   ,   .   /       .  7  8  9
  4| Spc BS  TAB RetRet Esc Del             -      CU  CD  CR  CL
  5| F1  F2  F3  F4  F5  F6  F7  F8  F9  F10 (  )  /  *  +  Help
  6| LS  	Š2 CAP Ctr LAl RAl LAm RAm


      Key is located on numeric keyboard.
      Blank key on A1200 near Return key.
      Blank key on A1200 near Left Shift key.
 Spc   Space Bar.               LS    Left Shift Key.
 BS    Backspace key.           RS    Right Shift key.
 Ret   Return ( Enter ) key.    Ctr   Ctrl key.
 CU    Cursor Up key.           LAl   Left Alt Key.
 CD    Cursor Down key.         RAl   Right Alt key.
 CR    Cursor Right key.        LAm   Left Amiga key.
 CL    Cursor Left key.         RAm   Right Amiga key.
 CAP   Caps Lock key.

 Supplied routines in HW_Input.i
 -------------------------------
 Subroutine		Returns
 
 GetKey		d0=raw key code, unchecked!
 GetChar	d0=valid ASCII code or 0.
 WaitForChar	d0=valid ASCII code.

 Joysticks
 ~~~~~~~~~
 Can substitute JOY0DAT for JOY1DAT if reading Port 0.

 Bit 1 of JOY1DAT is set if the joystick is being moved right.
 Bit 9 of JOY1DAT is set if the joystick is being moved left.
 Bit 0 EOR'd with Bit 1 of JOY1DAT will be TRUE if joystick is moved down.
 Bit 8 EOR'd with Bit 9 of JOY1DAT will be TRUE if joystick is moved up.

Port 0: bit 6 of CIAAPRA is cleared  when  the  fire button is pressed
Port 1: bit 7 of CIAAPRA is cleared  when  the  fire button is pressed

 Supplied routines in HW_Input.i
 -------------------------------
 Subroutine		Returns

 ReadJoy0		d0=movement code (see below)
 ReadJoy1		d0=movement code (see below)

			bit 0 set = right movement
			bit 1 set = left movement
			bit 2 set = down movemwnt
			bit 3 set = up movement

 The Mouse
 ~~~~~~~~~
 Bit 6 of register  CIAAPRA reflects  the  state of the left mouse button.

label          btst.b          #6,$bfe001		button pressed?
               bne.s           label			no, keep waiting!

 The state of the right mouse  button  is  reflected  in bit 2 of the byte at
address $dff016.

label          btst.b          #2,$dff016		button pressed?
               bne.s           label			no, keep waiting!

 JOYxDAT when reading a mouse ( x= 0 or 1 )

 Bit Number    15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
 Function      y7 y6 y5 y4 y3 y2 y1 y0 h7 h6 h5 h4 h3 h2 h1 h0

 y7-y1 form the vertical movement counter
 h7-h1 form the horizontal movement counter

 Supplied routines in HW_Input.i
 -------------------------------
 Subroutine		Returns

 SeeMouse		d0 = X increment, d1 = Y increment

