Re: [hatari-devel] Dynamic Bus Sizing and I/O Register Access |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Dynamic Bus Sizing and I/O Register Access
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Sun, 14 Jan 2024 08:40:33 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1705218047; bh=TBE2QQWsJ4jv6y0UEiXFlbxZvC/wz/gtchofAx7gMps=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=WIOtu+GHt+dwcpSi2X2X2qNs0zAAe9coP/tz7/6FQ/mKzHaXFZD2G1wCnfmog4uLA BMtx6UOjezsWklMlesoSigSez5J05oCDHCyIOP1nktPVn6dS8mctGhSSCWl/XGUsqN NaZzo7d4LueVIGXN9YMjZh6dm68cVvoIP/ifgO9QiTJ1jPRQdMW+PX0xXG9qBFHOJ+ bp16CDbU2Cdg4m/7X3W36wUys6cd3gET+gV6EtVz4i0uAexueQhGWb2M4lIpjbI9Br qkKF7eFsnXpaiHkthBRvmy3B+IsdrIG/h8e18yT7IgpUGmwgIwuaSVdn+RzEQg5Kbm +qN0zil8+NStA==
> Am 12.01.2024 um 20:14 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>
> Am Fri, 12 Jan 2024 19:58:00 +0100
> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
>
>>> Am 12.01.2024 um 19:41 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>>>
>>> Yes, right. This basically depends on what your I/O hardware (like the
>>> "glue" on the ST) is doing with the accesses on the bus.
>>>
>>> Do you know what's supposed to happen if the bootloader write a 32-bit word
>>> to 0x02010000 ? For example, if it wrote 0x12345678 to that address, which
>>> byte is supposed to end up in the brightness register?
>>>
>>> Thomas
>>
>> In this example on real hardware (68030) it would write 0x78.
>
> Ok, that's quite different compared to the I/O registers on the Atari (but
> perfectly possible if the NeXT hardware has been designed that way). I think
> in that case you have to read the value from
>
> IoMem[(IoAccessCurrentAddress + nIoMemAccessSize - 1) & IO_SEG_MASK]
>
> instead.
>
> HTH,
> Thomas
>
I’not sure this is specific to NeXT. There is a chapter about dynamic bus sizing in the user manual of the 68030 and this does not seem to be implemented in Hatari.
Regards,
Andreas