| |
Krill
Registered: Apr 2002 Posts: 2844 |
REL files
... are useless and a waste of DOS ROM space to the detriment of proper seeking in files.
Change my mind! =) |
|
| |
tlr
Registered: Sep 2003 Posts: 1714 |
REL files for all your database needs. :)
I think a lot of BBS software uses those for random access. Not sure about C*base but I've seen it.
Do you propose a different random access read/write format? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11116 |
C*base uses it for the userlog iirc. |
| |
Frantic
Registered: Mar 2003 Posts: 1627 |
Quote: C*base uses it for the userlog iirc.
Yes |
| |
macx
Registered: Mar 2002 Posts: 250 |
A REL-file has been used more than 5000 times the past year and a half from a c64 in my datadungeon by 210 different users. I.e. not useless.
Boar's Head Tavern | byob.hopto.org:64128 |
| |
Krill
Registered: Apr 2002 Posts: 2844 |
Y'all seem to have missed the "proper seeking in files" bit. =) |
| |
Frantic
Registered: Mar 2003 Posts: 1627 |
Are you suggesting to go back in time and change Commodore's implementation of REL files, to make it "proper"? (Well, obviously you do not suggest that, but you see my point.) |
| |
Krill
Registered: Apr 2002 Posts: 2844 |
I'm afraid i don't see your point.
I'm saying that with seeking in PRG/SEQ files, REL would be pretty much irrelevant, as seeking allows for much more flexible random access. |
| |
tlr
Registered: Sep 2003 Posts: 1714 |
Quoting KrillI'm saying that with seeking in PRG/SEQ files, REL would be pretty much irrelevant, as seeking allows for much more flexible random access.
It would I guess, but as there is no real underlying file system, the only support for something seeking-like is using REL files.
Now if the DOS ROM implemented ext4, REL files would be completely irrelevant. |
| |
Krill
Registered: Apr 2002 Posts: 2844 |
CBM DOS implements a real filesystem, of course.
And seeking is just a matter of following the block links and having some bookkeeping. :) |
| |
tlr
Registered: Sep 2003 Posts: 1714 |
Quoting KrillCBM DOS implements a real filesystem, of course.
Fair enough, but very crude. As you know it's central directory and singly linked list only.
Quoting KrillAnd seeking is just a matter of following the block links and having some bookkeeping. :)
Doable, although it consumes a bit of memory drive side. A file could potentially fill the whole disk. |
... 9 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |