Re: [PATCH v2 08/11] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-21 Thread Thomas Huth
Am Wed, 20 Dec 2023 19:36:27 + schrieb Mark Cave-Ayland : > On 20/12/2023 19:20, Thomas Huth wrote: > > > Am Wed, 20 Dec 2023 13:16:38 + > > schrieb Mark Cave-Ayland : > > > >> Move the old_scr2 variable to NeXTPC so that the old SCR2 register state is > >> stored along with the curren

Re: [PATCH v2 08/11] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-20 Thread Mark Cave-Ayland
On 20/12/2023 19:20, Thomas Huth wrote: Am Wed, 20 Dec 2023 13:16:38 + schrieb Mark Cave-Ayland : Move the old_scr2 variable to NeXTPC so that the old SCR2 register state is stored along with the current SCR2 state. Since the SCR2 register is 32-bits wide, convert old_scr2 to uint32_t and

Re: [PATCH v2 08/11] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-20 Thread Thomas Huth
Am Wed, 20 Dec 2023 13:16:38 + schrieb Mark Cave-Ayland : > Move the old_scr2 variable to NeXTPC so that the old SCR2 register state is > stored along with the current SCR2 state. > > Since the SCR2 register is 32-bits wide, convert old_scr2 to uint32_t and > update the SCR2 register access c

[PATCH v2 08/11] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-20 Thread Mark Cave-Ayland
Move the old_scr2 variable to NeXTPC so that the old SCR2 register state is stored along with the current SCR2 state. Since the SCR2 register is 32-bits wide, convert old_scr2 to uint32_t and update the SCR2 register access code to allow unaligned writes. Note that this is a migration break, but