Post by spannernick on Jun 30, 2024 14:28:49 GMT
About Running THE400 Firmware on THEC64/THEVIC20
====================================
If you plug the controller in the back USB port it assigns it as player 2, and if you plug it into THEC64/VIC20s USB Hub it does the same thing, the USB 3 Port Hub on THEC64/THEVIC20 is connected the same way so is connected to the same pins (it looks like it uses the same IC on both USB Hubs) but see the USB HUB in THE400 Mini as `USB Hub ID 4` so whatever USB port you plug a controller into THE400 USB Hub it will always be player 1, looking at the THE400 Mini firmware in THE400 Mini you can see it doing that so how it assigns the controller as player 1, the whole USB HUB is Player 1 and THEC64 USB Hub is missing port 4 that it see as player 1 and the first port because port 4 is port 1 on THE400 USB Hub so needs a 4th port for it to see it like THE400 USB Hub does so there's the problem, you need to wire port 4 on THEC64 USB Hub IC to USB port 3 so it sees it as port 1 because its not connected, THE400 Mini uses the same THEC64 board as THEC64, it has the same part number.
So you might need to modify THEC64 USB Hub for it to work with THE400 Firmware because it has no Port 4 that the firmware reads as port 1, player 1, thats why it reads the USB ports backwards, RGL knows you could flash THE400 Mini Firmware on THEC64 so put in some modifications in to it so it does not work properly with it, why would the USB Hub read the USB Ports as 4, 3, 2 and 1 there be no point to it, there is always a reason why something does something..
.
Here is more info about it, vic2020ian found out the problem, thanks...
.
Look at the PDF file for pictures:
The400 vs TheC64 hub.pdf (529.62 KB)
Info from the PDF:
Maybe how to fix this is changing the name of the USB Hub in THE400 Firmware when its running in THEC64/THEVIC20 so it sees it as `USB Hub ID 4` but not sure how and if you can do that, maybe someone on here might have a idea...?
====================================
If you plug the controller in the back USB port it assigns it as player 2, and if you plug it into THEC64/VIC20s USB Hub it does the same thing, the USB 3 Port Hub on THEC64/THEVIC20 is connected the same way so is connected to the same pins (it looks like it uses the same IC on both USB Hubs) but see the USB HUB in THE400 Mini as `USB Hub ID 4` so whatever USB port you plug a controller into THE400 USB Hub it will always be player 1, looking at the THE400 Mini firmware in THE400 Mini you can see it doing that so how it assigns the controller as player 1, the whole USB HUB is Player 1 and THEC64 USB Hub is missing port 4 that it see as player 1 and the first port because port 4 is port 1 on THE400 USB Hub so needs a 4th port for it to see it like THE400 USB Hub does so there's the problem, you need to wire port 4 on THEC64 USB Hub IC to USB port 3 so it sees it as port 1 because its not connected, THE400 Mini uses the same THEC64 board as THEC64, it has the same part number.
So you might need to modify THEC64 USB Hub for it to work with THE400 Firmware because it has no Port 4 that the firmware reads as port 1, player 1, thats why it reads the USB ports backwards, RGL knows you could flash THE400 Mini Firmware on THEC64 so put in some modifications in to it so it does not work properly with it, why would the USB Hub read the USB Ports as 4, 3, 2 and 1 there be no point to it, there is always a reason why something does something..
![:)](http://storage.proboards.com/forum/images/smiley/smiley.png)
Here is more info about it, vic2020ian found out the problem, thanks...
![:)](http://storage.proboards.com/forum/images/smiley/smiley.png)
Look at the PDF file for pictures:
The400 vs TheC64 hub.pdf (529.62 KB)
Info from the PDF:
THE400 Mini USB Hub is labelled USB 4, 3, 2, 1 left to right
I think Atari 400 firmware is looking for USB Hub ID 4 for player 1.
Port 1 is connected to pins 10,11, Port 2 is connected to pins 8,9
Port 3 is connected to pins 6,7, Port 4 is connected to pins 4,5
Closeup of pins reading bottom left as pin 1 to bottom right pin 14
TheC64 has USB Hub with ports 1-3
Port 1 is wired to pins 10,11
Port 2 is wired to pins 8,9
Port 3 is wired to pins 6,7 Nothing wired to pins 4,5
The C64 PCB – the same Chinese part number as The 400? P531E41369580.
I think Atari 400 firmware is looking for USB Hub ID 4 for player 1.
Port 1 is connected to pins 10,11, Port 2 is connected to pins 8,9
Port 3 is connected to pins 6,7, Port 4 is connected to pins 4,5
Closeup of pins reading bottom left as pin 1 to bottom right pin 14
TheC64 has USB Hub with ports 1-3
Port 1 is wired to pins 10,11
Port 2 is wired to pins 8,9
Port 3 is wired to pins 6,7 Nothing wired to pins 4,5
The C64 PCB – the same Chinese part number as The 400? P531E41369580.
Maybe how to fix this is changing the name of the USB Hub in THE400 Firmware when its running in THEC64/THEVIC20 so it sees it as `USB Hub ID 4` but not sure how and if you can do that, maybe someone on here might have a idea...?