Search found 95 matches

by showka
Sun Jan 12, 2014 11:06 pm
Forum: Programming Discussion
Topic: Getting weird errors using snd_stream_poll
Replies: 25
Views: 1545

Re: Getting weird errors using snd_stream_poll

Thanks for your response BlueCrab. I've finally created a recreate. Edit vorbistest.c in the hello-ogg example and and add this at line 61: for(i = 0; i < 150; i ++) { printf("Hi! How are you doing? %d\n", i); } With this added, the program seems to crash very quickly. My expectation before this was...
by showka
Sun Jan 12, 2014 12:27 am
Forum: Programming Discussion
Topic: Getting weird errors using snd_stream_poll
Replies: 25
Views: 1545

Re: Getting werid errors using snd_stream_poll

UPDATE: So of course, after screwing around with this for several hours I finally post it and then notice an obvious bug which is that that I am not setting the samplesReturned correctly in the callback. I've fixed this and now the recreate recreates nothing, so this is a huge waste of time. However...
by showka
Sat Jan 11, 2014 11:47 pm
Forum: Programming Discussion
Topic: Getting weird errors using snd_stream_poll
Replies: 25
Views: 1545

Getting weird errors using snd_stream_poll

Hi everyone. Over the past few weeks I've been trying to get sound working on a Dreamcast game engine. I've been seeing incredibly strange errors where the system will either crash, lock up, or alter the values of variables declared const (as if the registers aren't being restored correctly). When I...
by showka
Sun Mar 10, 2013 3:07 pm
Forum: Programming Discussion
Topic: Trouble burning dcload-ip
Replies: 18
Views: 2605

Re: Trouble burning dcload-ip

Hmm... well, either way, I'm set now. Thanks!
by showka
Sun Mar 10, 2013 1:22 pm
Forum: Programming Discussion
Topic: Trouble burning dcload-ip
Replies: 18
Views: 2605

Re: Trouble burning dcload-ip

@BlueCrab: I finally found time to figure out what I was doing wrong. What I needed to do was add the line "TARGETCCVER = 4" to Makefile.cfg. Ironically, I found this info by searching all my Dreamcast files for "-Tdc" and finding TARGETCCVER defined in an old copy of the dcload-ip source which I'd ...
by showka
Tue Feb 12, 2013 12:12 am
Forum: Programming Discussion
Topic: Trouble burning dcload-ip
Replies: 18
Views: 2605

Re: Trouble burning dcload-ip

Sorry, but it's not working for me. First, I pulled down the latest changes from git. I had to burn three CDs before it worked (thanks to the spindle of relics I'm working with), but I was eventually able to see a nice green screen (not blue like before). Unfortunately, when I ran the pvrmark_strips...
by showka
Tue Jan 22, 2013 6:58 am
Forum: Programming Discussion
Topic: Trouble burning dcload-ip
Replies: 18
Views: 2605

Re: Trouble burning dcload-ip

Success! I got your version of dcload-ip to run. It froze at the license screen, but I was able to use dc-tool to run stuff. Here's how I discovered this. This morning I decided to try the dcload-ip disc I'd built from source to see if dc-tool would work once it froze at the license screen like you ...
by showka
Tue Jan 22, 2013 6:42 am
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 2483

Re: Reading raw audio sectors

Great! Glad to hear it worked.
by showka
Sun Jan 20, 2013 10:22 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 2483

Re: Reading raw audio sectors

You may have already gotten the latest toolchain working PH3NOM but in case you haven't yet this may help. I recently wrote a bash script which can install the entire tool chain on a fresh Ubuntu machine . Afterwards I used it as the basis to build the toolchain on Windows 8 using Cygwin and wrote a...
by showka
Sun Jan 20, 2013 6:49 pm
Forum: Programming Discussion
Topic: Trouble burning dcload-ip
Replies: 18
Views: 2605

Re: Trouble burning dcload-ip

Alas, it didn't work. I changed the make-cd directories Makefile 1ST_READ variable to the path to your attached 1st_read.bin file. Unfortunately it didn't work. Strangely enough, it wasn't even recognized as a playable disc. The ones I had burnt myself at least got to the "licensed by Sega" screen b...
by showka
Sun Jan 20, 2013 12:06 pm
Forum: Programming Discussion
Topic: Trouble burning dcload-ip
Replies: 18
Views: 2605

