Search found 191 matches

by SWAT
Thu Oct 10, 2013 3:04 am
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2618

Re: libfatfs - FAT16 & FAT32 for SD Cards

Then everything is OK. Thanks.
by SWAT
Wed Oct 09, 2013 10:39 pm
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2618

Re: libfatfs - FAT16 & FAT32 for SD Cards

Now it works fine! Good job. But I would not recommend anyone to use the cache of directory tree. In my experience, the most useful gives "cluster link map table" for an every opened file (not very small). You can see this feature (fast seek) in the library fatfs by ChaN . It's really impr...
by SWAT
Sun Oct 06, 2013 11:32 pm
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2618

Re: libfat2fs - FAT16 & FAT32 for SD Cards

I parse it all at once to create a Directory tree where the nodes are either files or folders. This makes it faster to access files and folders later on when you read and write. I did not stress test the function that parses a sd card will many sub directories. The function that parses directories ...
by SWAT
Fri Oct 04, 2013 1:04 am
Forum: Programming Discussion
Topic: libfatfs - FAT16 & FAT32 for SD Cards
Replies: 25
Views: 2618

Re: libfat2fs - FAT16 & FAT32 for SD Cards

Good job, but I have problems at mounting filesystem: FAT2FS Boot Sector: Boot JMP: eb:0:90 OEM Name: Bytes Per Sector: 512 Sectors Per Cluster: 64 Reserved Sector Count: 6288 Table Count: 2 Root Entry Count: 0 Total Sectors 16: 0 Media Type: f8 Table Size 16: 0 Sectors Per Track: 63 Head Side Count...
by SWAT
Thu Feb 02, 2012 4:03 am
Forum: Homebrew Software and Indie Games Discussion
Topic: DreamShell 4
Replies: 95
Views: 35767

Re: DreamShell 4

by SWAT
Tue Jan 17, 2012 12:55 am
Forum: Programming Discussion
Topic: Thread 'magic' is not correct!
Replies: 4
Views: 669

Re: Thread 'magic' is not correct!

I found a bug, memory is freed multiple times. Thanks for your help!
by SWAT
Mon Jan 16, 2012 9:36 pm
Forum: Programming Discussion
Topic: Thread 'magic' is not correct!
Replies: 4
Views: 669

Re: Thread 'magic' is not correct!

I see... Thanks!
I saw this file, just thought that the memory can be damaged.
This means that nothing bad happened, just the memory apparently freed 2 times instead of 1?
by SWAT
Mon Jan 16, 2012 9:06 am
Forum: Programming Discussion
Topic: Thread 'magic' is not correct!
Replies: 4
Views: 669

Thread 'magic' is not correct!

Hi! I have some errors at freeing memory, and not understand way this hapen. Thread 1/8c02943a freeing block @ 8c8e6038 'magic' is not correct! 8c8e6af8 Thread 1/8c029474 freeing block @ 8c8e6038 'magic' is not correct! 8c8e6af8 Thread 1/8c02943a freeing block @ 8c8e6038 'magic' is not correct! 8c8e...
by SWAT
Mon Nov 21, 2011 6:29 am
Forum: Programming Discussion
Topic: SCIF /res pin control
Replies: 4
Views: 638

Re: SCIF /res pin control

I cannot find info for /res pin in this doc, unless it is SCK2/MRESET.
by SWAT
Sun Nov 20, 2011 5:03 am
Forum: Programming Discussion
Topic: SCIF /res pin control
Replies: 4
Views: 638

Re: SCIF /res pin control

How this works? I cannot set low/high value to this pin? This input reset?
by SWAT
Sat Nov 19, 2011 9:32 am
Forum: Programming Discussion
Topic: SCIF /res pin control
Replies: 4
Views: 638

SCIF /res pin control

Hi all!
I can not find info for software control of the /res pin (num 9) in the serial port. Can anyone know? This is i/o or...?

DC SCIF Schematic:
Image
by SWAT
Tue Aug 23, 2011 12:19 am
Forum: Programming Discussion
Topic: DCLoad blue screen flash issue
Replies: 4
Views: 1005

Re: DCLoad blue screen flash issue

Maybe I'm a little out of topic I write, but still. I also connected DC through the router. Maybe this is the cause of all my troubles with the network :) KOS network stack does not work even if I prescribe the settings manually (in bba code) instead of flash ISP. DC hangs... lwip stack works, altho...
by SWAT
Sun Aug 07, 2011 11:14 pm
Forum: Programming Discussion
Topic: PVR YUV->UYVY Conversion
Replies: 22
Views: 5977

Re: PVR YUV->UYVY Conversion

I think yes.
by SWAT
Sat Aug 06, 2011 11:58 pm
Forum: Programming Discussion
Topic: PVR YUV->UYVY Conversion
Replies: 22
Views: 5977

Re: PVR YUV->UYVY Conversion

I'm not sure what this will work faster than if i packed in to YUV422 on C and sended by DMA complete texture :)
It turns out that the conversion YUV420p to YUV422 simpler than the division into macro blocks, and sends by one request to the DMA, in contrast to the converter...
by SWAT
Thu Aug 04, 2011 7:56 am
Forum: Homebrew Software and Indie Games Discussion
Topic: Dreamcast Media Center
Replies: 143
Views: 74595

Re: Dreamcast Media Center

On ARM7TDMI 25MHz mp3 and aac decoders with asm optimizations works fine (128 kbps). But this asm optimizations doesn't supported on ARM7DI :(
by SWAT
Thu Aug 04, 2011 7:33 am
Forum: Programming Discussion
Topic: PVR YUV->UYVY Conversion
Replies: 22
Views: 5977

Re: PVR YUV->UYVY Conversion

ffmpeg works partially, there is a problem with auto detect format, I think you have a problem in that.
And I had to replace it mpeg audio decoder, the one that was in the library did not work for DC.
by SWAT
Mon Aug 01, 2011 10:21 am
Forum: Homebrew Software and Indie Games Discussion
Topic: Dreamcast Media Center
Replies: 143
Views: 74595

Re: Dreamcast Media Center

Thanks!
How can I replace these instructions? Specifically SMLAL and STRH?
by SWAT
Sun Jul 31, 2011 11:02 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: Dreamcast Media Center
Replies: 143
Views: 74595

Re: Dreamcast Media Center

What is different ARM7TDMI and ARM7DI? T and M extensions? What is?
by SWAT
Fri Jul 29, 2011 4:16 am
Forum: Programming Discussion
Topic: PVR YUV->UYVY Conversion
Replies: 22
Views: 5977

Re: PVR YUV->UYVY Conversion

I also tried to use the YUV converter, but faced the same problem. I complement the information contained here. You do not have enough interrupt: #define ASIC_EVT_PVR_YUV_DONE 0x0006 static semaphore_t *yuv_done; static void asic_yuv_evt_handler(uint32 code) { sem_signal(yuv_done); } // initializati...
by SWAT
Thu May 26, 2011 11:22 am
Forum: Programming Discussion
Topic: Latest KOS network system
Replies: 17
Views: 2464

Re: Latest KOS network system

Unfortunately could not test everything today. But concluded that the error occurs at the start of data transmission. Initialization works successfully. Once a request comes in, everything freezes. In the next few days will try to learn more.