Search found 121 matches

by Corbin
Mon Aug 06, 2018 12:52 pm
Forum: Programming Discussion
Topic: GLdc - Call for testers!
Replies: 50
Views: 6157

Re: GLdc - Call for testers!

@kazade: Any chance we could get support to handle paletted textures?

For our games and the engine, it would really help us save VRAM.
by Corbin
Sat Aug 04, 2018 12:08 pm
Forum: Programming Discussion
Topic: GLdc - Call for testers!
Replies: 50
Views: 6157

Re: GLdc - Call for testers!

@kazade: Since EDGE is OpenGL heavy, and uses things like lighting and multi-texturing, I'll be sure to keep up to date and report any performance and/or other issues we might have. I plan on switching this library out today inside KOS at work, and tomorrow I should be completely free to integrate a...
by Corbin
Sat Jul 28, 2018 12:26 pm
Forum: Programming Discussion
Topic: GLdc - Call for testers!
Replies: 50
Views: 6157

Re: GLdc - Call for testers!

Late to the party, as usual :S I am _definitely_ interested in helping test and shape GLdc kazade! Right now we are using libGL (for Slave, Hypertension, and EDGE/DOOM/etc in general) and, well, while it definitely is a great GL library, it has room for improvements. It is nicer and closer to real G...
by Corbin
Sun Sep 17, 2017 3:01 pm
Forum: Programming Discussion
Topic: Assertion "woken == 1" failed at sem.c:171 in `sem_signal'
Replies: 6
Views: 716

Re: Assertion "woken == 1" failed at sem.c:171 in `sem_signa

I've added the following asm code to sem.c in KOS to trap it (so we can get a stack trace): /* Signal a semaphore */ int sem_signal(semaphore_t *sm) { int old, woken, rv = 0; old = irq_disable(); if(sm->initialized != 1 && sm->initialized != 2) { errno = EINVAL; rv = -1; } /* Is there anyone waiting...
by Corbin
Fri Sep 15, 2017 1:44 am
Forum: Programming Discussion
Topic: Assertion "woken == 1" failed at sem.c:171 in `sem_signal'
Replies: 6
Views: 716

Re: Assertion "woken == 1" failed at sem.c:171 in `sem_signa

Gotcha -- I did that so hopefully we can track it down. =) Like I said, it's random when it happens, so sometimes it's a LOT of playtesting, or very little. I'll definitely post my results for others when we can re-produce it (it always /eventually/ happens). ^_^ Thanks BlueCrab, Ill keep you posted...
by Corbin
Thu Sep 14, 2017 7:17 pm
Forum: Programming Discussion
Topic: Assertion "woken == 1" failed at sem.c:171 in `sem_signal'
Replies: 6
Views: 716

Re: Assertion "woken == 1" failed at sem.c:171 in `sem_signa

Well, Chilly and I are still trying to get down to the core of the issue. Initially, we thought it might be our sound/music code, so we disabled it completely, and we are still having issues. Our port stripped out SDL a long time ago so we are just using KOS stuff. The only thing we can think of it ...
by Corbin
Wed Sep 06, 2017 6:49 pm
Forum: Programming Discussion
Topic: Assertion "woken == 1" failed at sem.c:171 in `sem_signal'
Replies: 6
Views: 716

Assertion "woken == 1" failed at sem.c:171 in `sem_signal'

