You are not logged in.
Pages: 1
OK ive avoided this but ive tried everything to make a makefile
the conversion of the NESDS mcp makefile would be really nice :)
could you export it to xml then to regular make
supposedly you can do this in arm ads
please Dwedit
Last edited by morbid27 (2008-06-28 5:34:27 pm)
Offline
Online
ok thanks for trying
Offline
Dwedit is there anyway you could post the best gcc conversion of Nesds you have or even the alpha of pocketnes ported to ds this one would really gelp me i think im just gonna go for it and finish off the project HOPEFULLY! Thanx your awsome! Much respect!
Offline
Here's the current source and binary of the bugged out, no sound, PocketNES for the NDS.
For the love of god and all that is holy, do not distribute this or link to this.
"We are merely sprites that dance at the beck and call of our button pressing overlord."
Online
Sweet Thanks gives me a bit more to play with if i ever get arround it to compiling i will send the source to you im just gonna work on proper scrolling as i think i have posted a million times. Basically it is my hobby and then i think im gonna just code an emu that hasn't been ported yet. cool later
Offline
Hey im getting better at this. I have a question thats bugging me coulod you point me directly to the files and regesters i would need to change to make it extend to the full 192 lines. I've tried many different methos but just cant seem to get it to compile or work. Thanks
so far i think these Need to change
VALUES
.global DMA0BUFF
.global DMA3BUFF
.global DMA1BUFF
.global DISPCNTBUFF1
.global DISPCNTBUFF2
.global SCROLLBUFF1
.global SCROLLBUFF2
.global BG0CNTBUFF1
.global BG0CNTBUFF2
vblscaled: @(scaled)
bl_long scale75
ldr r3,=DMA1BUFF
ldr r4,=DMA3BUFF
@----------------------------------------------------------------------------
vbl5: //#REG_BASE
@----------------------------------------------------------------------------
newframe_set0:
@----------------------------------------------------------------------------
newframe_nes_vblank: @called at line 242
@----------------------------------------------------------------------------
@
@----------------------------------------------------------------------------
dma_W: @(4014) sprite DMA transfer
@----------------------------------------------------------------------------
ive pretty much figured out how to work this projuct now man your coding has helped me so much i can say i am almost fully understanding #C and the ASM confuses me sometimes but i know its just telling where to put data and how to deal with it tailored for the processor. anyways i can pretty much understand it now. The only problem is when it come to the values of things in ASM and what changes it needs when switching registers im kinda scared of changing things thats why i asked for a bit of an example or even the values that would need to change. I am sure i can figure it out with a bit of help. Maybe you could also point me to some ASM tutorials for GBA and even NDS. Man if you havve a paypal account i wouldn't mind donating. THX much respect.
p.s. WHat you said in a post i read somewhere is dead on if you want to learn coding just pick up someones project and work on it funny i did the exact same thing just went for it and hell now i understand i just have to make that jump of writing something by myself.
Is there a way we could chat i have msn my email i it pm me with yours and maybe we could chat i wouldn't mind some advice.
Last edited by morbid27 (2009-02-22 10:56:31 am)
Offline
so far i got this kinda shows how nice the emu might look when it is scalled properly only problem the mirrors arent set up propperly aso ir shows 3 differnt buffers but take a look and youll see the proper buffer
shit im dying to play dw2 help :)
Last edited by morbid27 (2009-02-22 11:03:38 am)
Offline
To make it extend to 192 in unscaled mode, change the part around here:
nopal60:
bl_long showfps_
ldr r2,=DMA0BUFF @setup DMA buffer for scrolling:
add r3,r2,#160*4
ldr_ r1,dmascrollbuff
ldrb_ r0,emuflags+1
cmp r0,#SCALED
bhs vblscaled
As for making it scale differently, It uses a completely different scaling method than NESDS. Nesds's scaling method is based on simple fixed point math, so it can continuously scale to any size. But pocketnes's new scaling method is designed around the 3:4 ratio, and uses special rules to eliminate vertical scrolling glitches.
It can be changed to a 7:8 ratio, so that 20 NES scalines will get hidden on a 192px tall screen.
Then the sprite scaling stuff needs to be changed too, including the part which generates the Y coordinate lookup table, and sprite scaling rules which get stuffed into OAM.
"We are merely sprites that dance at the beck and call of our button pressing overlord."
Online
so im guesing i need to change
nopal60:
bl_long showfps_
ldr r2,=DMA0BUFF //value of DMA0BUFF in the def file
add r3,r2,#160*4 //160*4 to 192*4 and all the other lines that equal
ldr_ r1,dmascrollbuff // make sure it is set to proper value which is ????
ldrb_ r0,emuflags+1
cmp r0,#SCALED
bhs vblscaled
Last edited by morbid27 (2009-02-23 8:34:12 pm)
Offline
Pages: 1