Re: [PATCH 09/12] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-19 Thread Mark Cave-Ayland
On 16/12/2023 20:18, Thomas Huth wrote: Am Fri, 15 Dec 2023 20:00:06 + 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 09/12] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-16 Thread Thomas Huth
Am Fri, 15 Dec 2023 20:00:06 + 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 09/12] next-cube.c: move static old_scr2 variable to NeXTPC

2023-12-15 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