Reply 220 of 1102, by Maelgrum
georgel wrote on 2023-09-29, 20:19:Maelgrum wrote on 2023-09-29, 20:14:Look at my post describing technique. AAttack path is via MPU Uart receiving routine. It has memory write to arbitrary locatio […]
georgel wrote on 2023-09-29, 19:58:I had some time to reverse DSP 4.13 function FA that writes a byte to any address in MCS51 RAM. I must disappoint you that after the actual write at program address 0B44 MOV @R0,A this function returns to the main loop around program address 053D only via jumps and not using any RET instruction therefore it is not possible to divert program execution by modifying the stack.
Look at my post describing technique.
AAttack path is via MPU Uart receiving routine.
It has memory write to arbitrary location and RET.Which SB function number is that? Why would it need to write to any location?
No function - it is not a command, routine is polled constantly from main loop by CALL.
Midi UART has buffer (64 or 128 bytes) where incoming MIDI bytes are stored.