Search found 13 matches

by spencer723
Fri May 14, 2021 8:49 pm
Forum: Programming Discussion
Topic: KOS, Visual Studio Code & gdb
Replies: 20
Views: 7442

Re: KOS, Visual Studio Code & gdb

I actually did the same thing recently on Windows and wanted to make a guide. It works pretty well but code completion and stuff is a little wonky right now :P I'd love to see that! Wow. Sorry for leaving you hanging :oops: Here are my instructions for setting up the Dreamcast toolchain using Windo...
by spencer723
Thu Sep 10, 2020 12:48 pm
Forum: Programming Discussion
Topic: KOS, Visual Studio Code & gdb
Replies: 20
Views: 7442

Re: KOS, Visual Studio Code & gdb

I actually did the same thing recently on Windows and wanted to make a guide. It works pretty well but code completion and stuff is a little wonky right now :P
by spencer723
Thu Aug 06, 2020 8:44 pm
Forum: Off-Topic Forum
Topic: What does everyone do for work?
Replies: 40
Views: 185254

Re: What does everyone do for work?

I'm a firmware engineer at AMD. I figured my work would help me with homebrew Dreamcast development :grin:
by spencer723
Tue Aug 04, 2020 5:21 am
Forum: Programming Discussion
Topic: Undefined references with kos-ports
Replies: 4
Views: 609

Re: Undefined references with kos-ports

Seems to me is this happening after your program builds if so it's the link line not working or you need to change the order.. -lGL should be -lgl Not caps _undefine is linking error should fix it change -lGl to -lgl let me know.. If it not built proper be a problem to Thanks for the suggestion! I ...
by spencer723
Sun Aug 02, 2020 6:47 am
Forum: Programming Discussion
Topic: Undefined references with kos-ports
Replies: 4
Views: 609

Re: Undefined references with kos-ports

It seems as though my KOS toolchain install is okay. I was able to compile a simple PVR example that just clears the screen with red and it runs just fine.
by spencer723
Sun Aug 02, 2020 5:22 am
Forum: Programming Discussion
Topic: Undefined references with kos-ports
Replies: 4
Views: 609

Re: Undefined references with kos-ports

Okay, so maybe the library isn't building correctly. When I install libGL, I get these errors when it's compiling: kos-cc -c gl-light.c -o gl-light.o In file included from gl-light.c:23: gl-api.h:214:13: warning: inline function ‘_glKosPushMultiTexObject’ declared but never defined 214 | inline void...
by spencer723
Sat Aug 01, 2020 9:49 pm
Forum: Programming Discussion
Topic: Debugging on an emulator
Replies: 6
Views: 3044

Re: Debugging on an emulator

It's Pretty much a fools task optimizing or debugging on an emulator.. It's ok for fast proto typing a port to get it just running.. But sh4 math asm any thing that uses the dreamcast hardware even dma will not show the same on an emulator.. For example demul redream nulldc all have instant DMA so ...
by spencer723
Sat Aug 01, 2020 8:41 pm
Forum: Programming Discussion
Topic: Undefined references with kos-ports
Replies: 4
Views: 609

Undefined references with kos-ports

Hi all, I'm trying to compile a test program with libGL/GLdc and everything seems to be compiling and installing just fine. The correct include files are in the kos-ports include directory and the libs are in there, too. Whenever I go to compile my program, I get a lot of these types of errors: /opt...
by spencer723
Thu Jul 30, 2020 3:28 pm
Forum: Programming Discussion
Topic: PowerVR API vs OpenGL
Replies: 4
Views: 789

Re: PowerVR API vs OpenGL

For example, there are many samples for GLdc and I was hoping that there was something similar for the PVR API. If not, maybe I should stick to GLdc since there will be OpenGL 1.2 tutorials online plus these samples :?
by spencer723
Thu Jul 30, 2020 1:42 pm
Forum: Programming Discussion
Topic: PowerVR API vs OpenGL
Replies: 4
Views: 789

Re: PowerVR API vs OpenGL

You're looking for free and legal docs? Preferably :) . Even information/tutorials about how the PVR API works in KallistiOS would be nice. I found the Doxygen docs with the list of methods and structures, but there isn't much information on how to use them. I don't need something so in-depth that ...
by spencer723
Thu Jul 30, 2020 5:38 am
Forum: Programming Discussion
Topic: PowerVR API vs OpenGL
Replies: 4
Views: 789

PowerVR API vs OpenGL

Hi all, I've started my foray into DC dev and I had a question about the PowerVR API in KallistiOS and OpenGL. Since the OpenGL that is supported for the DC doesn't really translate into modern OpenGL methods (no shaders, no VBO, etc.) I figured it might be more fun to go in-depth with the PowerVR A...
by spencer723
Mon Jul 27, 2020 12:59 pm
Forum: Programming Discussion
Topic: Debugging on an emulator
Replies: 6
Views: 3044

Re: Debugging on an emulator

Hello, I've been using lxdream (on linux) and reicast (https://github.com/reicast/reicast-emulator/releases) to do testing and some debugging using simple printf and whatever error message comes out of the terminalk. Obviously the real test at the end of the day is if it works on my DC. I don't kno...
by spencer723
Sun Jul 26, 2020 2:46 pm
Forum: Programming Discussion
Topic: Debugging on an emulator
Replies: 6
Views: 3044

Debugging on an emulator

Hey everyone, I'm new to the Dreamcast dev scene. I have installed DreamSDK and Code::Blocks and I have been able to compile the Hello, World program. What I'm now trying to figure out is how to debug through an emulator rather than the actual hardware for now. I tried NullDC but it kept rebooting w...