It seems the second gal chip is faulty. So I could program it successfully, but it has failed after that:
first the failure output was:
E:\apps>afterburner_w64.exe i -d COM19 -t GAL16V8
PES info: 5V Unknown GAL, try VPP=10..14 in 1V steps
then after some retries it went as:
E:\apps>afterburner_w64.exe i -d COM19 -t GAL16V8
PES info: 3.3V Unknown GAL, try VPP=10..14 in 1V steps
I tried with different GAL chip (GAL16V8B-25LP vs GAL16V8D-15LP) as that second gal chip, but idefload did not detect any module either. So shuold it have detected? I have checked the traces that all are connected according to that schema.
the idefload is executed using MSXDOS1 boot disk, and the util+rom is from https://www.msx.ch/ftp/Products/IDE%20Interface/ide240.lzh
Are you sure your GAL programmer works? Why don't you put your burned GAL in a breadboard, manually toggle the inputs and check if the outputs give the expected results?
You could also program the FLASH with the bitswapped/flipped ROM, that would eliminate one variable.
hello
I did 2 or 3 years ago "FUNRICE" cards based on the MSXPRO scheme, it works well for GALs, you must have a problem with your GALs
PROTO

FINAL
So GAL can be faulty, even when the data read from it is same as written to it?
@Bastion Rebel why do you have that U9 chip (SN74LS14N) mounted? In that PDF it is said that it is not mounted, so it is not needed, right?
Does the FUNRICE use the same software as the original Sunrise ATA-IDE to flash its Rom?
LS14 is not mounted in final version ... (GREEN PCB V1 CARTON BOX - BLUE PCB V2 VHS BOX)
for flash FUNRICE ROM is IDEFLOAD.exe same SUNRICE files !!!
GDX i'm used too your firmware 2.50b it's working ...
for info chip very VERSATILE is LS645 and LS575 .. please attention electric static
I changed all chips, except gal chips( 16n and 25n), but it still does not work. Chips were from mouse.com, except gal chips from littlediode ebay...
Typo, meant mouser.com