Trouble burning dcload-ip

Hi everyone, I have a trusty old CDR containing dcload-ip-1.0.3 which I snagged from a the internets in years past in the form of a Nero image. I believe I have the HIT-0300 "LAN" adapter (though I paid for the HIT-400, thanks ebay!) and never had luck running dcload-ip-1.0.4. These days, I'm trying...
by showka
Tue Apr 22, 2008 10:32 am
Forum: Programming Discussion
Topic: Output from lua interpreter?
Replies: 2
Views: 1150

Re: Output from lua interpreter?

I might be wrong, but it sounds like your using the default environment or loop or whatever that comes with lua and lets you type in code and gives immediate feed back. That uses printf, which may not be set up on your PC. By the way, IIRC using printf statements on code your running directly from a...
by showka
Thu Mar 27, 2008 8:21 am
Forum: Off-Topic Forum
Topic: Legal battle over World of Warcraft 'bot'
Replies: 7
Views: 574

Re: Legal battle over World of Warcraft 'bot'

I'm no bot fan, but I hope Blizzard loses this case. Companies shouldn't be able to write the law anyway they want to just because they slipped something into an EULA. Clicking a button, even if it's a radio button, isn't the same as putting your signature on a paper contract in ink. The whole argum...
by showka
Tue Mar 25, 2008 8:29 pm
Forum: /dev/null
Topic: Private stuff foruns are visible on the zombie site
Replies: 12
Views: 708

Private stuff foruns are visible on the zombie site

You know... that one.

I have to say, |Darc| and Blue Crab come across looking like the good guys in the discussions leading up to this.

I don't know why Quzar is posting over there, though. That makes me sad.
by showka
Tue Mar 25, 2008 4:49 pm
Forum: Programming Discussion
Topic: SDL, OpenGL and FENIX updates by Chui
Replies: 4
Views: 874

Re: SDL, OpenGL and FENIX updates by Chui

I read somewhere that the older SDL port had memory problems. Does the new version fix those problems?
by showka
Tue Mar 25, 2008 12:25 am
Forum: /dev/null
Topic: FIRST POST!
Replies: 12
Views: 390

Re: FIRST POST!

This is an exciting turn of events! I have to say I was having a common re-occurring nightmare that the Blue Crab thing would lead to forum drama bullshit culminating with that 007 guy (whoever he was) coming in and deleting shit left and right. Everyone knows the Programming Discussion forum is lik...
by showka
Fri Jan 25, 2008 11:40 am
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: Dreamcast-Scene being vandalized by spambots
Replies: 13
Views: 1176

Re: Dreamcast-Scene being vandalized by spambots

I guess in terms of news and updates you are right. I was thinking mostly about developer resources, in which case I find the forum here to be the best.

Anyway, it doesn't really matter since it's not a competition. When any of these three sites go down it will be a loss.
by showka
Fri Jan 25, 2008 10:23 am
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: Dreamcast-Scene being vandalized by spambots
Replies: 13
Views: 1176

Re: Dreamcast-Scene being vandalized by spambots

This sucks. DCS is one of the best current Dreamcast resources, probably second only to this place.
by showka
Mon Jan 14, 2008 4:49 pm
Forum: Programming Discussion
Topic: Class organization question.
Replies: 8
Views: 1075

Re: Class organization question.

By the way, there's no guarantee as to when that static global will be initialized, so you'll want to make sure you're not doing anything that's order dependent in the constructor. It is not a static global, but a static local :) This type of construct is known to be a work-around for that static d...
by showka
Mon Jan 14, 2008 10:52 am
Forum: Programming Discussion
Topic: Class organization question.
Replies: 8
Views: 1075

Re: Class organization question.

I understand your larger problem with being weary of all the relations between classes, because I experience it myself. I don't know the solution, and have realized lately my main fault as a programmer is that I'm prone to over-engineer my designs and make them more abstract and "re-usable" than usa...