Welcome, Guest. Please login or register.

Author Topic: Minimig PIC firmware improvement?  (Read 1664 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline boing4000Topic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 222
    • Show only replies by boing4000
    • http://www.amigademo.de
Minimig PIC firmware improvement?
« on: May 10, 2008, 12:01:23 PM »
Hello,

due to the FAT16 limits it is only possible to store 231 entries in the root directory of the drive (SD/MMC Card). In Minimig case this means 229 adf files (or about 201MB) to store because minimig1.bin and kick.rom also have to be there.

This night (;-)) I was thinking about improving the PIC part by storing the adf files in a seperate \adf folder.
Inside a subfolder there can be stored much more files then in the root.

Unfortunately I am not able to do this by myself, because I dont know to program in C(++) and dont (yet) have a PIC program device.

Its only an idea to help :-)
Sascha
 

Offline BraindeaD

  • Newbie
  • *
  • Join Date: Apr 2008
  • Posts: 28
    • Show only replies by BraindeaD
Re: Minimig PIC firmware improvement?
« Reply #1 on: May 10, 2008, 12:41:45 PM »
Hi all!

@Boing4000:
I'm not sure, but I've read in someplace, that the FAT16 supports up to 512 files per folder.
Maybe someone could corect me, if I'm wrong.

Bye!

 

Offline boing4000Topic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 222
    • Show only replies by boing4000
    • http://www.amigademo.de
Re: Minimig PIC firmware improvement?
« Reply #2 on: May 10, 2008, 01:09:00 PM »
I also remember it different, but currently I can only store this 231 "things" in my FAT16 MMC and SD formated cards, any more shows "no more space left on device".
Even 512 entries are still not enough to fill a 1GB card with adf images. Right now I made a demos and games folder and move the adf files in root (\) to make them selectable in Minimigs OSD.

EDIT:
Just tried out with a Linux bash script to create (0 byte) files in a subfolder. Here it is possible to store more then enough entries!!
To be correct: 65534 files.
A bit advantage against the root directory!
 

Offline BraindeaD

  • Newbie
  • *
  • Join Date: Apr 2008
  • Posts: 28
    • Show only replies by BraindeaD
Re: Minimig PIC firmware improvement?
« Reply #3 on: May 10, 2008, 01:44:37 PM »
Hmmm... weird, I've tried to copy more files to my SD card (Kingston SD 1Gb, FAT16 format), and it only manages up to 233 files...
 

Offline Darrin

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 4430
    • Show only replies by Darrin
Re: Minimig PIC firmware improvement?
« Reply #4 on: May 10, 2008, 03:49:00 PM »
The solution is:  Several smaller SD cards!  ;-)

Seriously though, I have different folders on my 2GB SD card where I keep things like alternative Kickstarts, different cores, games that don't work, games that do work (but I don't want to play).

Having 200+ disks that you need instant access to is a bit of overkill.  Just use your PC to read the card and drag them around the folders as necessary.

Access to sub-folders would be nice though, just to be able to group multi-disk games together.

Roll on hard drive (hard file) support...
A2000, A3000, 2 x A1200T, A1200, A4000Tower & Mediator, CD32, VIC-20, C64, C128, C128D, PET 8032, Minimig & ARM, C-One, FPGA Arcade... and AmigaOne X1000.
 

Offline boing4000Topic starter

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 222
    • Show only replies by boing4000
    • http://www.amigademo.de
Re: Minimig PIC firmware improvement?
« Reply #5 on: May 10, 2008, 04:15:22 PM »
@Darrin
I did it until now, storing unused adf files in \games and \demos folder and just move the wanted adf files into root to use.
that will spare OSD scrolling and confusion a bit.
but in this case a PC is necessary to make all files accessible.
perhaps a directory browser can also be realised to make this more useful.