Oops.Ramsis wrote:Also, I did make the ROM 128 KiB for a simple reason: The DMA source offset is the start of bank 2 ($8000 in the ROM file), so a transfer of the highest possible length (65536 bytes) still wouldn't read data past the end of ROM data. In the case of a ROM file truncated to 32 KiB, I don't know whether transfers bigger than that (i.e., >$8000) are executed correctly at all.
That said, Nocash tells me that the bank never changes in an (A bus→B bus) DMA transfer, so a transfer that starts at $008114 or at $018000 will eventually end up overflowing from $00FFFF to $000000 or from $01FFFF to $010000, respectively.
On the off chance that moving things around a little matters, here's the original 128 KiB ROM, pre-reinterleaved for poot36's HiROM test cart: