First post, by mefistotelis
- Rank
- Newbie
I've compiled a heavy debug version of DOSBox, and I wish to use it for dumping a function from dos4gw-based game.
I already found a way to locate the function ('BPINT 21h 3Dh' - opening a file), then I'm dumping it with 'LOG'.
But I'm not sure which core should be used for suchy dumping. I've noticed that under dynamic core some opcodes seem to be missing. For example, I get:
0008:0000250D push es EAX:00240002 EBX:002E0BE6 ECX:002E0010 EDX:00000828 ESI:002E0008 EDI:0000250D EBP:0001F026 ESP:002E0BE6 DS:0018 ES:0010 FS:0000 GS:0000 SS:0828 CF:0 ZF:0 SF:0 OF:0 AF:0 PF:0 IF:0
0848:000005FA pop es EAX:00000300 EBX:00240021 ECX:00000000 EDX:002E0CC0 ESI:002E0CDC EDI:002E0C2C EBP:002E0C2C ESP:002E0C20 DS:0828 ES:0828 FS:0840 GS:0058 SS:0828 CF:0 ZF:40 SF:0 OF:0 AF:0 PF:4 IF:1
so there is a jump from 0008:0000250D to 0848:000005FA, but without any CALL, RET or JMP.
Is something really missing, or am I misinterpreting the code?
On the other side, when I'm using normal core, I get a lot of interrupt handlers - which are useless for me. Additionally, some operations are marked as '[illegal]'.
So, could you tell me which core is best for opcodes logging? Or maybe I should change some other config parameters?