help me! nestopia prg or wrk swap 2k,4k?
Moderator: Moderators
help me! nestopia prg or wrk swap 2k,4k?
fceu setprgxxr(xx=2,4,8,16,32) ==nestopia ?
nestopia prg or wrk not swap 2k,4k or 1k?
have solution?
nestopia prg or wrk not swap 2k,4k or 1k?
have solution?
if tepples is right about your question, what i do is break the PRG and CHR banks into 1 KB blocks. i have swap functions that takes the block size the mapper uses, the chunk to replace, and the value of the new chunk and it does the math, changing all the applicable 1 KB blocks.
instead of copying memory, load all of the PRG and CHR data into one big bank and only change pointers for each 1 KB to point to the correct place in the full array of data.
instead of copying memory, load all of the PRG and CHR data into one big bank and only change pointers for each 1 KB to point to the correct place in the full array of data.
Re: help me! nestopia prg or wrk swap 2k,4k?
"Translating" it...
Like... setprg2r(), setprg32r().
He's asking if such thing is the same in Nestopia.
FCEU uses a function setprgXXr(), where XX can be 2,4,8,16 or 32.zxbdragon wrote:fceu setprgxxr(xx=2,4,8,16,32) ==nestopia ?
Like... setprg2r(), setprg32r().
He's asking if such thing is the same in Nestopia.
He's wondering if nestopia doesn't swap 1, 2 and 4k PRG banks.nestopia prg or wrk not swap 2k,4k or 1k?
have solution?
Zepper
RockNES author
RockNES author
Re: help me! nestopia prg or wrk swap 2k,4k?
Your description is very exactZepper wrote:"Translating" it...FCEU uses a function setprgXXr(), where XX can be 2,4,8,16 or 32.zxbdragon wrote:fceu setprgxxr(xx=2,4,8,16,32) ==nestopia ?
Like... setprg2r(), setprg32r().
He's asking if such thing is the same in Nestopia.
He's wondering if nestopia doesn't swap 1, 2 and 4k PRG banks.nestopia prg or wrk not swap 2k,4k or 1k?
have solution?
fcemu mm code
How to transfer nestopia the code?
Code: Select all
setprg4r(0x10,0x6000,0);
setprg4(0x7000,15);
setprg4(0xA000,~3);
setprg4r(0x10,0xB000,1);