Search found 168 matches

by BB Hood
Wed Apr 03, 2019 8:16 pm
Forum: Programming Discussion
Topic: fopen fails to open files on CD sometimes
Replies: 2
Views: 213

Re: fopen fails to open files on CD sometimes

Solution from the discord:

Max files you can open from CD is 8
kos/kernel/arch/dreamcast/include/dc/fs_iso9660.h : #define MAX_ISO_FILES 8

Hey BlueCrab maybe we can bump up this value up to 16?
by BB Hood
Sat Mar 30, 2019 2:06 pm
Forum: Programming Discussion
Topic: GLdc 1.1 Released
Replies: 6
Views: 349

Re: GLdc 1.1 Released

Just stopping to say you're awesome 👏 😎
by BB Hood
Wed Oct 24, 2018 11:22 pm
Forum: Programming Discussion
Topic: [SOLVED] Cheap Shadows rendering issue
Replies: 6
Views: 1495

Re: [SOLVED] Cheap Shadows rendering issue

I see that nobody has discussed this and it is not included in the current KOS. BUMP

NOTE: I have not tested this and have no knowledge of modifier volumes.
by BB Hood
Sat Oct 13, 2018 2:22 pm
Forum: Programming Discussion
Topic: Wiki feedback
Replies: 102
Views: 19673

Re: Wiki feedback

I also noticed a lot of the tutorials have the following comment at the top when they don't have any GL stuff:

This uses Kazade's GLdc and some part of his NeHe example.
by BB Hood
Wed Sep 19, 2018 10:46 am
Forum: Programming Discussion
Topic: Questions about Installing KOS
Replies: 14
Views: 918

Re: Questions about Installing KOS

Its been a while for me as well and Im trying to get back into the game. There are two ways to draw stuff to the screen. Directly editing the frame buffer(vram) and using the PVR. Frame Buffering: You have to set it up it yourself: I know (at least) three ways to do/simulate double buffering Hardwar...
by BB Hood
Tue Sep 18, 2018 9:14 pm
Forum: Programming Discussion
Topic: GLdc - Call for testers!
Replies: 50
Views: 5614

Re: GLdc - Call for testers!

Awesome! So excited.
by BB Hood
Fri Aug 31, 2018 11:12 am
Forum: Programming Discussion
Topic: How can I make this faster?
Replies: 10
Views: 1091

Re: How can I make this faster?

This article is related and may help also:

http://dev.dcemulation.org/tutorials/me ... zation.htm
by BB Hood
Wed Nov 15, 2017 10:50 am
Forum: Programming Discussion
Topic: Want a coder's cable (DC serial to DB9) ?
Replies: 10
Views: 1820

Re: Want a coder's cable (DC serial to DB9) ?

I think BlueCrab means that solder the board internally and not actually create a plug for the serial port. Man... I wish I could solder and know its ins and outs.
by BB Hood
Fri Nov 10, 2017 9:19 pm
Forum: Programming Discussion
Topic: Mac OSX dc serial not detecting
Replies: 7
Views: 903

Re: Mac OSX dc serial not detecting

For some reason the output gets to "Console Enabled" when I try and change the baudrate. It's fine though.

This is what I ran in the terminal:

dc-tool -t /dev/cu.usbserial -b 115200 -e -x dcp.bin
by BB Hood
Tue Nov 07, 2017 11:59 pm
Forum: Programming Discussion
Topic: Mac OSX dc serial not detecting
Replies: 7
Views: 903

Re: Mac OSX dc serial not detecting

Got it to work! I bought https://smile.amazon.com/gp/product/B00IDSM6BW/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 (Sabrent USB 2.0 to Serial (9-Pin) DB-9 RS-232 Converter Cable, Prolific Chipset, Hexnuts, [Windows 10/8.1/8/7/VISTA/XP, Mac OS X 10.6 and Above] 2.5 Feet (CB-DB9P)) usb to serial cabl...
by BB Hood
Fri Nov 03, 2017 6:27 pm
Forum: Programming Discussion
Topic: Mac OSX dc serial not detecting
Replies: 7
Views: 903

