Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

1581 partition utility

35 views
Skip to first unread message

Dave R.

unread,
Feb 22, 1999, 3:00:00 AM2/22/99
to
I'm looking for a utility to create partitions on my 1581 disks. I've found
plenty out there but none seem to offer what I'm looking for. I'd like
something the asks the size (in blocks, preferably) of the partition I want to
make, then finds space on the disk for it. If there isn't space for it, I'll
get an error. Otherwise, it'll handle the details of starting track, etc.

Is there such a beast out there?

::::: Dave Ross / Dr. Watson "Yesterday's technology
:: === wat...@mcs.com today...for a better
:: === tomorrow!"
::::: http://www.mcs.com/~watson

Gunther Richter

unread,
Feb 23, 1999, 3:00:00 AM2/23/99
to
Moin!

In article <7asn17$bog$1...@Nntp1.mcs.net>,


wat...@mcs.com (Dave R.) wrote:
> I'm looking for a utility to create partitions on my 1581 disks. I've found
> plenty out there but none seem to offer what I'm looking for. I'd like
> something the asks the size (in blocks, preferably) of the partition I want to
> make, then finds space on the disk for it. If there isn't space for it, I'll
> get an error. Otherwise, it'll handle the details of starting track, etc.

Doesn't seem to work. A 1581 partition must be one part on the disk. That's
why a partition cannot be larger than 40 tracks. A larger partition would
have to be splitted into two parts, separated by the directory track - and
this isn't allowed.

Ok, let's think of there's enough space in one part on the disk. What should
show the program how much space there is? The BAM? Think of manipulated BAMs.
The program should have to scan the disk. But depending on how the disk is
formatted even empty blocks are filled. Having such a tool would be fine but I
think there's nothing similar out there...

Munter bleiben... TRICHTEX

tric...@t-online.de

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

Andrew Vardy

unread,
Feb 24, 1999, 3:00:00 AM2/24/99
to
>
> In article <7asn17$bog$1...@Nntp1.mcs.net>,
> wat...@mcs.com (Dave R.) wrote:
> > I'm looking for a utility to create partitions on my 1581 disks. I've found
> > plenty out there but none seem to offer what I'm looking for. I'd like
> > something the asks the size (in blocks, preferably) of the partition I want to
> > make, then finds space on the disk for it. If there isn't space for it, I'll
> > get an error. Otherwise, it'll handle the details of starting track, etc.
>
> Doesn't seem to work. A 1581 partition must be one part on the disk. That's
> why a partition cannot be larger than 40 tracks. A larger partition would
> have to be splitted into two parts, separated by the directory track - and
> this isn't allowed.
>
> Ok, let's think of there's enough space in one part on the disk. What should
> show the program how much space there is? The BAM?

Yes, the program at:

http://www.funet.fi/pub/cbm/c64/diskutil/directory/index.html

Program listed at top does scan the BAM. Finds space on the
disk for the partition.

As for, if there isn't space, you get an error... well, almost! It
doesn't quite check the whole BAM. But close to it for most times!
It's in BASIC. I wouldn't want it to wait 10 seconds or somethin'
just to scan the flippin' BAM.

If it doesn't find space, I believe it just sets the partition to create
block size (PCBS) at 0 blocks. Something like that.

If it finds the space, it assigns the PCBS the largest block size
possible (given where it decides to put the partition on disk). So, if
you hit 5, you can create your partition right away! But I'd presume
that you may wish to adjust the block size yourself. And thus
note: the block size it gives is the maximum possible. So you can
adjust it below that value. As long as all parameters seem to your
liking, there is no need to adjust any of the other parameters, like
track, and all that low-level stuff.

Anyway, Dave, if it isn't up to your specs, just tell us what you
need.

Here are some more general tips on the topic. With these
subdirectories, it is indeed possible to delete the whole thing pretty
easily. If you want to avoid that, what you can do is you could lock
all your subdirectories. To avoid accidents. Though, perhaps not too
costly considering all undelete programs around. Here is a line you
could add to accomplish this (only if you have JiffyDOS). It will leave
you with all created subdirectories locked:

298 close15:@lpn$

That program has a whole screenful of text before the partition
create screen. A few paragraphs. This is in fact quite
unnecessary for users to read that. Thus, if you like, you could
just delete all the lines in the program that print this text. It only
had fair relevance before the BAM scan was added. For reference,
that's lines 202 thru 216. And a Gosub in the next line.

> Think of manipulated BAMs.

That's a joke right? :) Directory structure on any file system,
Commodore 8 bit, or pentium 586, would be impossible without an
intact file storage allocation system.

> The program should have to scan the disk. But depending on how the disk is
> formatted even empty blocks are filled. Having such a tool would be fine but I
> think there's nothing similar out there...

I don't know if there's any others, that work in both C64 and C128
mode.

Just write back if anything I've written above is unclear.

By the way, on the main menu, there is an option 5) referring to
CMD devices. For any users who don't own any CMD devices,
don't worry about it, means nothing to you.

Gunther Richter

unread,
Feb 25, 1999, 3:00:00 AM2/25/99
to
In article <7b207a$cmo$1...@coranto.ucs.mun.ca>,
ava...@morgan.ucs.mun.ca (Andrew Vardy) wrote:

> > Think of manipulated BAMs.
>
> That's a joke right? :) Directory structure on any file system,
> Commodore 8 bit, or pentium 586, would be impossible without an
> intact file storage allocation system.

There are some games on 1541 disks out there which use a trackloader. These
trackloaders don't care 'bout the BAM, they directly access the tracks where
they require program parts to load. Some of these games have a manipulated
BAM as kind of copy protection. They access the BAM for verifying if its
manipulated. The program is protected against copying with file copiers. With
a T/S editor you're able to manipulate the BAM but you shouldn't validate
after manipulating.

Ok, you surely don't want to create a partition on an original 1581 game disk
but if you want to, a BAM analysis wouldn't be enough...

Joseph Fenn

unread,
Feb 25, 1999, 3:00:00 AM2/25/99
to
Yes I went to that URL given at funet and got not only the
1581 partioner but another great disk tool that there is a need
for. Its a dir editor that works on the FD2000/4000 drives and
does permit seperator lines (usr) renaming files and bunch of
other stuff written by the same guy that wrote the dedit128v7
for cmd stuff. Grab it while your there at the funet site
at same time you grab the partitioner.
Joe (aka kilroy)


--
************************************
* jf...@lava.net *
* Ham KH6JF (since '37) *
* MARS (AARS) ABM6JF (since '40) *
* WW2 Vet ARMY SIGNAL CORPS *
************************************


Andrew Vardy

unread,
Feb 27, 1999, 3:00:00 AM2/27/99
to
Gunther Richter (tric...@my-dejanews.com) wrote:

> Ok, you surely don't want to create a partition on an original 1581 game disk

But you could copy an original 1541 game disk to a 1581 disk and create a
partition for it. In a very small few cases.

A dummy partition, such as would adjust the BAM according to '1541' content,
and allow you to still use the disk for other files, perhaps...

BTW, I can think of any original 1581 game disk.

0 new messages