Search found 4857 matches

by BlueCrab
Tue Oct 09, 2018 1:29 pm
Forum: Programming Discussion
Topic: Project Works on Emulators; Black Screen on Hardware
Replies: 12
Views: 258

Re: Project Works on Emulators; Black Screen on Hardware

Memory on real hardware (outside of your .text, .data, .rodata, and .bss sections) isn't initialized when the program starts. Emulators usually do start with memory completely zeroed out, which is why that would work out fine on an emulator but not on the real hardware.
by BlueCrab
Wed Oct 03, 2018 4:58 pm
Forum: Programming Discussion
Topic: Help Setting up KOS in Netbeans IDE
Replies: 12
Views: 194

Re: Help Setting up KOS in Netbeans IDE

You need to source the environment script (usually called "environ.sh") to set up the various variables that the shell needs (including the aforementioned KOS_BASE). The easiest thing to do is to do so in your shell's startup file (which if you're using bash as your shell (I'm not sure what MSYS2 us...
by BlueCrab
Mon Oct 01, 2018 12:25 pm
Forum: Official Sylverant PSO Server Forum
Topic: PSO Questions & Answers
Replies: 548
Views: 44849

Re: PSO Questions & Answers

Drop rates are determined by the client unless you enable server-side drops (by way of a special command you have to run before creating the team). However, it is currently not possible to enable server-side drops on PSOGC due to a bug in the Sylverant code. So, all the drops in PSOGC are completely...
by BlueCrab
Tue Sep 25, 2018 1:58 pm
Forum: Programming Discussion
Topic: Trying a gcc 7 toolchain
Replies: 5
Views: 798

Re: Trying a gcc 7 toolchain

GCC's bugtracker has a lot of bugs marked as [6/7/8/9 Regression] for the SuperH target which have not been resolved. If I'm not mistaken, SWAT was using newer versions of GCC for building DreamShell, and has recently reverted back to a 5.x version because of issues with the newer versions. There's ...
by BlueCrab
Mon Sep 24, 2018 4:30 pm
Forum: Programming Discussion
Topic: Help Setting up KOS in Netbeans IDE
Replies: 12
Views: 194

Re: Help Setting up KOS in Netbeans IDE

Your next step would be to put together a simple Makefile that builds your code. Most people just take one of the ones from the KOS examples and just modify it to suit their needs. Then you'd build your program by going into its directory with MSYS2 and running the make program.
by BlueCrab
Mon Sep 24, 2018 10:32 am
Forum: Programming Discussion
Topic: Help Setting up KOS in Netbeans IDE
Replies: 12
Views: 194

Re: Help Setting up KOS in Netbeans IDE

lerabot wrote:
Mon Sep 24, 2018 9:10 am
If you switch to Ubuntu you could get VS Studio? I've just looked at NetBeans and it looks kinda like it.
I use Atom personnaly but I see that it might be a bit barebone for you.
Assuming you're talking about VS Code, that's available on Windows too.
by BlueCrab
Sun Sep 23, 2018 3:26 pm
Forum: Programming Discussion
Topic: Help Setting up KOS in Netbeans IDE
Replies: 12
Views: 194

Re: Help Setting up KOS in Netbeans IDE

Unfortunately, those setups were pretty darn old at this point.
by BlueCrab
Sun Sep 23, 2018 10:22 am
Forum: Programming Discussion
Topic: Help Setting up KOS in Netbeans IDE
Replies: 12
Views: 194

Re: Help Setting up KOS in Netbeans IDE

You could make it work, but you’re going to basically need to do one of the following: 1. Use a MSYS terminal to compile (or something similar like the Windows Subsystem for Linux). 2. Rewrite all the Makefiles for the things you’re compiling such that they don’t rely on the environment variables th...
by BlueCrab
Sun Sep 23, 2018 12:52 am
Forum: Programming Discussion
Topic: Help Setting up KOS in Netbeans IDE
Replies: 12
Views: 194

Re: Help Setting up KOS in Netbeans IDE

Unfortunately, the way KOS is setup, it really requires a UNIX-like environment unless you want to do a lot of tinkering to make it work. All of the Makefiles for the examples and such really need to be run in a POSIX-like shell, with a bunch of environment variables set.
by BlueCrab
Fri Sep 21, 2018 7:29 pm
Forum: Official Sylverant PSO Server Forum
Topic: Can’t add serial/access key for GameCube
Replies: 1
Views: 65

Re: Can’t add serial/access key for GameCube

PM me with a photo of the serial number/access key page or sticker, along with your username on the Sylverant website, and I'll fix it for you.
by BlueCrab
Fri Sep 21, 2018 11:18 am
Forum: Programming Discussion
Topic: GLdc - Call for testers!
Replies: 41
Views: 1625

Re: GLdc - Call for testers!

That will work just fine then. :)
by BlueCrab
Wed Sep 19, 2018 1:14 pm
Forum: Programming Discussion
Topic: Questions about Installing KOS
Replies: 14
Views: 298

