oh btw, whats up with the "foo" file in the roms folder?
Is that something I shouldn't erase?
thanks
after reading the source code
void mode0RenderLine()
{
u16 *palette = (u16 *)paletteRAM;
if(DISPCNT & 0x80) {
for(int x = 0; x < 240; x++) {
lineMix[x] = 0x7fff;
}
return;
}
if(layerEnable & 0x0100) {
gfxDrawTextScreen(BG0CNT, BG0HOFS, BG0VOFS, line0);
}
if(layerEnable & 0x0200) {
gfxDrawTextScreen(BG1CNT, BG1HOFS, BG1VOFS, line1);
}
if(layerEnable & 0x0400) {
gfxDrawTextScreen(BG2CNT, BG2HOFS, BG2VOFS, line2);
}
if(layerEnable & 0x0800) {
gfxDrawTextScreen(BG3CNT, BG3HOFS, BG3VOFS, line3);
}
gfxDrawSprites(lineOBJ);
u32 backdrop = (READ16LE(&palette[0]) | 0x30000000);
for(int x = 0; x < 240; x++) {
u32 color = backdrop;
u8 top = 0x20;
if(line0[x] < color) {
color = line0[x];
top = 0x01;
}
if((u8)(line1[x]>>24) < (u8)(color >> 24)) {
color = line1[x];
top = 0x02;
}
most of the instruction were if-else statement
now I know it will be very hard to improve..
oh btw, whats up with the "foo" file in the roms folder?
Is that something I shouldn't erase?
thanks
are ya saying that it isnt gonna get much faster than thisOriginally Posted by zx-81
Originally Posted by Mr. Shizzy
i'm all for number 2 on that list
I guess, this is what is mean.........Originally Posted by samthegreat68
Has sound processing been moved to the media processor like snespsp_tyl_me? That would free up some processor cycles on the main cpu wouldn't it? Again I believe (with my very limited understanding) that this would require the code to be written for kernel mode which it currently isn't? With the upcoming exploitation of Kernel mode in 2.0 to 2.6 this would be doable? If I understand right the psp has cpu, gpu and media engine processors right?
All hail to the never-sleeping, hardworking coder for this wonderful emu...though i hope i dun have to reformat my memory stick for it and i'm certainly looking forward to being able to run 32MB roms since i have a 2GB MS ^^
Cool glad to see your still going to contribute to the homebrew scene. Could you maybe tell us what sort of ideas you have for homebrew development?Originally Posted by zx-81
Thanks for your comment
Don't expect much more ...Originally Posted by Mr. Shizzy
Right, i will see when i will downgrade.Originally Posted by Mr. Shizzy
Don't worry, i'm still here lol.Originally Posted by Mr. Shizzy
I haven't tried too ...Originally Posted by Mr. Shizzy
I've many other projects in my to-do list .Originally Posted by Mr. Shizzy
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks