Search found 7 matches

by hhaunt
September 9th, 2024, 11:25 pm
Forum: PSXDEV Downloads
Topic: [DOWNLOAD] All PSX CAETLA Versions and CAEFLASH
Replies: 27
Views: 225952

Re: [DOWNLOAD] All PSX CAETLA Versions and CAEFLASH

may it be possible to flash an Xplorer with DB-25 cable? or I need a Comms Link? I didn't understand exactly the thing.

EDIT:
After reading all the posts and searching on Google for a while, I think I just need a DB-25 cable with all pins connected. If I can't find one, I might try getting a common ...
by hhaunt
September 9th, 2024, 11:17 pm
Forum: Sound/SPU
Topic: play vag in sequence
Replies: 9
Views: 12933

Re: play vag in sequence


Using the SpuTransferCallback looks a bit overcomplicated - it would work without that... but it might actually make some sense there (the IrqAddr must be set up *after* the transfer to SPU RAM, otherwise the transfer itself will trigger the IRQ when writing to that addr).


yea, that's was the ...
by hhaunt
September 8th, 2024, 7:37 am
Forum: Sound/SPU
Topic: play vag in sequence
Replies: 9
Views: 12933

Re: play vag in sequence

Well, I solved the puzzle I guess...


SpuIRQCallbackProc spu_handler(){
printf("\n\n interrupt hitted \n\n");
return 0;
}

SpuTransferCallbackProc spu_transfer_callback(){
printf("\n\n transfer callback hitted \n\n");
SpuSetIRQ(SPU_ON);
SpuSetIRQAddr(spu_addr[0] + 150000); // half size ...
by hhaunt
September 6th, 2024, 8:42 pm
Forum: Sound/SPU
Topic: play vag in sequence
Replies: 9
Views: 12933

Re: play vag in sequence

thanks for the reply, reading the doc, I found how to set the interrupt:


SpuIRQCallbackProc spu_handler(){
printf("\n\ninterrupt hitted\n\n");
return 0;
}

void spu_load_vag(u_long *vag_data){
long size = 300000; // size in bytes
current_vag_data = vag_data;
spu_addr[0 ...
by hhaunt
September 6th, 2024, 7:25 am
Forum: Sound/SPU
Topic: play vag in sequence
Replies: 9
Views: 12933

Re: play vag in sequence


Is that pre-rendered background and music-streaming because you don't know how to draw tile/map graphics and play midi/instrument music? Or do you actually need it for hyper-realistic graphics and songs recorded from real-life bands?


I've made tons of tile engine games for other systems, I'm ...
by hhaunt
September 6th, 2024, 2:56 am
Forum: Sound/SPU
Topic: play vag in sequence
Replies: 9
Views: 12933

Re: play vag in sequence

Another doubt:
if in the stream finished callback I reinitialize the audio and re-execute the spu_load_vag function, I can loop the music. It follows that if inside the spu_load_vag function I change the data_addr to a new music file loaded in RAM, it should work, but I don't think it's the correct ...
by hhaunt
September 6th, 2024, 12:13 am
Forum: Sound/SPU
Topic: play vag in sequence
Replies: 9
Views: 12933

play vag in sequence

Hi everyone,
I've been developing a Final Fantasy-style RPG for several months, with prerendered backgrounds. The project is open source. I’ve managed to get almost everything working, but now I’m encountering a problem with the audio. I’d like to play background music while moving between the ...