Hey guys, Anyone else get this error? I seem to get it randomly while testing one of our games, and I'm not sure what it's linked to. The only thing I can think of is that maybe it's a thread/ timer issue with one of the modules in the engine, but it doesn't give me much to go off of, even as I use ...
by Corbin
Sat Apr 08, 2017 2:07 am
Forum: Programming Discussion
Topic: Starting the GDB server (#adhd problems lol)
Replies: 4
Views: 596

Re: Starting the GDB server (#adhd problems lol)

Okay, quick solution for anyone else running into trouble -- I went to: opt\toolchains\dc\kos\utils\dc-chain\insight-6.8-1\bfd\doc\ Opened up elf.texi, and the line (should be 11): @subsubsection @code(bdf_elf_find_section) Just change that line to: @subsection @code{bfd_elf_find_section} Seems to r...
by Corbin
Fri Apr 07, 2017 7:07 pm
Forum: Programming Discussion
Topic: Starting the GDB server (#adhd problems lol)
Replies: 4
Views: 596

Re: Starting the GDB server (#adhd problems lol)

Thanks, I got it all figured out!! So now GDB works great, but I'm trying to install Insight. I've copied Insight to: \opt\toolchains\dc\kos\utils\dc-chain\insight-6.8-1 Did a ./configure, worked great. Attempting to Make it gave me these errors: ... ... ... ar cru libintl.a bindtextdom.o dcgettext....
by Corbin
Mon Mar 27, 2017 5:06 pm
Forum: Programming Discussion
Topic: Starting the GDB server (#adhd problems lol)
Replies: 4
Views: 596

Starting the GDB server (#adhd problems lol)

Hey all, I'm trying to set up GDB so I can follow stack traces, but I have completely forgotten how to do this :S I have my engine set up to compile with -g so it can generate these. I'm using dc-tool IP GUI V2 to send the ELF to dcload-IP 1.0.5. While it normally works fine, trying to set the optio...
by Corbin
Thu Mar 09, 2017 10:44 am
Forum: Programming Discussion
Topic: Rebuilding KOS Again
Replies: 11
Views: 1060

Re: Rebuilding KOS Again

Hey just checking in -- the script worked! There was a problem with permissions, and I wasn't aware the script did all the work so I was doing it in two parts...haha :D

Thanks for the help guys! Onto more debugging :-)
by Corbin
Tue Mar 07, 2017 6:29 pm
Forum: Programming Discussion
Topic: Rebuilding KOS Again
Replies: 11
Views: 1060

Re: Rebuilding KOS Again

So I started completely over, got the version of MSYS2 that Bogglez recommended, and this time ran the installer script. Installed to c:\MSYS2, using x64 of Windows 10 (but installed 32-bit MSYS2), and used the install script from within MinGW32.exe (mingw32_shell.cmd for some reason does not exist ...
by Corbin
Tue Mar 07, 2017 10:51 am
Forum: Programming Discussion
Topic: Rebuilding KOS Again
Replies: 11
Views: 1060

Re: Rebuilding KOS Again

I am using that guide on the Wiki. It stops at the point I copy/pasted. Not sure what those errors mean..
by Corbin
Mon Mar 06, 2017 5:28 pm
Forum: Programming Discussion
Topic: Rebuilding KOS Again
Replies: 11
Views: 1060

Rebuilding KOS Again

Hi guys, I'm in the middle of rebuilding my toolchain again. I've been using this new tutorial: https://dcemulation.org/?title=Compiling_KOS_on_Windows Which is working so far, so good. I'm in the middle of compiling the dc-toolchain, and these errors have cropped up: ... ... else :; fi && \ if /opt...
by Corbin
Wed Feb 17, 2016 10:23 pm
Forum: Programming Discussion
Topic: KOS function to upscale in PVR?
Replies: 3
Views: 738

Re: KOS function to upscale in PVR?

Okay, no worries!

Thanks for the links BlueCrab!
by Corbin
Wed Feb 17, 2016 5:22 pm
Forum: Programming Discussion
Topic: KOS function to upscale in PVR?
Replies: 3
Views: 738

KOS function to upscale in PVR?

Hi everyone,

I need to know what function should be called from KOS to enable VGA mode if detected. Right now my engine runs at 640x480, so I'll need a flag in my set resolution code to go up to 800x600...not sure if anything KOS-specific needs to be defined.
by Corbin
Thu Feb 11, 2016 3:39 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: DC-LOAD...howto?
Replies: 2
Views: 1178

Re: DC-LOAD...howto?

Just wanted to say thank you again for taking the time to get me set up! I really appreciate it! :D
by Corbin
Mon Feb 08, 2016 11:11 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: DC-LOAD...howto?
Replies: 2
Views: 1178

DC-LOAD...howto?

Hi all, I finally got my Dreamcast Coders Cable, so I'm starting to set up a debugging environment that doesn't involve burning a billion CDs (also, the serial console is pretty damn vital). I burned dcload 1.0.3 to a CDR, which loads on the Dreamcast: dcload 1.0.3 idle. . . My PC is communicating j...
by Corbin
Fri Feb 05, 2016 8:43 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: DreamShell issues
Replies: 0
Views: 1799

DreamShell issues

Hi there again, After all of these years, I finally caved in and bought a SD card reader for my Dreamcast. Previously, every single build of everything I've ever compiled was burned tediously to disc. I was afraid of the reader going out so I got it all set up. Pretty neat! Trying to get used to it,...
by Corbin
Mon Jan 11, 2016 1:37 am
Forum: Programming Discussion
Topic: [FIXED] SDL not linking properly (kos-ports)
Replies: 7
Views: 2069

Re: [FIXED] SDL not linking properly (kos-ports)

Don't beat yourself up, I super appreciate it! Sometimes I do that on the engine I work on, and forget overlooked errors like that can happen under specific circumstances according to what the end-user is doing/wanting out of it. Usually because I get really excited and my brain kind of explodes ;-)...