israpps / PlayStation2-Basic-BootLoader

Basic Bootloader for PS2, PSX-DESR and System 246/256
https://israpps.github.io/PlayStation2-Basic-BootLoader/
GNU General Public License v3.0
71 stars 8 forks source link

[ISSUE]: loading ELF files on PSX results in black screen when program is installed as system update #10

Closed israpps closed 1 year ago

israpps commented 1 year ago

Checks

Describe the issue

Loading any ELF file from USB or MC results on black screen

Console model

DESR-5000

Program version (if possible, also provide hash)

Local commit (testing KELF generation)

System modifications

No response

What kind of boot method are you using to run the bootloader?

System Update

Context and extra information

No response

israpps commented 1 year ago

Haven't tested closely due to lack of time. but it seems issue is on PS2SDK ELF Loader

israpps commented 1 year ago

Few tests using sleep() and scr_printf()

I can confirm the program crashes when the SDK ELF loader function starts

israpps commented 1 year ago

culprit has been found. SetMemoryMode()