Getting a Gotek working on a PCW9512

I acquired a PCW9512 motherboard a year or so ago and I really wanted to get it up and going so I can build a little case for it and turn it into a proper CP/M plus hack machine. The challenge? Getting a Gotek working on the PCW9512. There are some .. issues. Specifically - the flash floppy support needs some extra options and board modifications to support the drive detection that the PCW boot…