Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
lynx:buttons_and_cartridge_pins [2021/01/29 01:42] – created Igor | lynx:buttons_and_cartridge_pins [2023/01/26 06:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
The buttons and some of the cartridge pins share some common connections on the Lynx motherboard. The Lynx buttons have one pole connected to +5V. The other pole connects to a 4.7k resistor and then it goes to the data bus. | The buttons and some of the cartridge pins share some common connections on the Lynx motherboard. The Lynx buttons have one pole connected to +5V. The other pole connects to a 4.7k resistor and then it goes to the data bus. | ||
- | The idea is that when the CPU does not use the data bus for accessing chips it can just read the buttons by not setting the OE flag on. The 4.7k resistance is big enough to separate the buttons from the data bus. Below are the values that the buttons set when pressed (in hexadecimal). These can be read from the **0xFCB0** memory location or by accessing the **SUZY.joystick** byte value in CC65. | + | The idea is that when the CPU does not use the data bus for accessing chips it can just read the buttons by not setting the OE flag on. The 4.7k resistance is big enough to separate the buttons from the data bus. Below are the values that the buttons set when pressed (in hexadecimal). These can be read from the **0xFCB0** memory location or by accessing the **[[https:// |
< | < |