how would i write out a dma a code??
how would i dma
ok lets say i wanna dma one of these or any other 1 line code ??
---------------------------------------------------------------------
#See No Explosions
;You see no explosions from explosives
0x00352bd8 0x03E00008
#Huge Weapon Pickup Range
;Pickup weapons all the way from outer space
0x0055f6b0 0x50000000
------------------------------------------------------------------------
explain it out thanks in ahead :)
Re: how would i write out a dma a code??
No need to dma this since the address is not moving. You dma a code when you have the code moving to different places in the memory.
Re: how would i write out a dma a code??
Quote:
Originally Posted by
hell
No need to dma this since the address is not moving. You dma a code when you have the code moving to different places in the memory.
Yea to wat h3ll said! I write my DMA codes out in c like this.
Code:
setU32DMA(unsigned int address, unsigned int offset, unsigned int value);
Re: how would i write out a dma a code??
Ok so tht. Is confusing hokage ..... is tht a mip command ....ok... so how can I make a code in2 a dma can yu give like a short explanation with a code ????
Re: how would i write out a dma a code??
Quote:
Originally Posted by
1st-Hokage
Yea to wat h3ll said! I write my DMA codes out in c like this.
Code:
setU32DMA(unsigned int address, unsigned int offset, unsigned int value);
Lol hokage I don't think he'll get it in C. Yo but jis get a jump that is close to the area of the code you want to dma an subtract the addy an the jump an ull get ur offset simple as that. Yo but hokage I had something different to Putin in dma's in C this one is easier to understand tho
Re: how would i write out a dma a code??
Quote:
Originally Posted by
punjabijatt247
how would i dma
ok lets say i wanna dma one of these or any other 1 line code ??
---------------------------------------------------------------------
#See No Explosions
;You see no explosions from explosives
0x00352bd8 0x03E00008
#Huge Weapon Pickup Range
;Pickup weapons all the way from outer space
0x0055f6b0 0x50000000
------------------------------------------------------------------------
explain it out thanks in ahead :)
DMA Isn't one line. You can combine the codes like this:
#NAME
0x00352bd8 0x03E00008
0x0055f6b0 0x50000000
Re: how would i write out a dma a code??
Quote:
Originally Posted by
TheEliteOne
DMA Isn't one line. You can combine the codes like this:
#NAME
0x00352bd8 0x03E00008
0x0055f6b0 0x50000000
Thats not DMA man...:eyeroll:
Re: how would i write out a dma a code??
Quote:
Originally Posted by
1st-Hokage
Thats not DMA man...:eyeroll:
Duh lol, you can't just un DMA addresses that are not DMA. He says that he wants one line, two is close right? =]
Re: how would i write out a dma a code??
i want like it like this
# code
0x000000000 0x0000000000
in 2
0xffffffff 0x000000
0x000030 0x0000001
like tht wht ever format the dma is ^
Re: how would i write out a dma a code??
Yo I just told u find a jump lower then your code an subtract the jump an you code you want to dma address that's ur offset an the jump u use u take the address of it for ur pointer