WinUAE icon indicating copy to clipboard operation
WinUAE copied to clipboard

A4091 improvements

Open reinauer opened this issue 2 years ago • 3 comments

  • lsi53c710: fix register access mapping
  • A4091: Allow 32 and 64KB ROMs

reinauer avatar Aug 19 '22 23:08 reinauer

Is this different hardware than 32k ROM or does all A4091 variants support 64k ROM and if 32k ROM is installed, it appears twice in address space? (I have A4091 but it does not work..) Is this ROM Commodore official one or some 3rd party modification?

Also generic 53c710 code shouldn't be modified but A4091 specific part because other boards also use it and might (accidentally) hit out of range addresses that shouldn't hit SCSI chip IO. You never know :)

tonioni avatar Aug 22 '22 17:08 tonioni

64K ROMs are supported by all DKB (Rev B) versions of the A4091. I think your assumption about 32K ROMs being mapped twice is correct on those boards, but I did not verify.

The ROM I've been using is a (soon-to-be open-sourced) rewrite based on the NetBSD driver that supports NSD and TD64 as well as other improvements. This is work that was done for the ReAmiga 4091 project. Yes, I know it is not an "official" driver, but with the above changes WinUAE was particularly useful during development of the driver.

If you're generally interested in merging, I can move the register wrapping out of the 710 specific code.

reinauer avatar Aug 22 '22 20:08 reinauer

A4091 64k ROM support should now be transparent (32k gets duplicated). Address masking is also now device specific.

tonioni avatar Sep 18 '22 14:09 tonioni