hn.today

Improving the Wii U's Wii Mode

garyodernichts.blogspot.com23 points0 comments
Screenshot of Improving the Wii U's Wii Mode

Wii Mode on the Wii U can display Wii games with forced cropping and color bleed, sometimes making an original Wii look better despite the Wii U’s HDMI output. Reverse-engineering traces both defects to the DMCU, a small M68HC11-based controller that emulates the Wii’s Video Interface and translates its settings into display-controller configuration. Its firmware creates the crop by setting a viewport that simulates overscan, cutting off as many as 16 pixels. The author also found that AMD GPUs use a closely related DMCU design, with a similar display-controller interface.

To replace trial-and-error byte patches with a clearer fix, the author reconstructed the firmware in C and used an old M68HC11 compiler to match original functions. This exposed a firmware typo that leaves DMCU events 2 and 3 stuck after their first execution. Event 2 controls chroma-channel swapping, and its code also has the condition backwards: it enables the swap for even image origins rather than odd ones. Correcting the event handling and reversing that condition fixes the color bleed; changing viewport values removes the unwanted cropping. The fixes are included in a custom OpenDMCUFirm build, usable with the latest evWii release, and illustrated with before-and-after images from Super Mario Sunshine and The Legend of Zelda: Skyward Sword.

Read on garyodernichts.blogspot.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.