Skip to content
New issue

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

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

Already on GitHub? # to your account

Test A Possible Fix #130

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Test A Possible Fix #130

merged 1 commit into from
Apr 10, 2024

Conversation

arcadez2003
Copy link
Contributor

No description provided.

@amadvance amadvance merged commit ffc3984 into amadvance:master Apr 10, 2024
1 check passed
@amadvance
Copy link
Owner

Hi @arcadez2003
It fails with "memory_set_decrypted_region unable to find matching region 00000000-00000000 for CPU 0". I also tried setting some addresses in the memory_set_decrypted_region() calls, but without success.

@arcadez2003
Copy link
Contributor Author

Im still waiting to hear back from grant but after a quick search of your github tree looking for
memory_set_decrypted_region i can see now this call would require to scan an address range span

let's use commando as an example...

memory_set_decrypted_region(0, 0x0000, 0xbfff, decrypt);

static ADDRESS_MAP_START( commando_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0xbfff) AM_ROM

Im not 100% on this but im thinking this is the address for Ms. PacMan Twin

static ADDRESS_MAP_START( mspactwin_readmem, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x1fff) AM_READ(MRA8_ROM)

memory_set_decrypted_region(0, 0x0000, 0x1fff, decrypt);

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

Successfully merging this pull request may close these issues.

2 participants