Am Thu, 12 Dec 2024 11:45:54 +0000 schrieb Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>:
> The SCSI 4020/4021 logic refers to the offset of the SCSI CSRs within the > NeXTCube > address space. Due to the previously overlapping memory regions, there were > duplicate MMIO accessors in the next.scr memory region for these registers but > this has now been resolved. > > Move the remaining SCSI 4020/4021 logic from the next-pc device to the > next-scsi > device, with the exception that the SCSI 4021 register now returns its > previous > value like a normal register instead of a hardcoded 0x40 value. This also > matches > how the registers are implemented in the Previous emulator. > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> > --- > hw/m68k/next-cube.c | 139 ++++++++++++++++++++------------------------ > 1 file changed, 62 insertions(+), 77 deletions(-) Reviewed-by: Thomas Huth <h...@tuxfamily.org>