candle Posted July 17, 2011 Share Posted July 17, 2011 Hi I felt like putting this into separate thread currently there are fat32 handling related routines finnished, and i'm starting with some front-end implementation for now limits are like this: max 512 entries/directory (including "..") (mainly because of how much memory it consumes - 32 bytes per entry, 16k of memory total) max 30 chars of long file name is displayed - anything more than this is truncated - this doesn't pose any problem when doing opening such file or directory only 16 entries are displayed at once on screen - i'm currently using narrow screen for all this if all goes well, there will be more interactive version in a few hours 4 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 17, 2011 Share Posted July 17, 2011 Nice! Quote Link to comment Share on other sites More sharing options...
+rdemming Posted July 17, 2011 Share Posted July 17, 2011 Yeah, long file names Quote Link to comment Share on other sites More sharing options...
candle Posted July 18, 2011 Author Share Posted July 18, 2011 here is some WIP - still quite buggy (especially when it comes to changing directory) any feedback is welcom currently, only joystick is supported, later i'll add keyboard support fat32-side.xex fat32-myide.xex Quote Link to comment Share on other sites More sharing options...
candle Posted July 18, 2011 Author Share Posted July 18, 2011 ok, hopefully bugless version fat32-myide.xex fat32-side.xex Quote Link to comment Share on other sites More sharing options...
+Philsan Posted July 18, 2011 Share Posted July 18, 2011 Is there a chance to have SIO2SD fast files selection method? I like SIDE logo but perhaps it should be smaller to leave more space for files. Quote Link to comment Share on other sites More sharing options...
zaxon Posted July 18, 2011 Share Posted July 18, 2011 http://www.youtube.com/watch?v=nH4G45BAt8I Quote Link to comment Share on other sites More sharing options...
candle Posted July 18, 2011 Author Share Posted July 18, 2011 (edited) Philsan, it won't shrink by itself besides, having 16 entries per page simplifies some functions Edited July 18, 2011 by candle Quote Link to comment Share on other sites More sharing options...
+Philsan Posted July 18, 2011 Share Posted July 18, 2011 In zaxon video I see that with left/right you change pages and scroll is very quick. Therefore I think it's unnecessary to insert SIO2SD fast selection method. Your loader is already very fast! Quote Link to comment Share on other sites More sharing options...
candle Posted July 18, 2011 Author Share Posted July 18, 2011 as i wrote, i'll add some keyboard handling, but this is not my goal right now now its time to actually load something, and iron things a bit then will be the time for bells and whistlers Quote Link to comment Share on other sites More sharing options...
zaxon Posted July 18, 2011 Share Posted July 18, 2011 True Quote Link to comment Share on other sites More sharing options...
a8isa1 Posted July 18, 2011 Share Posted July 18, 2011 (edited) Cool project! I did a quick test in Altirra and then a slightly less quick patching of fat32-myide.xex so that it would work with an internal MyIDE interface. Not sure I partitioned my CF correctly but all I initally saw on my real 800XL is garbage. I guessed that your driver wasn't reading my partition table so I mirrored the FAT32 partition to a file (via dd) then wrote the raw data back to the CF. Now it works. I can see the file names on my CF card using my 800XL. This was a fun exercise! Please keep up the good work! -Steve Sheppard Edited July 18, 2011 by a8isa1 Quote Link to comment Share on other sites More sharing options...
candle Posted July 18, 2011 Author Share Posted July 18, 2011 if CF card comes formatted as floppy would (no MBR with partition table) then this loader will fail to find FAT32 partition - on my TODO list (rather long list i must say ) Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 20, 2011 Share Posted July 20, 2011 How do we get a container paritition (type $EF) to sit alongside a FAT32 partition on a CF card? I just created two MBR partitions (using special software) on a 2GB CF card: partition one of 512MB, type $EF, and partition 2 of 512MB, FAT32. I copied a bunch of XEX files to the FAT32 partition, but the XEX loader won't find them, since (I later discovered), the partitioning software put the FAT32 paritition inside an extended partition table. It did this because Windows won't allow two primary partitions on a removable device. This is very relevant to what I'm trying to do with the driver. What's the best way of getting two or more simple, primary partitions in an MBR table? Quote Link to comment Share on other sites More sharing options...
+remowilliams Posted July 20, 2011 Share Posted July 20, 2011 What's the best way of getting two or more simple, primary partitions in an MBR table? Linux? 1 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 20, 2011 Share Posted July 20, 2011 (edited) What's the best way of getting two or more simple, primary partitions in an MBR table? Linux? I was thinking of something I can accomplish in about five minutes. I think I'll boot into Mac OS X... EDIT: Well - that was every bit as useless as Windows. Edited July 20, 2011 by flashjazzcat Quote Link to comment Share on other sites More sharing options...
kurtm Posted July 20, 2011 Share Posted July 20, 2011 How do we get a container paritition (type $EF) to sit alongside a FAT32 partition on a CF card? I just created two MBR partitions (using special software) on a 2GB CF card: partition one of 512MB, type $EF, and partition 2 of 512MB, FAT32. I copied a bunch of XEX files to the FAT32 partition, but the XEX loader won't find them, since (I later discovered), the partitioning software put the FAT32 paritition inside an extended partition table. It did this because Windows won't allow two primary partitions on a removable device. This is very relevant to what I'm trying to do with the driver. What's the best way of getting two or more simple, primary partitions in an MBR table? You can't have two "bootable" partitions. You can do 2 primary partitions. And I even just tried it on my windows desktop to make sure I wasn't talking out of my ass I used a laptop hard drive connected via a USB dock. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 20, 2011 Share Posted July 20, 2011 (edited) You can't have two "bootable" partitions. You can do 2 primary partitions. And I even just tried it on my windows desktop to make sure I wasn't talking out of my ass I used a laptop hard drive connected via a USB dock. I don't want two bootable partitions (it makes no sense to do so). 2 primary partitions is what I'm after, but the cards don't seem to be falling right for me. Laptop hard drives connected via USB don't (AFAIK) have the removable media bit set in their hardware ID, so it's possible to partition them. Not so with USB drives and CF cards. Even the crappy third-party app I downloaded won't contravene Window's refusal to create two primary partitions. In any case, FDISK will write the MBR on the Atari without any of this fuss, but I wanted a sample table to compare it with. Edited July 20, 2011 by flashjazzcat Quote Link to comment Share on other sites More sharing options...
candle Posted July 20, 2011 Author Share Posted July 20, 2011 its 7:15pm and i'm still working on my work assigment - sorry guys on my todo for today is loader (that means its load something instead of display directory) and i'll add support for that damn extended partition Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 20, 2011 Share Posted July 20, 2011 Thanks! Note my previous comment: FDISK will write MBR with two primary partitions, but we also have to deal with the situation of a pre-partitioned card (in which case I'll simply populate an unused slot in the MBR table with the Atari partition). I guess this means FDISK should also observe the damned extended partitions... Quote Link to comment Share on other sites More sharing options...
kurtm Posted July 20, 2011 Share Posted July 20, 2011 I don't want two bootable partitions (it makes no sense to do so). 2 primary partitions is what I'm after, but the cards don't seem to be falling right for me. Laptop hard drives connected via USB don't (AFAIK) have the removable media bit set in their hardware ID, so it's possible to partition them. Not so with USB drives and CF cards. Even the crappy third-party app I downloaded won't contravene Window's refusal to create two primary partitions. In any case, FDISK will write the MBR on the Atari without any of this fuss, but I wanted a sample table to compare it with. I dug up a CF reader and found windows being much less compliant One thing you can try is a linux install disk (or live CD). I've found linux's fdisk (or cfdisk) to be helpful for similar situations in the past. Quote Link to comment Share on other sites More sharing options...
candle Posted July 20, 2011 Author Share Posted July 20, 2011 turn your IM on Quote Link to comment Share on other sites More sharing options...
+Stephen Posted July 20, 2011 Share Posted July 20, 2011 What's the best way of getting two or more simple, primary partitions in an MBR table? Linux? And for the remaining 95% of the users? Quote Link to comment Share on other sites More sharing options...
kurtm Posted July 20, 2011 Share Posted July 20, 2011 What's the best way of getting two or more simple, primary partitions in an MBR table? Linux? And for the remaining 95% of the users? OpenBSD 1 Quote Link to comment Share on other sites More sharing options...
candle Posted July 20, 2011 Author Share Posted July 20, 2011 What's the best way of getting two or more simple, primary partitions in an MBR table? Linux? And for the remaining 95% of the users? OpenBSD i wanted to write "Linux for dummies" but seriously, this is version with some bug fixes, and support for extended partition table fat32-myide.xex fat32-side.xex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.