Search found 189 matches

by BB Hood
Wed Sep 13, 2023 9:07 pm
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

Please please please get on Github. It would be a lot easier for others to see your code and be able to help. I download the code and ran it. It crashes as soon as I upload it through dcload.
by BB Hood
Wed Sep 13, 2023 10:08 am
Forum: Programming Discussion
Topic: Use fs_read instead of fread
Replies: 3
Views: 347

Re: Use fs_read instead of fread

Oh Snap I have to try that out!
by BB Hood
Mon Sep 04, 2023 10:38 pm
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

Twada, sorry. Its taking longer than I thought. The code I did write removed stress from the video but the sound came out aweful. Ultimately what you want to do is run an audio thread that calls snd_stream_poll instead of calling it every frame: void* snd_thread() { while(audio_status != AUDIO_STATU...
by BB Hood
Mon Sep 04, 2023 1:17 am
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

It plays pretty well from running it on my Dreamcast. Its late here but I took at quick look at your sound code in main.c. I think I can help and will share code with you tomorrow. Unfortunately I have no input on the decoding of the sound data itself. Sorry.
by BB Hood
Mon Sep 04, 2023 12:15 am
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

<333333 Thank you! That fixed it alright. Im gonna take a look at your code and see what I can do.
by BB Hood
Sun Sep 03, 2023 8:08 pm
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

Screen Shot 2023-09-03 at 5.21.47 PM.png Twada, Im almost done with the sample but Im not getting something right. This is what I get after the conversion on a YUV420 You think you can help? I think its the way im generating the buffers to send to the TA for conversion static void convert() { int i...
by BB Hood
Sat Sep 02, 2023 11:57 pm
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

Thanks!! I just found this post (https://dcemulation.org/phpBB/viewtopic ... 7#p1027297) by Phenom and it shows a way for DMA. Currently KOS is missing some of the functionality so I plan to add it soon.
by BB Hood
Sat Sep 02, 2023 10:46 pm
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5069

Re: pl_mpegDC ported running but community help needed

First off, awesome stuff!! I gonna look into maybe creating an example that shows utilizing the TA to convert YUV420 => YUV422 once I fully get the grasp of it. After playing with your code a bit, I rewrote some video related functions in your main.c file. I cut some stuff that doesn't seem to make ...
by BB Hood
Mon Dec 07, 2020 9:54 am
Forum: Programming Discussion
Topic: A bios with dc-load-serial
Replies: 5
Views: 1414

Re: A bios with dc-load-serial

Yea, I figured the bad binary was the case. I experienced that issue as well. I think I may have even fixed it. Anyway, I have no documentation for making a custom BIOs sorry :(
by BB Hood
Fri Dec 04, 2020 9:19 pm
Forum: Programming Discussion
Topic: A bios with dc-load-serial
Replies: 5
Views: 1414

Re: A bios with dc-load-serial

It doesnt look like you have to select dc-load-serial from a menu. From your link: [If "A" + "B" is pressed during boot up, dc-load-serial will be launched] If you have a GDEMU you can just put the dcload-serial binary in the 01 folder. Maybe Dreamboot contains a bad dc-load-seri...
by BB Hood
Fri Oct 02, 2020 10:45 am
Forum: Programming Discussion
Topic: Ogg Vorbis
Replies: 1
Views: 915

Re: Ogg Vorbis

When I encounter issues like this I try and find a program that can re-export the file in the file type I want and if it works then I always use that program to "clean" the files. I haven't had any issues with ogg files. Can you post a non-working ogg file?
by BB Hood
Mon Aug 24, 2020 8:32 pm
Forum: Programming Discussion
Topic: Working with Sound Output using the AICA SPU
Replies: 15
Views: 5152

Re: Working with Sound Output using the AICA SPU

Here is my libwav: https://github.com/andressbarajas/libwav Here is an example of it in use: https://github.com/andressbarajas/dreamcastwiki/tree/master/Audio/Stream/Streaming/WAV And the audio page that links to it: https://dreamcast.wiki/Streaming_audio Hmm, I see you have copied some of my code ...
by BB Hood
Fri Aug 14, 2020 11:54 pm
Forum: Programming Discussion
Topic: snd_sfx_load and unload, garbled sfx
Replies: 3
Views: 385

Re: snd_sfx_load and unload, garbled sfx

I dont think that is something you have to worry about too much. You have to have a ton of sfx for that to happen. Glad it works for you :)
by BB Hood
Fri Aug 14, 2020 10:33 am
Forum: Programming Discussion
Topic: snd_sfx_load and unload, garbled sfx
Replies: 3
Views: 385

Re: snd_sfx_load and unload, garbled sfx

In my personal opinion it is not a good idea to unload sfx continuously. Just load all the files upfront and depending on the value of 'c', play the correct sfx.
by BB Hood
Wed May 27, 2020 1:55 pm
Forum: Programming Discussion
Topic: Issues with compiling a program with KallistiOS
Replies: 8
Views: 1073

Re: Issues with compiling a program with KallistiOS

You will execute the command[ DreamSDK-R2-Setup.exe /LOG="C:\FileName.log" ] through a commandline.
by BB Hood
Tue Mar 31, 2020 1:37 pm
Forum: Programming Discussion
Topic: New to Dreamcast homebrew, question about engines
Replies: 22
Views: 3726

Re: New to Dreamcast homebrew, question about engines

DreamSDK just helps you get setup with DC development. You're still stuck with the same options that Protofall posted.
by BB Hood
Sat Jan 11, 2020 10:52 pm
Forum: Programming Discussion
Topic: VMU Game Uploader
Replies: 3
Views: 1104

Re: VMU Game Uploader

I verified that the bug exists and that what LightDark posted fixes it.
by BB Hood
Tue Dec 10, 2019 7:40 am
Forum: Programming Discussion
Topic: DreamHAL - Dreamcast Hardware Abstraction Layer
Replies: 21
Views: 5120

Re: DreamHAL - Dreamcast Hardware Abstraction Layer

Post a link to the source code repository
by BB Hood
Sun Sep 15, 2019 4:22 am
Forum: Programming Discussion
Topic: Buiding PNGTOMR on Mac OSX
Replies: 10
Views: 1474

Re: Buiding PNGTOMR on Mac OSX

I recently programmed a GIMP plugin to create MR images. https://gitlab.com/BBHoodsta/makeip [file-mr.py]