Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > REL files
2022-08-26 10:00
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! =)
2022-08-26 10:37
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?
2022-08-26 11:07
chatGPZ

Registered: Dec 2001
Posts: 11116
C*base uses it for the userlog iirc.
2022-08-26 15:54
Frantic

Registered: Mar 2003
Posts: 1627
Quote: C*base uses it for the userlog iirc.

Yes
2022-08-26 16:34
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
2022-08-26 16:49
Krill

Registered: Apr 2002
Posts: 2844
Y'all seem to have missed the "proper seeking in files" bit. =)
2022-08-26 16:52
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.)
2022-08-26 17:01
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.
2022-08-26 17:38
tlr

Registered: Sep 2003
Posts: 1714
Quoting Krill
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.

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.
2022-08-26 17:54
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. :)
2022-08-26 18:01
tlr

Registered: Sep 2003
Posts: 1714
Quoting Krill
CBM 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 Krill
And 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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Codey/Second Dimension
csabanw
CA$H/TRiAD
Low Spirit
HCL/Booze Design
CreaMD/React
LordCrass
Guests online: 134
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Black Beard  (9.5)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.046 sec.