the offset is the difference between the address that the pointer jumps to and the actual codes address
Pointer
#DMA Virus Mode
0xFFFFFFFF 0x007CD1C
0x00000BD8 0x00000001
Virus mode
;tonic
0x0055A048 0x00000001
7cd1c is the pointer - the pointer points to an address
7cd1c points to 8d59470
8d59470 is in real addressing so you subtract 08800000
you get 559470
the difference between 559470 and 55a048 is the offset
bd8 is the offset - the offset is the difference between the non dma'd codes address and the address at the pointer minus 8800000
check out my unDMA tut if you still dont understand
Bookmarks