rje 235 Posted January 18 Whilst thinking about using something like pi1541 to emulate a 1581 IEC device, I started thinking about the IEC port itself, and wondering, well, I betcha it could be reprogrammed to do something it wasn't designed to do. In other words, a different protocol. That's kinda what those quick-loaders did back in the 80s -- custom programs loaded into RAM on the 1541 and the C64 for parallel or fast-serial load/save. Quote Share this post Link to post Share on other sites
TomXP411 358 Posted January 19 You can... but why? The User port is also connected to a VIA, and it's got more pins available. Everything the IEC port can do is also possible on the User port... but without the restrictions of only one data pin. 1 Quote Share this post Link to post Share on other sites
BruceMcF 295 Posted January 19 Certainly. You could do an SPI interface and plug in a RPi0 supported by a Kernel vector handler on device 9. Make ATN into /SEL, DATA into MOSI and /SRQIN into MISO. As long as you refrain from using tho other IEC device numbers, you should be fine. 1 Quote Share this post Link to post Share on other sites
Lorin Millsap 194 Posted January 22 Just so you know the IEC lines have diodes and buffers on them, so while you could use them other as intended you are also limited in how the pins can be used. As a whole SPI and a few others are certainly possible. Not a lot of point in it though as there is nothing to be gained by doing so. Sent from my iPhone using Tapatalk Quote Share this post Link to post Share on other sites
BruceMcF 295 Posted January 22 8 hours ago, Lorin Millsap said: Just so you know the IEC lines have diodes and buffers on them, so while you could use them other as intended you are also limited in how the pins can be used. As a whole SPI and a few others are certainly possible. Not a lot of point in it though as there is nothing to be gained by doing so. Sent from my iPhone using Tapatalk The gain would be if you are using the User Port for something else and don't want to spend extra on expansion cards. If you don't have any IEC devices, it's a free port, and implementing the IEC protocol on the connecting device to make use of the free port is overkill if the connection is not going to be bussed. Quote Share this post Link to post Share on other sites
Lorin Millsap 194 Posted January 22 The gain would be if you are using the User Port for something else and don't want to spend extra on expansion cards. If you don't have any IEC devices, it's a free port, and implementing the IEC protocol on the connecting device to make use of the free port is overkill if the connection is not going to be bussed.Just make sure that will work electrically. Basically those lines are meant to be pulled into certain states which may not be compatible with what you want to use it for. Sent from my iPhone using Tapatalk Quote Share this post Link to post Share on other sites
BruceMcF 295 Posted January 22 1 minute ago, Lorin Millsap said: Just make sure that will work electrically. Basically those lines are meant to be pulled into certain states which may not be compatible with what you want to use it for. Well, I would assume that people would RTFM before they start breadboarding, but yes, if someone breadboards the circuit once the boards ship and the circuit doesn't work, they should RTFM at that point. Quote Share this post Link to post Share on other sites