Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when running "Keypad Test [Hap, 2006].ch8" rom #1

Open
kekec opened this issue Jan 27, 2019 · 0 comments
Open

Segfault when running "Keypad Test [Hap, 2006].ch8" rom #1

kekec opened this issue Jan 27, 2019 · 0 comments

Comments

@kekec
Copy link

kekec commented Jan 27, 2019

Looks like there is a segfault when running the rom mentioned below.
Debugging with GDB i can see there is a problem with the offset into the gfx array:

Program received signal SIGSEGV, Segmentation fault.
0x00401fda in runCycle () at emu8.c:445
445 gfx[x + xline + ((y + yline) * 64)] ^= 1;
(gdb) warning: cYgFFFFFFFF 611DD6C8 0
warning: cYgstd 0x22cbef d 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant