16L8s are used for simple combinatorial logic. Generally, no logic is needed for an adapter, the PAL CIC lines can just pass to the SNES. If you say what pins are connected to the PAL's inputs and outputs, I can give you a rough idea what it does. SNES Kart is not complete or perfect but in this case, it will do.
Which are to the cartridge and which are from the console? From what you said, this doesn't make any sense to me.
It seems SNES kart is OK for the main connector, I don't know where to find the expansion (B bus?) pins though.
GND 05 36 GND
A11 06 37 A12
A10 07 38 A13
A9 08 39 A14
A8 09 40 A15
A7 10 41 A16
A6 11 42 A17
A5 12 43 A18
A4 13 44 A19
A3 14 45 A20
A2 15 46 A21
A1 16 47 A22
A0 17 48 A23
/IRQ 18 49 /ROMSEL
D0 19 50 D4
D1 20 51 D5
D2 21 52 D6
D3 22 53 D7
/RD 23 54 /WR
CIC#1 24 55 CIC#2
CIC#7 25 56 CIC#6
RESET 26 57 NC
Vcc 27 58 Vcc
What do you mean it connects directly to the ROM? It must sit between ROM and console for it to do anything the input must be the console, output must be ROM. If it was wired to switch the console's address lines, it could be something for SRAM/ROM (which doesn't make sense for converter) but from the address lines you gave I don't think so, I really think it does nothing, just there to fool people. The D4 part doesn't make sense because 16L8 aren't registered.
It definately can't detect anything like PAL/NTSC (hardware cant easily do that), it can only do very simple logic like O1 = (I1 and /I2) or I3.
If the thing can switch to the PAL cart, then you have your answer. From your description it still doesn't make sense, to use a cart, you must assert /ROMSEL (CE) and address lines aren't a way to detect a cartridge.
Nobody knows the CIC protocol yet, there has been a bit of effort lately to crack it though by manually reading out the ROM.
simple: this pal is used to defeat 50/60Hz protections. (most of the time accompanied by a "this game is not designed for your snes/sfc"-screen)
if this is an adapter that runs ntsc games on pal machines, it will listen to reads of register $213f, always write 0 to bit4 if this register is read and "overwrite" anything the ppu tries to put on the data bus for that bit.
this register contains the ppu status/version flags and games usually check it to see if they are running in pal or ntsc mode.
it needs all the adress lines to listen to the rom bus, but only has to write to one bit, thats why theres just one data line connected. if they would've been smart, they could have built this circuit with 7 adress lines instead of 12 by directly using the b-bus adress lines on the expansion pads of the cartridge connector.
gah, whatever...
There's one problem though, 16L8 aren't registered (unless a FF is sythesized)
16L8 do not have a high impedance state since they aren't registered! But it doesn't matter, d4s is right, I thought he meant it had to latch a write (I'm not thinking well this morning.)
Since it's an arbitrary memory address R/W doesn't matter.
This is the partial logic for the PAL:
' = complement
'((A0)(A1)(A2)(A3)(A4)(A5)('A6)('A7)(A8))(ROM D4) = console D4
(A9+ purged for brevity, I'm not sure where it really even is decoded)
There *must* be an output to disable the internal flag or else there'd be a busconflict. There also should be a D4 input as well as output.