I'll take a shot, at a few of 'em..
Quote:
author=PS2Atari
1) Where can I get info on playing sounds from romdisk? Source code would be greatly appreciated.
This would be the basics to play soundfx, check
the older docs or Dan's website, I might have made a typo.
//decl.
sfxhnd_t fire;
//handle+load
fire = snd_sfx_load("/rd/fire.wav");
//play hand,L-Rbal,Volume
snd_sfx_play(fire, 64, 128 );
Quote:
2) Do any libs or code examples exist to use purupuru packs? (the "rumble2" demo doesn’t work for me Â* Â*)
http://www.dchomebrew.org/kamjin/
click on DC then Puru, there's a KOS driver written
by SinisterTengu, almost all the info on the reverse eng. of the puru. If the Kos driver don't work for you let me know and I'll send you some maple code that works around KOS.
Quote:
4) How I can access the second maple port... there aren't any convenient macro’s like "maple_second_controller()", is it some kind of pointer off set?
again off the top of my head adn sloppy.. so..
Code:
cont_cond_t cond1,cond2;
uint8 port,device,controller[4];
for(port=0;port<4;port++){
for(device=0;device<4;device++){
if ( maple_device_func(port,device) == MAPLE_FUNC_CONTROLLER ) {
controller[players]=maple_create_addr(port,device);
players++;
printf("found at %d,%d\n",port,device);
}//end if
}//end for device
}//end for port
//for player1
cont_get_cond(controller[0], &cond1);
//for player2
cont_get_cond(controller[1], &cond2);
if(!(cond1.buttons & CONT_A)printf("P1 Pressed!\n");
if(!(cond2.buttons & CONT_A)printf("P2 Pressed!\n");
Quote:
5) Why would anyone want to use the download function of dc-tool?
Dump screens, memory, results.. debugging etc..
Quote:
7) Is there any official or in-depth KOS documentation?
http://gamedev.allusion.net/docs/kos/cvs/kos_html/
The rest of the Docs is by going through the headers, and example code, and of course ask others which probably is the best reference.