Skip to content

[C64] Color support causes up2400 driver to crash. #33

@tschak909

Description

@tschak909

When color support is enabled (with appropriate define in makefile) for color support, the up2400 driver fails and PLATOTERM crashes.

The swiftlink driver is
The color support requires an NMI trampoline to alter color ram, and I've in-lined it with the text output code, here:
https://github.com/tschak909/platoterm64/blob/master/src/c64/screen.c#L311

The existing NMI trampoline is here:
https://github.com/tschak909/platoterm64/blob/master/src/c64/nmi-trampoline.s#L1

and the user port 2400 driver for cc65 is here:
https://github.com/nanoflite/c64-up2400-cc65/blob/master/driver/c64-up2400.s

I suspect I may not be properly accounting for the NMI trampoline when flipping things in and out for color ram access.

-Thom

Metadata

Metadata

Assignees

No one assigned

    Labels

    c64Commodore 64help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions