savaughn / openmenu

openMenu open source GDEMU Frontend
Other
0 stars 0 forks source link

1ST_READ.BIN from make crashes #1

Open savaughn opened 5 days ago

savaughn commented 5 days ago

@megavolt85 I can build your fork or OG repo and create 1ST_READ.BIN, but using it causes openMenu to crash after Sega license screen. Is there something special that needs to be done to 1ST_READ.BIN before swapping it into menu_data? I'm trying to tinker with openMenu myself. I've tried both @mrneo240 and your forks with their respective folder content with the same results.

My KOS toolchain is up-to-date. I can build/run homebrew on actual DC hardware. MacOS 13 M1 (not sure if it's relevant)

STR

  1. master branch
  2. make succeeds
  3. Copy 1ST_READ.BIN to GDMenu/tools/openMenu/menu_data
  4. Open GDMenu delete openMenu entry -> save changes
  5. Open SD_CARD/01/disc.gdi

Expected openMenu launches to main selection screen.

This works if I use either the original or your release 1ST_READ.BIN. image

Actual openMenu crashes on real hardware and both redream and flycast.

Flycast log

00:40:501 hw/mem/addrspace.cpp:431 N[VMEM]: Info: nvmem is enabled
00:40:505 hw/mem/addrspace.cpp:467 N[VMEM]: BASE 0x288010000 RAM(16 MB) 0x294010000 VRAM64(8 MB) 0x28c010000 ARAM(2 MB) 0x2a8010000
00:40:509 emulator.cpp:54 N[BOOT]: Game ID is [NEODC_1]
00:40:515 emulator.cpp:488 N[BOOT]: Did not load BIOS, using reios
00:40:515 emulator.cpp:54 N[BOOT]: Game ID is [NEODC_1]
00:40:575 reios/reios.cpp:622 N[REIOS]: -----------------
00:40:575 reios/reios.cpp:623 N[REIOS]: REIOS: Booting up
00:40:576 reios/reios.cpp:624 N[REIOS]: -----------------
00:42:587 hw/sh4/interpr/sh4_opcodes.cpp:935 W[INTERPRETER]: TRAP #A4
savaughn commented 5 days ago

It looks like the Makefile from megavolt fork is not running scramble to create 1st_read.bin and is instead running objcopy. This results in the black screen freeze on both emulator and real hardware.

It appears to be the same symptoms of the 'black screen and freeze' issue, but I'm not sure if they are related. @mrneo240