diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-06 21:48:32 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-06 21:48:32 +0100 |
commit | 856a86a7f7796e34efaeada0dc11f771fedf2c67 (patch) | |
tree | a7d75d7f6df8e7f7456ea35fadc05b6d4002c89a | |
parent | 8acb7f4433fdad75f7673a9a06a228aa46ba73c7 (diff) | |
download | tr8vm-856a86a7f7796e34efaeada0dc11f771fedf2c67.tar.gz tr8vm-856a86a7f7796e34efaeada0dc11f771fedf2c67.zip |
Better format
-rw-r--r-- | README.md | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -132,17 +132,16 @@ The controller support d-pad with 4 directions, 2 action buttons, select and sta Read the port `0xf0` for the 8 1-bit flags reporting the state of the controller 1, and `0xf1` for controller 2. -``` -76543210 -|||||||\ a (fire 1) -||||||\ b (fire 2) -|||||\ d-pad up -||||\ d-pad down -|||\ d-pad left -||\ d-pad right -|\ select -\ start -``` +| Bits | Meaning | +| --- | --- | +| `0000000x` | a (fire 1) | +| `000000x0` | b (fire 2) | +| `00000x00` | d-pad up | +| `0000x000` | d-pad down | +| `000x0000` | d-pad left | +| `00x00000` | d-pad right | +| `0x000000` | select | +| `x0000000` | start | ### Palette |