Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mc-10_multiport_extension_joystick_info [2024/09/21 10:31] – cleaning up robertmc-10_multiport_extension_joystick_info [2024/10/14 22:52] (current) – removed robert
Line 1: Line 1:
-====== MC-10 Extension Multiport Joystick Info ====== 
  
-===== Memory Mapped I/O Ports ===== 
-Looking over the MC to the Extension Multiport plugged in behind: 
-  * The lefthand port is address $BF34 / 48948 
-  * The righthand port is address $BF30 / 48944 
- 
-===== Joystick Decoding ===== 
-The directions and button are all read from the same address for each port: 
-  * bit 0 of the port: 1=up 
-  * bit 1 of the port: 1=down 
-  * bit 2 of the port: 1=left 
-  * bit 3 of the port: 1=right 
-  * bit 4 of the port: 1=pressed 
- 
-===== Test Code ===== 
-<code blitzbasic> 
-10 CLS 
-20 PRINT PEEK(48944) 
-30 PRINT PEEK(48948) 
-40 FOR I=1 TO 50:NEXT 
-50 GOTO 10 
-</code> 
- 
-Thanks to MrDave for the port numbers! 
- 
-Return to [[:top]]