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 > File order on disk
2009-05-11 10:18
Mix256
Account closed

Registered: Dec 2008
Posts: 26
File order on disk

Hiya!

So, I got an app that removes and creates a file to disk (using kernal, $ffd8).
But where on the disk this file is listed afterwards seems totally random. Is it just me or is it like that?
In vice is seems to keep the position where it was. In ccs it jumps up and down. And the times I've tried it on real hw (/w 1541) it appears at the top.

The problem is that I want the main-app to appear at the top so a load"*",8,1 always loads it, and never this created file.

Any docs anywhere on this?

Thanks!
-mikael
 
... 10 posts hidden. Click here to view all posts....
 
2009-05-13 18:32
Steppe

Registered: Jan 2002
Posts: 1510
* loads the last accessed file. Only on a fresh boot it loads the first one.
2009-05-13 19:10
iAN CooG

Registered: May 2002
Posts: 3197
Quote: * loads the last accessed file. Only on a fresh boot it loads the first one.

load":*",8,1 and you're sure.
2009-05-13 20:44
Krill

Registered: Apr 2002
Posts: 2980
I urge you to copy all revelant files to a clean disk before releasing, otherwise you'll have superfluous garbage on the disk. Similar for your binaries, we have seen releases with chunks of source code and other remnants often enough.
2009-05-14 00:23
A Life in Hell
Account closed

Registered: May 2002
Posts: 204
Quote: I urge you to copy all revelant files to a clean disk before releasing, otherwise you'll have superfluous garbage on the disk. Similar for your binaries, we have seen releases with chunks of source code and other remnants often enough.

i like seeing those things. it's like computer archeology...
2009-05-14 03:10
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
does anyone write messages in the bam of d64's ?
that's how the oldest crackers got in contact..
2009-05-14 09:39
Mix256
Account closed

Registered: Dec 2008
Posts: 26
Thank you Steppe. The gamestate file was the last accessed one after my resets, no wonder it loaded it.
And thank you iAN, didn't know that either.

So all, in all, I never had a problem...just user error on my side and some strange behaviour in ccs64.

I just need to rtfm a bit closer in the future.

Thanks all!

ps. so, with this bug out of the window, it's time for you to preorder ;)
http://www.binaryzone.org/retrostore/
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
psenough
Fred/Channel 4
wacek/arise
Sillicon/Unreal
/Panor..
BYB/Hokuto Force
Guests online: 130
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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