Re: Mac OSX dc serial not detecting

Thanks again BlueCrab. I tried installing all of those drivers with no luck. In the 2+ years of owning a Mac I have never had to manually install a driver so now I know. I sent the seller on amazon a question hoping that they will respond but I think I will have to buy usb to serial adaptor that act...
by BB Hood
Mon Oct 30, 2017 9:50 pm
Forum: Programming Discussion
Topic: Mac OSX dc serial not detecting
Replies: 7
Views: 903

Mac OSX dc serial not detecting

The only dc development I have done in the past is on Windows. Now I want to develop on my Mac. After pulling out the old coder's cable and recompiling dc-serial(host and client) from here: https://sourceforge.net/p/cadcdev/dcload-serial/ci/master/tree/ I reached a block. Macbook Pros don't have ser...
by BB Hood
Fri Oct 27, 2017 3:23 am
Forum: Front Page News and Forum Guidelines
Topic: Intrepid Izzy Kickstarter launched!
Replies: 22
Views: 6598

Re: Intrepid Izzy Kickstarter launched!

Congrats on the successful Kickstarter! Looking forward to the game.
by BB Hood
Tue Sep 26, 2017 1:46 am
Forum: Programming Discussion
Topic: Compile error using C11 Standard Libraries
Replies: 2
Views: 434

Re: Compile error using C11 Standard Libraries

Thank you so much. It worked :) :)
by BB Hood
Mon Sep 25, 2017 1:02 am
Forum: Programming Discussion
Topic: Compile error using C11 Standard Libraries
Replies: 2
Views: 434

Compile error using C11 Standard Libraries

I'm trying to play around with the C++11 standard Libraries and Im getting a compile error I don't know how to fix. My source: main.cpp #include <kos.h> #include <time.h> #include <mutex> extern uint8 romdisk[]; KOS_INIT_ROMDISK(romdisk); int main(int argc, char **argv) { pvr_init_params_t pvrInit =...
by BB Hood
Mon Sep 18, 2017 5:35 pm
Forum: /dev/null
Topic: This is topic 66666 on the forum.
Replies: 5
Views: 613

Re: This is topic 66666 on the forum.

Wouldn't be the first 66666 topic (I dont think). Looking at the url: t=104434. It looks like it is the 104434th created topic. A lot of topics got lost/deleted along the way?
by BB Hood
Wed Oct 23, 2013 3:33 pm
Forum: Programming Discussion
Topic: Questions about PVR ...
Replies: 4
Views: 633

Re: Questions about PVR ...

Z Value: http://en.wikipedia.org/wiki/Z-buffering Basically helps arrange the order you want to draw things. Things could have the same x,y coordinates but z coordinate will tell you what to draw last (on top). oargb: I dont know, not many people use from what I understand. Clear the screen: This mi...
by BB Hood
Tue Oct 22, 2013 6:44 am
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2021

Re: libfatfs - FAT16 & FAT32 for SD Cards

They are two different bugs. Your bug had to deal with me not taking into account the "higher" bits of the starting cluster for each file/folder. I first started out with getting my library to work with only FAT16 so I didn't have to worry or think about it. For example this is the struct representi...
by BB Hood
Tue Oct 22, 2013 1:23 am
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2021

Re: libfatfs - FAT16 & FAT32 for SD Cards

Okay I updated the library. Found the bug that was causing problems for you SWAT and fixed it. It had to do with not getting the right start cluster of the file/folder. I *also* had to take out the cluster list because when you open a large file(780 mb)... the cluster list takes up too much memory a...
by BB Hood
Wed Oct 16, 2013 3:58 am
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2021

Re: libfatfs - FAT16 & FAT32 for SD Cards

Alright :? Well I will keep trying to figure out the bugs and use that library you provided as a reference to make mines faster. Use FatFs by ChaN in the mean time.