Hello Everyone,
Anyone have any idea about this issue?
This game creates a callback and handles memory card reading state machine thru those callbacks.
Now on HLE BIOS level this means lots recursion, and since every HLE BIOS calls allocated stack frame it overflows at some point.
Notice below the number increasing after card_info which signifies recursed call number within hleSoftCall
000000a4 2eaf37b5: psxBios__card_info: 0x0 1
000000a4 2eaf37b5: psxBios_DeliverEvent 81 2 2000 1000
000000a4 2eaf3801: psxBios__card_load: 0
000000a4 2eaf3801: psxBios_DeliverEvent 81 2 2000 1000
000000b4 2eaf3867: psxBios__card_read
000000b4 2eaf3867: psxBios_DeliverEvent 81 2 2000 1000
000000a4 2eaf38ee: psxBios__card_info: 0x0 2
000000a4 2eaf38ee: psxBios_DeliverEvent 81 2 2000 1000
000000a4 2eaf3975: psxBios__card_info: 0x0 3
000000a4 2eaf3975: psxBios_DeliverEvent 81 2 2000 1000
000000a4 2eaf39fc: psxBios__card_info: 0x0 4
000000a4 2eaf39fc: psxBios_DeliverEvent 81 2 2000 1000
.......
000000a4 2f28f744: psxBios_DeliverEvent 81 2 2000 1000
000000a4 2f28f7cb: psxBios__card_info: 0x0 58019
000000a4 2f28f7cb: psxBios_DeliverEvent 81 2 2000 1000
000000a4 2f28f852: psxBios__card_info: 0x0 58020
000000a4 2f28f852: psxBios_DeliverEvent 81 2 2000 1000
I am not sure how to handle these situations. Maybe either these
a) Fake call chain somehow, but how?
b) Create BIOS functions which don't allocate stack frame each time
You also reply here.
https://pcsxr.codeplex.com/workitem/12096
Help need with memory card issue.
Who is online
Users browsing this forum: No registered users and 3 guests