spiritualized1997 / openFPGA-GBA

Game Boy Advance core for openFPGA on Analogue Pocket
647 stars 7 forks source link

Display Modes don't work #14

Open ifighftdragons opened 2 years ago

ifighftdragons commented 2 years ago

Display Modes don't work

SegaSnatcher commented 2 years ago

This is known, developer is waiting for an API update.

tommy commented 9 months ago

The 2.0 firmware update added display mode support for openFPGA cores. Is there any plan to add support for the Spiritualized GBA core?

v-kiniv commented 8 months ago

On fw >=2.0 you can enable Original GBA LCD and Original GBA SP 101 display modes by modifying the Cores/Spiritualized.GBA/video.json file and adding corresponding modes to display_modes section. Update to the core itself is not required. Here's an example of the modified file:

{
    "video": {
        "magic": "APF_VER_1",
        "scaler_modes": [
            {
                "width": 240,
                "height": 160,
                "aspect_w": 240,
                "aspect_h": 160,
                "rotation": 0,
                "mirror": 0
            }
        ],
        "display_modes": [
            {
                "id": "0x41"
            },
            {
                "id": "0x42"
            }
        ]
    }
}