Search found 5 matches

by DarkMorford
Fri Jan 27, 2017 6:29 pm
Forum: Programming Discussion
Topic: Wiki feedback
Replies: 102
Views: 75774

Re: Wiki feedback

MSYS would work fine with genromfs if you were to compile it with the MSYS toolchain rather than the MinGW one (considering MSYS is basically Cygwin anyway). Installing the "gcc" package with the MSYS2 pacman should install the MSYS toolchain, if I'm understanding how that is set up corre...
by DarkMorford
Mon Jan 23, 2017 7:10 pm
Forum: Programming Discussion
Topic: Okay, I'm stumped. Help me with my lighting code?
Replies: 0
Views: 539

Okay, I'm stumped. Help me with my lighting code?

I'm trying to implement some basic Phong-style lighting on the DC, and it's kicking my butt. (It doesn't help that 3D graphics was always my worst class in college.) I've mocked up what I'm trying to achieve in OpenGL on my PC—the light source is directly behind the camera, so it's lighting up both ...
by DarkMorford
Mon Jan 16, 2017 9:52 am
Forum: Programming Discussion
Topic: [SOLVED] Maple activity causing system crash?
Replies: 3
Views: 581

Re: Maple activity causing system crash?

Problem solved. It turns out Windows Firewall doesn't like leaving UDP sockets open for more than a minute without any activity. This means that, when the Dreamcast application tried to send console output back to the PC, Windows blocked the packet and the program just hung. Adding an exception for ...
by DarkMorford
Fri Jan 13, 2017 5:46 pm
Forum: Programming Discussion
Topic: [SOLVED] Maple activity causing system crash?
Replies: 3
Views: 581

Re: Maple activity causing system crash?

I've added return-value checks and updated the gist with the new code. It looks like something in one of the Maple functions is causing the lockup, because I'm not getting any output at all—either from the return-value checks or the "Pressed START" message. Also, I'm not able to get the EL...
by DarkMorford
Thu Jan 12, 2017 7:02 pm
Forum: Programming Discussion
Topic: [SOLVED] Maple activity causing system crash?
Replies: 3
Views: 581

[SOLVED] Maple activity causing system crash?

Newbie Dreamcast dev here, only been playing around with it for 3 weeks or so. I'm running into a problem trying to exit my program. I'm using KOS commit 7d7aa89ca1d10a1bef20984a6a0120e616421f9e and version 1.0.4 of dc-load. (Sample code at https://gist.github.com/DarkMorford/5ca6daa77e769013e2db9b6...