Made an attempt at this 6 years ago. Got it working for the most part. Here is the archived repo: https://github.com/andressbarajas/libfatfs
Feel free to use anything from it.
Search found 189 matches
- Fri Aug 09, 2019 1:38 am
- Forum: Programming Discussion
- Topic: Announcing libkosfat
- Replies: 10
- Views: 1137
- Wed Apr 03, 2019 8:16 pm
- Forum: Programming Discussion
- Topic: fopen fails to open files on CD sometimes
- Replies: 2
- Views: 603
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?
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?
- Sat Mar 30, 2019 2:06 pm
- Forum: Programming Discussion
- Topic: GLdc 1.1 Released
- Replies: 6
- Views: 1229
Re: GLdc 1.1 Released
Just stopping to say you're awesome
- Wed Oct 24, 2018 11:22 pm
- Forum: Programming Discussion
- Topic: [SOLVED] Cheap Shadows rendering issue
- Replies: 6
- Views: 2456
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.
NOTE: I have not tested this and have no knowledge of modifier volumes.
- Sat Oct 13, 2018 2:22 pm
- Forum: Programming Discussion
- Topic: Wiki feedback
- Replies: 102
- Views: 76145
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.
This uses Kazade's GLdc and some part of his NeHe example.
- Wed Sep 19, 2018 10:46 am
- Forum: Programming Discussion
- Topic: Questions about Installing KOS
- Replies: 14
- Views: 2416
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...
- Tue Sep 18, 2018 9:14 pm
- Forum: Programming Discussion
- Topic: GLdc - Call for testers!
- Replies: 50
- Views: 10017
Re: GLdc - Call for testers!
Awesome! So excited.
- Fri Aug 31, 2018 11:12 am
- Forum: Programming Discussion
- Topic: How can I make this faster?
- Replies: 10
- Views: 2181
- Wed Nov 15, 2017 10:50 am
- Forum: Programming Discussion
- Topic: Want a coder's cable (DC serial to DB9) ?
- Replies: 10
- Views: 2499
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.
- Fri Nov 10, 2017 9:19 pm
- Forum: Programming Discussion
- Topic: Mac OSX dc serial not detecting
- Replies: 7
- Views: 1308
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
This is what I ran in the terminal:
dc-tool -t /dev/cu.usbserial -b 115200 -e -x dcp.bin
- Tue Nov 07, 2017 11:59 pm
- Forum: Programming Discussion
- Topic: Mac OSX dc serial not detecting
- Replies: 7
- Views: 1308
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 ...
- Fri Nov 03, 2017 6:27 pm
- Forum: Programming Discussion
- Topic: Mac OSX dc serial not detecting
- Replies: 7
- Views: 1308
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...
- Mon Oct 30, 2017 9:50 pm
- Forum: Programming Discussion
- Topic: Mac OSX dc serial not detecting
- Replies: 7
- Views: 1308
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...
- Fri Oct 27, 2017 3:23 am
- Forum: Front Page News and Forum Guidelines
- Topic: Intrepid Izzy Kickstarter launched!
- Replies: 22
- Views: 15033
Re: Intrepid Izzy Kickstarter launched!
Congrats on the successful Kickstarter! Looking forward to the game.
- Tue Sep 26, 2017 1:46 am
- Forum: Programming Discussion
- Topic: Compile error using C11 Standard Libraries
- Replies: 2
- Views: 562
Re: Compile error using C11 Standard Libraries
Thank you so much. It worked
- Mon Sep 25, 2017 1:02 am
- Forum: Programming Discussion
- Topic: Compile error using C11 Standard Libraries
- Replies: 2
- Views: 562
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 =...
- Mon Sep 18, 2017 5:35 pm
- Forum: /dev/null
- Topic: This is topic 66666 on the forum.
- Replies: 5
- Views: 990
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?
- Wed Oct 23, 2013 3:33 pm
- Forum: Programming Discussion
- Topic: Questions about PVR ...
- Replies: 4
- Views: 749
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...
- Tue Oct 22, 2013 6:44 am
- Forum: Programming Discussion
- Topic: libfatfs - FAT16 & FAT32 for SD Cards
- Replies: 25
- Views: 2678
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 ...
- Tue Oct 22, 2013 1:23 am
- Forum: Programming Discussion
- Topic: libfatfs - FAT16 & FAT32 for SD Cards
- Replies: 25
- Views: 2678
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...