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

Game Ardynia do not start #19

Open
dlancer opened this issue Oct 29, 2018 · 1 comment
Open

Game Ardynia do not start #19

dlancer opened this issue Oct 29, 2018 · 1 comment

Comments

@dlancer
Copy link

dlancer commented Oct 29, 2018

Game Ardynia do not start: https://github.com/city41/ardynia

  1. Just black screen and nothing in the logs with current simavr-arduboy build.
  2. With simavr updated to the latest and your spi related patch:
Keymap: 1073741906,1073741905,1073741904,1073741903,122,120
SSD1306: 37uS is 592 cycles for your AVR
SSD1306: 1uS is 16 cycles for your AVR
CORE: *** Invalid write address PC=6b24 SP=0afb O=93c0 Address 18c6=ff out of ram
avr_sadly_crashed
avr_gdb_init listening on port 1234

Game works on real hardware.

@dxxb
Copy link
Owner

dxxb commented Oct 29, 2018

CORE: *** Invalid write address PC=6b24 SP=0afb O=93c0 Address 18c6=ff out of ram
avr_sadly_crashed
avr_gdb_init listening on port 1234

Address 0x18c6 seems to be indeed outside the RAM address space. This could be a bug in the game that shows up here because the hardware ignored the out of bounds write or it could be something else.

avr_gdb_init listening on port 1234

Attaching GDB and debugging where in the game this occurs may shed some light on the issue.

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

2 participants