Search found 81 matches

by Dreamcast
Sun Jan 09, 2011 5:18 am
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29117

Re: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

Thanks, Bluecrab :). For anyone wanting to update and use MinGW, hold on until Bluecrab updates the makefile. Once I verify whether or not mpfr 3.0.0 works (so far, only 2.4.2 has, but I hadn't patched 3.0.0 until now), I'll upload an archive of all of the packages so you just have to extract them t...
by Dreamcast
Sat Jan 08, 2011 6:48 am
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29117

Re: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

Funny you should be the first to reply. I was just trying out your VMUBeep example after discovering the function in the VMU include :D. The one thing I wish MinGW had is more precompiled packages. I haven't found a suitable SVN for it and subversion won't compile. The other thing is the vqenc and g...
by Dreamcast
Fri Jan 07, 2011 7:05 pm
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29117

Re: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

Revision 01: Added "cygwin1.dll" file to the mingwpack (needed for genromfs.exe). Revision 02: Symbolic link step added during the KOS compilation part (otherwise it gives a "cc" error). [KOS MINGW 4.5.2 SETUP GUIDE BY DREAMCAST â„¢ (2010)] MINGW INSTALLATION / SETUP 1) Download...
by Dreamcast
Mon Jan 03, 2011 12:45 pm
Forum: Programming Discussion
Topic: KOS Bug Reports
Replies: 3
Views: 1385

Re: KOS Bug Reports

The SH side finally compiled without error, so here is what I had to change in the patch (plus everything mentioned above), which wasn't too much: File: utils/dc-chain/patches/gcc-4.4.4-kos.diff Err: "thd_wait was not declared" Fix: In thread.c, thd_wait was changed to thd_join. The return...
by Dreamcast
Mon Jan 03, 2011 6:43 am
Forum: Programming Discussion
Topic: KOS Bug Reports
Replies: 3
Views: 1385

KOS Bug Reports

Errors found in 698: File: utils/dc-chain/makefile Err: Install_libbfd is no longer valid for binutils 2.20.1 (makefile in the /bfd directory). Fix: It needs to be changed to "install" File: utils/dc-chain/patches/gcc-4.4.4-kos.diff Err: The thread patch doesn't match the updated thd_creat...
by Dreamcast
Mon Jan 03, 2011 12:11 am
Forum: Programming Discussion
Topic: DC Dev ISO R4
Replies: 66
Views: 31822

Re: DC Dev ISO R4

I've made it to the second pass of SH-ELF, but now I'm getting this same exact error (using either Cygwin or MinGW) (__gthrw(sched_yield)) : link . Would someone who's compiled with 4.4.4/5 please post their primary makefile. Am I supposed to be using the "POSIX" thread model for everythin...
by Dreamcast
Fri Dec 31, 2010 11:50 pm
Forum: Programming Discussion
Topic: Code::Blocks - DC Dev R2
Replies: 15
Views: 6164

Re: Code::Blocks - DC Dev R2

I can't install either R1 or R2. The "continue" button is never selectable at the install path. All of the areas I've tried to install to have more than enough hard drive space.
by Dreamcast
Fri Dec 31, 2010 7:40 pm
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29117

Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

Below is a guide I've put together for configuring and compiling both SH and ARM toolchains as well as the KOS SDK. I will upload a compiled toolchain once this configuration is verified. MinGW was chosen over Cygwin because of its much smaller installation size. For comparison: CYGWIN (base only): ...
by Dreamcast
Thu Dec 30, 2010 12:47 am
Forum: Programming Discussion
Topic: DC Dev ISO R4
Replies: 66
Views: 31822

Re: DC Dev ISO R4

If I install DC Dev ISO R4 as is and update to the KOS directory to the latest revision, what do I need to download and what do I need to do to have usable versions of GCC 4.4.4, Binutils 2.20.1 and Newlib 1.18.0? How do I update the toolchain? Edit: I thought I'd have to download the source and com...
by Dreamcast
Wed Dec 29, 2010 9:59 pm
Forum: Programming Discussion
Topic: Both using the BBA to upload and in the application
Replies: 5
Views: 1473

Re: Both using the BBA to upload and in the application

