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
10 CLS 20 PRINT PEEK(48944) 30 PRINT PEEK(48948) 40 FOR I=1 TO 50:NEXT 50 GOTO 10
Thanks to MrDave for the port numbers!
Return to top