Search found 94 matches

by ThePerfectK
Sun Oct 06, 2019 10:00 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 22
Views: 360

Re: Noob question thread

you have a fundamental misunderstanding of how video technology works for these kinds of old systems which is why you're having trouble with your project. I don't want to spend too much time retreading a topic I cover much more detail in a large guide I've been working on for years now (that's right...
by ThePerfectK
Sun Oct 06, 2019 9:39 pm
Forum: Programming Discussion
Topic: Developing for Dreamcast and PC simultaneously
Replies: 7
Views: 150

Re: Developing for Dreamcast and PC simultaneously

On top of the many SDL dreamcast ports being incomplete or otherwise flawed, they are the old SDL, based off of SDL 1.3 (or earlier). SDL had a clean break with the release of SDL2, SDL 1.3 and SDL2 are incompatible and different technologies. SDL2 has already become the stardard, nobody uses SDL 1....
by ThePerfectK
Mon Sep 30, 2019 2:39 pm
Forum: Programming Discussion
Topic: DreamSDK R2 is now available
Replies: 23
Views: 2373

Re: DreamSDK R2 is now available

locate gcc.exe by full path (i.e. c:\mingw64\bin\x86_64-w64-mingw32-gcc.exe or wherever it is) and include the full path in the make environment. The error is saying it can't find gcc.exe so presumably it's looking in the wrong location.
by ThePerfectK
Fri Sep 27, 2019 9:01 am
Forum: Programming Discussion
Topic: Questions on sound for Dreamcast
Replies: 4
Views: 138

Re: Questions on sound for Dreamcast

Anyone got a cdda demo? How does one burn the disc for cdda audio tracks?
by ThePerfectK
Thu Sep 19, 2019 8:26 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 22
Views: 360

Re: Noob question thread

Congrats on getting something drawn to the screen. That warning is just saying you're not actually using the flags you define. That command is a macro which returns a variable that can be passed to KOS to setup the environment. What you are doing is directly manipulating the framebuffer, without wor...
by ThePerfectK
Thu Sep 19, 2019 2:23 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 22
Views: 360

Re: Noob question thread

Your kos init and vid mode code need to go inside main they are calls to be executed. Also, your program doesn't loop, so it'll draw a pixel for one frame then end. Try this: #define PACK_PIXEL(r, g, b) ( ((r & 0xF8) << 8) | ((g & 0xFC) << 3) | (b >> 3) ) #include <kos.h> #include <stdio.h> int main...
by ThePerfectK
Thu Sep 19, 2019 12:13 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 22
Views: 360

Re: Noob question thread

Looks like you are well on your way, please keep the topic informed! Best of luck! One other thing to note, iirc the "hello" example uses the debug font to display "hello world" on the screen. This font resides in the bios, and redream will hang at a black screen if the bios isn't present when you c...
by ThePerfectK
Wed Sep 18, 2019 12:19 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 22
Views: 360

Re: Noob question thread

Thank you! Can redream play the .elf? redream launches but just to a welcome screen, in the DreamSDK manager under the emulator path I put the path to the .elf as argument, is that correct? If I want a cdi file, do I have to do it manually with discjuggler? No, Redream AFAIK cannot play elfs direct...
by ThePerfectK
Tue Sep 17, 2019 5:23 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 22
Views: 360

Re: Noob question thread

I don't use DreamSDK to develop with nor do I use code::blocks as my IDE so I might be wrong with the specifics here, but I can explain what that means regardless. Build targets describe a set of options your IDE uses when compiling and running your program. This includes environment variables, like...
by ThePerfectK
Mon Sep 09, 2019 2:50 am
Forum: Official Sylverant PSO Server Forum
Topic: Server Event: Still Dreaming - 20 Years Later
Replies: 3
Views: 133

Re: Server Event: Still Dreaming - 20 Years Later

I'll definitely hop on sometime today. I know this board is for PSO info, but considering the day, would it be possible to also organize a Quake 3 play? Playing Quake 3 is always awesome, double so on the Dreamcast!
by ThePerfectK
Sun Sep 01, 2019 12:34 am
Forum: Programming Discussion
Topic: Guide: Installing a USB Coder's port
Replies: 1
Views: 167

