I made a little schematic in order to drive AMIGA 2000 hard drive activity LED through the PI ACT LED. It worked well during the raspian's loading. But when the emulator was running the LED stayed off. I saw in "ps_protocol.h" that the GPFSEL2_OUTPUT and GPFSEL2_INPUT constants forced GPIO29 as input. This GPIO drives ACT LED of PI ZERO 2W I use.
So I made this changes forcing GPIO29 as output and the AMIGA HDD LED took live :)
define GPFSEL2_OUTPUT 0x00000249 replaced by 0x8000249
define GPFSEL2_INPUT 0x00000000 replaced by 0x08000000
Thanks for this project and all the work done.
I made a little schematic in order to drive AMIGA 2000 hard drive activity LED through the PI ACT LED. It worked well during the raspian's loading. But when the emulator was running the LED stayed off. I saw in "ps_protocol.h" that the GPFSEL2_OUTPUT and GPFSEL2_INPUT constants forced GPIO29 as input. This GPIO drives ACT LED of PI ZERO 2W I use.
So I made this changes forcing GPIO29 as output and the AMIGA HDD LED took live :)
define GPFSEL2_OUTPUT 0x00000249 replaced by 0x8000249
define GPFSEL2_INPUT 0x00000000 replaced by 0x08000000
I hope this issue could be usefull.