pbfy0 / nspire-z80

TI-84 emulator for the TI-Nspire
18 stars 2 forks source link

White and grey screen upon opening of TI-84 Plus 8rom #1

Closed randoslap closed 7 years ago

randoslap commented 7 years ago

Running Ndless 4.4, upon opening TI-84 Plus rom, white screen with grey border appears, and the system hangs. Reset is required to bring it back up. TI-Nspire CX HW-J

As an aside, I've also had difficulty compiling, most likely my problem, but other ndless projects have compiled fine so far.

Cheers

pbfy0 commented 7 years ago

I haven't updated the makefile in forever in the version that's available online, so it probably won't compile with new versions of ndless. Have you tried pressing the home button? It's mapped to on and sometimes required to make the calculator actually start. Does pressing escape get you out of the emulator, or is it actually totally frozen?

randoslap commented 7 years ago

Well I sure look like a fool. I could have sworn that it was a full hang, but I was wrong. Escape did the trick. The rom however still didn't work, but from that point I deduced that my rom file was most likely the culprit, swapped it out with another one, (an 84 SE), and it worked.

Thanks for helping me bumble my way through to a solution!

pbfy0 commented 7 years ago

I certainly didn't do any exhaustive testing; I only tested it with a couple roms. Does the rom work in another emulator?

Edit: Actually, it'll only work on 84+SE roms. It's a pretty simple change to make it work for regular 84+ roms, but it's not a user configurable option. If you change

#define BOOT_PAGE 0x7f

to

#define BOOT_PAGE 0x3f

in mmap.c and

#define FLASH_SIZE 0x200000

to

#define FLASH_SIZE 0x100000

in mmap.h it should work with 84+ roms.

I'll update the repo with a makefile that actually works. One sec

randoslap commented 7 years ago

Nice job on finding the actual kink in the works, yeah the original rom did work in another emulator, so it took me a bit to consider that as the factor. Funny enough, I didn't specifically need the 84 plus, it's just what I had on hand at the time, but thanks for updating the makefile, It'll be useful for making some slight adjustments to keybindings and such.

hacker1024 commented 6 years ago

I'm having the same issue. Can you link the ROM you used, @randoslap ?