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 > AR/RR check & DIR-routy
2003-02-21 15:27
QuasaR

Registered: Dec 2001
Posts: 145
AR/RR check & DIR-routy

Hi there!
Is there any posibility to check if there's a AR/RR plugged into the C64? And how can I use the directory-routine of the AR in my own proggies?
2003-02-21 23:06
Stryyker

Registered: Dec 2001
Posts: 468
You could try reading from IO space $df00-$dfff and try to make sense of it. I have no idea how you would know where the dir routines are in the ROM though with all the different versions.

There is some docs ar rr.c64.org with how to access the ROM stuffs, maybe map it in to $8000 etc. like * command (I think) does and use the ROM header to determine versions.

I can't remember if the AR routines can use $:S* to get only files starting with S. I'd prefer to write my own where I have control over this sort of stuff. It isn't that hard.
2003-02-22 10:28
Rough
Account closed

Registered: Feb 2002
Posts: 1829
Quote: You could try reading from IO space $df00-$dfff and try to make sense of it. I have no idea how you would know where the dir routines are in the ROM though with all the different versions.

There is some docs ar rr.c64.org with how to access the ROM stuffs, maybe map it in to $8000 etc. like * command (I think) does and use the ROM header to determine versions.

I can't remember if the AR routines can use $:S* to get only files starting with S. I'd prefer to write my own where I have control over this sort of stuff. It isn't that hard.


$:$*

it does.
2003-02-22 22:33
Stryyker

Registered: Dec 2001
Posts: 468
I managed to test on my NTSC AR6 (Fastloader 5.0) and all $:wildcard ideas all get entire directory. I recommend using some filename entry routine then fix it to some standard dir display routine. It doesn't use much memory and allows people to do more advanced stuff.
2004-05-15 02:26
Count Zero

Registered: Jan 2003
Posts: 1932
Right, check rr.c64.org, the appendices of the manual for details.

Also true that wildcard support is not really supported by AR/RR yet .. the drive code in there is so messed up ... sigh ... :)

l8r

Count Zero/CyberpunX/SCS*TRC
2004-05-15 12:39
Graham
Account closed

Registered: Dec 2002
Posts: 990
coding a dir routine is really easy, and also wildcards is easy. why use AR/RR calls for that in your own program?
2004-05-17 17:00
Krill

Registered: Apr 2002
Posts: 2980
quasar: maybe you would like to have a fast dir routine that you can even run while playing music in the irq. check fixup#$00 for sources.
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
MCM/ONSLAUGHT
DnP
wil
v3nt0r/ibex-crew
visionvortex
Guests online: 120
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (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 NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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