That doesn't appear to be the problem. I'm using the KOS R4 disc for DC-LOAD-IP (which defaults to 192.168.1.137) and DC-TOOL-IP from the DCTOOL GUI archive on the disc. I set my DC's static address to match DC-LOAD's, but it's still not working. I tried omitting the bba_init() call and INIT_NET fla...
by Dreamcast
Wed Dec 29, 2010 9:53 pm
Forum: Programming Discussion
Topic: Working with Sound Output using the AICA SPU
Replies: 15
Views: 5424

Re: Working with Sound Output using the AICA SPU

This is the function I created for playback: int hWave; void loadPlaySound(uch *path) { hWave = snd_sfx_load(path); snd_sfx_play(hWave, 0xff, 128); snd_sfx_unload(hWave); } Each sound is played only after a button is pressed on the controller (there's a catch to only send on a button down event whic...
by Dreamcast
Fri Dec 24, 2010 12:32 pm
Forum: Programming Discussion
Topic: Both using the BBA to upload and in the application
Replies: 5
Views: 1473

Re: Both using the BBA to upload and in the application

INIT_NET has been in there the whole time, and everything works great when I upload with a coder's cable + DC-LOAD-SERIAL, but when I use the BBA + DC-LOAD-IP I get the error (lan_adapter: no device detected (wrong type = 0)). I was thinking it's possibly because the stack's already been initialized...
by Dreamcast
Thu Dec 23, 2010 6:19 pm
Forum: Programming Discussion
Topic: Both using the BBA to upload and in the application
Replies: 5
Views: 1473

Both using the BBA to upload and in the application

If it's possible to use the BBA with DC-LOAD-IP / DC-TOOL and also use it to send TCP and UDP packets from the application that was uploaded to the Dreamcast, what is the proper way of initializing it? "No LAN adapter" appears in DC-TOOL's console window even though one is there. Is the &q...
by Dreamcast
Sun Dec 19, 2010 5:32 pm
Forum: Programming Discussion
Topic: Working with Sound Output using the AICA SPU
Replies: 15
Views: 5424

Re: Working with Sound Output using the AICA SPU

I'm having the same exact problem with the audio only playing the first second or two and then stopping. It happens for MP3, OGG and WAV. I've tried changing the bitrate and even tried mono / stereo, but it does the same thing. I've also had the audio speed up / change pitch.
by Dreamcast
Sat Dec 04, 2010 8:57 pm
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: BBA at ebay
Replies: 7
Views: 1870

Re: BBA at ebay

You have an SD Card reader now so the broadband is no longer that important. That is so incorrect, it actually did a 540, was correct for two seconds, and did a final 180 to be incorrect again, as it should be. 1) You can't play Phantasy Star Online or Quake 3 with a SD adapter. 2) The broadband ad...
by Dreamcast
Sun Nov 21, 2010 1:20 pm
Forum: /dev/null
Topic: An appeal from DCEmulation poster BoneyCork
Replies: 5
Views: 659

Re: An appeal from DCEmulation poster BoneyCork

Everyone that still hangs out here is pretty talented, so let's have a go at it. Since this is originating in null, let's make it a parody challenge - either the aforementioned PvZ SHMUP / BOR mod adaptation or something original - just as long as it runs on the DC, even if it's just loading an imag...
by Dreamcast
Sun Nov 21, 2010 11:17 am
Forum: /dev/null
Topic: An appeal from DCEmulation poster BoneyCork
Replies: 5
Views: 659

Re: An appeal from DCEmulation poster BoneyCork

Per the consistency clause of the unofficial DC homebrew developer's SDK readme, a PvZ adaptation would have to be either a SHMUP or BOR mod. Greenlight to go?
by Dreamcast
Sun Oct 24, 2010 4:05 pm
Forum: /dev/null
Topic: Ivy The Kiwi
Replies: 2
Views: 457

Re: Ivy The Kiwi

If choosing a title that starts with a letter two less than that of the first letter in the second word and whose second word is the name of a fruit, would the sequel be Kiwi the Mango?
by Dreamcast
Sun Oct 10, 2010 6:07 am
Forum: Programming Discussion
Topic: Problems with dc-load-ip and dc-tool-ip
Replies: 1
Views: 951

Problems with dc-load-ip and dc-tool-ip

Does anyone else have to upload their ELF twice for it to run? The first time I run it, I briefly see a blue screen with some white text before dc-load-ip returns to the start screen. If I send the file again it loads and then runs like it should. Also, does dc-tool(-ip) take nearly 100% of the CPU ...