Bug 202

Summary: PACK and UNPACK GPU RISC instructions are swapped
Product: RMAC Reporter: James Jones <atari>
Component: CoreAssignee: Shamus Hammons <jlhamm>
Status: RESOLVED FIXED    
Severity: enhancement CC: jlhamm
Priority: Normal    
Version: unspecified   
Hardware: PC   
OS: Linux   
Attachments: Fix
Test case demonstrating the bug

Description James Jones 2022-06-13 19:46:54 CDT
Created attachment 180 [details]
Fix

The GPU-specific PACK and UNPACK instructions share opcode 63. PACK is chosen by encoding '0' in the source operand, and UNPACK is chosen by encoding '1' in the source operand. RMAC had the magic source operand values reversed.
Comment 1 James Jones 2022-06-13 19:48:15 CDT
Created attachment 181 [details]
Test case demonstrating the bug

Attaching a trivial test case. The screen will be yellow when it's working, red when it's not.
Comment 2 Shamus Hammons 2022-06-29 10:36:16 CDT
Thanks for the patch!  :-)