Guide: Installing a USB Coder's port

A quick and dirty tutorial to guide people through adding a USB development port to their Sega Dreamcast: The Sega Dreamcast was one of the most forward thinking consoles ever. One of its best features is the least used: this serial port on the dreamcast is very important for modern dreamcast homebr...
by ThePerfectK
Wed Aug 28, 2019 1:38 am
Forum: Programming Discussion
Topic: where to get sh-elf-gdb
Replies: 4
Views: 101

Re: where to get sh-elf-gdb

Thanks so much for the input Siz! I never noticed that make command in DC-chain makefile! Doh!!

EDIT: Just tested it out on a recent install of KOS and worked perfectly, thanks so much!!
by ThePerfectK
Tue Aug 27, 2019 12:59 pm
Forum: Programming Discussion
Topic: where to get sh-elf-gdb
Replies: 4
Views: 101

Re: where to get sh-elf-gdb

My docker images include it haydenkow/nu_dckos Im pretty sure thats how i got my copy too, or something similar, but im more interested in figuring out how to generate sh-elf-gdb myself, or pull from an official gdb source, i.e. not part of a larger package. Being on the whim of a docker image is a...
by ThePerfectK
Tue Aug 27, 2019 10:07 am
Forum: Programming Discussion
Topic: where to get sh-elf-gdb
Replies: 4
Views: 101

where to get sh-elf-gdb

I already have a pre built binary for sh-elf-gdb so I don't really need the program for myself, I'm just more wondering whats the best way for someone who doesn't have the binary to get it? There doesn't appear to be any packages in the package managers for the distros I use for sh-elf-gdb and when ...
by ThePerfectK
Tue Aug 27, 2019 4:19 am
Forum: Programming Discussion
Topic: Announcing libkosfat
Replies: 10
Views: 281

Re: Announcing libkosfat

Tested this out, works great! Thought it wasn't working for a bit, but turns out I hadn't built the newest version yet. Thanks for the effort! I think I've discovered a bug, however. Going with what protofall was doing above, I tried to write a program that loaded a second binary off of the SD card ...
by ThePerfectK
Sun Aug 18, 2019 3:01 am
Forum: Programming Discussion
Topic: Announcing libkosfat
Replies: 10
Views: 281

Re: Announcing libkosfat

Thank you so much for working on this! I'll give it a look over in the morning.
by ThePerfectK
Sat Aug 10, 2019 8:29 am
Forum: Programming Discussion
Topic: DreamSDK error debug
Replies: 4
Views: 165

Re: DreamSDK error debug

It can't open a socket on your host. Try temporarily disabling your firewall in both windows and on your router (be careful!) and see if that helps. If it does, work backwards from there to add an exception to your firewall(s).
by ThePerfectK
Thu Aug 08, 2019 11:21 am
Forum: Programming Discussion
Topic: Has anyone successfully built the toolchain in Windows Subsystem for Linux?
Replies: 11
Views: 271

Re: Has anyone successfully built the toolchain in Windows Subsystem for Linux?

But wsl isn't graphical right, I use VcXsrv in windows to create an X server for WSFL to communicate through. https://pbs.twimg.com/media/EAxzRfHWsAAA0jm?format=jpg&name=medium It's not the gui that's the problem, it's an unimplemented kernel function. I can launch and run redream. I just can't use...
by ThePerfectK
Thu Aug 08, 2019 11:19 am
Forum: Programming Discussion
Topic: Announcing libkosfat
Replies: 10
Views: 281

Re: Announcing libkosfat

This is seriously perfect timing for me. Thanks so much for this!!
by ThePerfectK
Wed Jul 31, 2019 5:17 am
Forum: Programming Discussion
Topic: Please ,help sdl-1.2.13 I need this :)
Replies: 2
Views: 164

Re: Please ,help sdl-1.2.13 I need this :)

Hi Ian, I saw on assembler that you eventually tracked this down. Would you mind sharing it, as I find myself needing it as well.