Jump to content
IGNORED

Dumb Question OTD: Preparing CF Media for APT Partitions


DrVenkman

Recommended Posts

So I know I've done this before but it's been a couple years and I can't for the life of me remember how I did it, and worse, a search of the forum just brings up a mishmash of confused questions, off-topic asides and answers I don't quite grok.

 

In any event, I've dug up another old Sandisk CF card I found around the house and I'd like to allocate about half of it to FAT32 for the Loader (.ATR and .XEX files), and I'd like to allocate the rest to use as hard disk partitions with SpartaDOS X.

 

I tried putting the card into a PC card reader and formatting half of it as FAT32, and those files do show up in the Loader. But when I boot to SDX in my SIDE2 cart and type the FDISK command, I get an error that tells me, "Error Loading FDISK0.OVL"

 

I'm using SDX version 4.49c on both my SIDE2 cart, if it makes a difference.

 

So ... what am I doing wrong? And answer, please, as if speaking to a mildly-challenged 10 year old. :)

 

Thanks!

Link to comment
Share on other sites

FDISK is supposedly built into the latest SDX ROMs, so the easiest way to fix it is to grab an update. The OVL files are either missing or don't have the hidden attribute set.

 

Easiest way to set up the card is to run FDISK, pick "Initialise", split the card between FAT and APT, add some APT partitions, then format the FAT on the PC.

Link to comment
Share on other sites

FDISK is supposedly built into the latest SDX ROMs, so the easiest way to fix it is to grab an update. The OVL files are either missing or don't have the hidden attribute set.

 

Easiest way to set up the card is to run FDISK, pick "Initialise", split the card between FAT and APT, add some APT partitions, then format the FAT on the PC.

 

Hmm, that's what I'm trying. I guess the 4.49c beta is borked. I'll flash my SIDE2 back to the 4.48 release version and see if that works.

Link to comment
Share on other sites

I was planning to revisit 4.49 as I've had a number of issues... I rolled back to 4.47, but that didn't handle pass through 100%.... some of the 4.49 issues were addressed but I'm not sure he rolled any changes to the server, had issues with SpartaDos I/O within the flasher, some of that was addressed and became work-able, I didn't have a need to FDISK but I'll take a peek and see tonight

Link to comment
Share on other sites

Got it sorted out. :)

 

So here's what I did. Before I posted, I had tried running FDISK from the 4.49c beta, which I had previously flashed to my SIDE2 cart (and my U1MB but that's irrelevant to this discussion). With SDX disabled in my U1MB (of course) but booting to SDX on the SIDE2, I get the error I mentioned above related to the "HIDDEN" attribute not being set. Trying to run FDISK from Jon's APT Toolkit .ATR gave me an error as well, though I neglected to write down the details I'm sorry to say.

 

​However, after flashing my SIDE2 back to SDX version 4.48, I found that FDISK is *not* included in that version. However, running FDISK from Jon's APT Toolkit worked great. This ancient 512MB Sandisk Ultra card now has 4 APT partitions of 50-odd megabytes each, and 256MB set aside for a FAT32 partition for the loader. This disk will "live" in the SIDE2 cart in my 1200XL eventually. My usual 8GB Sandisk Ultra will now be free to move to my 1088XEL once that build is finished.

  • Like 1
Link to comment
Share on other sites

Don't forget that CAR: is first in the PATH, so even with the toolkit ATR on drive 1, the incomplete FDISK on CAR: will still try to run unless you include the drive specifier.

 

I think I tried it that way but at this point I'm not sure if I did. But thanks very much for that reminder. :)

Link to comment
Share on other sites

Isn't an APT partition limited to 32MB? Or can you technically make larger partitions even though SDX is limited to 32MB.

 

APT partitions can conceivably be 128GB in size, although - as you say - SDFS will only see the first 32MB. In fact I never attempted to format a partition larger than 32MB from the SDX formatter, so I'm not entirely sure how it would react.

 

One way to use much larger partitions is via the aforementioned "external" partitions: APT entries which are actually links to FATs outside of the APT. When the SDX FAT drivers are R/W, this will be a great way to move data back and forth between the A8 and the PC.

  • Like 1
Link to comment
Share on other sites

Don't forget that CAR: is first in the PATH, so even with the toolkit ATR on drive 1, the incomplete FDISK on CAR: will still try to run unless you include the drive specifier.

So following up on this: I reflashed my SIDE2 to SDX 4.49c and tried again. Even with the drive spec, it fails to run FDISK from the APT Tools .atr with the error about the .OVL file. Like it’s just ignoring the drive spec in front of the command. Tried D1:FDISK with and without the extension.

 

VERY weird.

Link to comment
Share on other sites

Not so weird, but my bad for not telling you that you need to specify the path as well. So A:>FDISK.COM will load the partition editor from drive 1. This is just the way SDX works. You can fix the SDX ROMs by setting the hidden attributes on the three FDISK*.OVL files. The native SDX OVL files on CAR: all have the hidden attribute set (to avoid cluttering up the directory listing, I guess) and I merely followed suit, but it caused more trouble than it was worth by the looks of it. :)

  • Like 1
Link to comment
Share on other sites

are those files in the user area? I don't remember, if they are it's cake for everyone... if they are not... then it's out of reach for the common user. Anybody wanna supply the the tools to mess with the main area to the common folk? :) Just speaking out of hand as I don't remember and won't be in front of this for a bit.

Link to comment
Share on other sites

To that end, can someone explain how to set or change attributes of files in the CAR: device? Do I need to modify the .ROM image on my computer with a specific tool and then reflash the SIDE2 with the modified .ROM file?

First, download the imaging tool ("SDX Imager") here:

 

http://sdx.atari8.info/index.php?show=en_addons

 

Then open the ROM image in the tool, and set the +H attribute on the three OVL files. Save and flash.

  • Like 4
Link to comment
Share on other sites

I meant to follow up with this yesterday and totally forgot in the midst of the weekend activities, but I successfully corrected the three OVL files in the SDX 4.49c rom image, then flashed it to both my 1200XL and today my 1088XEL. I verified FDISK now loads and runs as expected.

 

Thanks again, Jon!

 

(And I hope the SDX guys see this and get it fixed for the next release of SDX!)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...