Re: Questions about Installing KOS

KOS actually does have internal support multi-buffering with the framebuffer -- assuming you initialize the video hardware with one of the multi-buffer modes. If you call vid_flip(-1), it'll handle updating the vram_s/vram_l pointers and all of that for you (once again, assuming you initialized the ...
by BlueCrab
Mon Sep 17, 2018 10:40 pm
Forum: Official Sylverant PSO Server Forum
Topic: PSO Questions & Answers
Replies: 548
Views: 44849

Re: PSO Questions & Answers

Is it possible to patch the game to stack grinders and materials? Is it possible to do so at all? Probably (but it's possible that it might require a modified disc image). Is it something that is likely to be easy to do without a lot of extra work that I doubt anyone has the time/energy to do? Sadl...
by BlueCrab
Mon Sep 10, 2018 9:02 am
Forum: Programming Discussion
Topic: Advice for making a menu with dbgio
Replies: 4
Views: 121

Re: Advice for making a menu with dbgio

You don't want to use fb_console to do a menu like that, because it just ends up being more work than it's worth (and that's not what it was designed for). Writing strings directly to the framebuffer with the bfont_* functions is pretty easy, and that's basically all the fb_console stuff is doing an...
by BlueCrab
Thu Sep 06, 2018 6:51 am
Forum: Programming Discussion
Topic: VMU Save Icon palette
Replies: 2
Views: 91

Re: VMU Save Icon palette

Your palette (in that code block) is in the wrong byte ordering. Remember, the palette data is 16-bit quantities in little endian byte ordering, so the data should be in the form of 0xGB, 0xAR, 0xGB, 0xAR, ... if you want to use all 8-bit quantities to represent it. As it is, your entire icon (save ...
by BlueCrab
Tue Sep 04, 2018 11:58 pm
Forum: Official Sylverant PSO Server Forum
Topic: Question for GC
Replies: 2
Views: 95

Re: Question for GC

There is no fee to play on Sylverant at all. All you need is your copy of the game (with its serial number/access key), a console to play it on, and a way to connect that console online (so, your broadband adapter). However, you do need to register your serial number and access key on the Sylverant ...
by BlueCrab
Tue Sep 04, 2018 5:07 pm
Forum: Programming Discussion
Topic: reading the content of /rd
Replies: 9
Views: 192

Re: reading the content of /rd

I guess you're using a slightly older version of git? Anyhow, I've just pushed a new revision to remove that, so just update KOS and try again.
by BlueCrab
Tue Sep 04, 2018 7:28 am
Forum: Programming Discussion
Topic: reading the content of /rd
Replies: 9
Views: 192

Re: reading the content of /rd

That's... quite strange, since there's no copy into one of those structures anywhere -- the code is just overlaying that structure over the memory that the romdisk is present in. Unless GCC is doing something weird and short-circuiting the strlen() or strncasecmp() calls, that shouldn't happen. Just...
by BlueCrab
Mon Sep 03, 2018 11:48 am
Forum: Programming Discussion
Topic: reading the content of /rd
Replies: 9
Views: 192

Re: reading the content of /rd

You can only have 16 files actually open at a time on the romdisk. In order to change that limit, you would need to change that macro and recompile KOS. Mind you, there's usually not much of a reason to have more than 16 files actually open at one time, which is probably why that number was chosen. ...
by BlueCrab
Wed Aug 29, 2018 8:25 am
Forum: Programming Discussion
Topic: Request: MinGW/MSYS fixes submission in the official KOS repository?
Replies: 3
Views: 127

Re: Request: MinGW/MSYS fixes submission in the official KOS repository?

You can submit your changes for review in one of three ways: 1. Submit them as a merge request, following the instructions on the video on this page to do so: https://sourceforge.net/p/forge/documentation/Git/ 2. Submit a pull request on the official GitHub repository. 3. Submit a patch, following t...