Skip to content

Arithmetic exception (win32 or GCC related?) #13

@timdevorg

Description

@timdevorg

Description

Compiling the project on win32 using MinGW-w64 and GCC works, however, the 0xFX33 opcode causes an arithmetic exception which crashes the application (tested via Pong 1-player ROM). When commenting out the opcode, everything works as expected. This should not happen, even if this issue does not appear on my dev setup (macOS & clang).

The line(s) affected:
https://github.com/npxtune/chisel8/blob/f33b0607e79c46eaff477a499378816a8ca9bc38/src/core/emu_core.c#L259

TODO

  • investigate the cause for the exception
  • find out if it's win32 or GCC specific
  • fix the bug

This needs to get fixed before v1.0 is meant to be released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions