Advertisement
TheMas3212

R08 and R16M file format

May 31st, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. R08
  2. 2 Bytes per Frame
  3. Byte 1: Player1
  4. Byte 2: Player2
  5.  
  6. Bits Hex Buttons Pressed
  7. 00000000 00 no buttons pressed
  8. 11111111 ff all buttons pressed
  9.  
  10. 10000000 80 A Button
  11. 01000000 40 B Button
  12. 00100000 20 Select
  13. 00010000 10 Start
  14. 00001000 08 Dpad Up
  15. 00000100 04 Dpad Down
  16. 00000010 02 Dpad Left
  17. 00000001 01 Dpad Right
  18.  
  19. ==================================================================
  20.  
  21. R16M
  22. 16 Bytes per Frame
  23. Byte 1,2: Player1-1
  24. Byte 3,4: Player1-2
  25. Byte 5,6: Player1-3
  26. Byte 7,8: Player1-4
  27. Byte 9,10: Player2-1
  28. Byte 11,12: Player2-2
  29. Byte 13,14: Player2-3
  30. Byte 15,16: Player2-4
  31.  
  32. Bits Hex Buttons Pressed
  33. 00000000 00000000 0000 no buttons pressed
  34. 11111111 11111111 ffff all buttons pressed
  35. 11111111 11110000 fff0 all normal buttons pressed
  36.  
  37. 10000000 00000000 8000 B Button
  38. 01000000 00000000 4000 Y Button
  39. 00100000 00000000 2000 Select Button
  40. 00010000 00000000 1000 Start Button
  41. 00001000 00000000 0800 Dpad Up
  42. 00000100 00000000 0400 Dpad Down
  43. 00000010 00000000 0200 Dpad Left
  44. 00000001 00000000 0100 Dpad Right
  45.  
  46. 00000000 10000000 0080 A Button
  47. 00000000 01000000 0040 X Button
  48. 00000000 00100000 0020 L Button
  49. 00000000 00010000 0010 R Button
  50. 00000000 00001000 0008 1 Button
  51. 00000000 00000100 0004 2 Button
  52. 00000000 00000010 0002 3 Button
  53. 00000000 00000001 0001 4 Button
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement