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


Forums > C64 Coding > Reading the directory - raw mode
2018-10-08 19:20
JackAsser

Registered: Jun 2002
Posts: 1458
Reading the directory - raw mode

I might have dreamt it but.. I distinctively remember being able to control ”output mode” from the regular reading $ command. I’d rather not parse quoted strings and what not and I’d rather not read raw sectors.

I remeber being able to change output format..
 
... 14 posts hidden. Click here to view all posts....
 
2018-10-09 08:31
oziphantom

Registered: Oct 2014
Posts: 227
The drive does it, the Kernal does nothing. I wasn't until the 128 that they actually told this stuff in the normal manual. The Drive's KERNAL is actually quite nice, feature packed.. just nobody ever uses it.

The 128 has some really nice stuff in its BASIC commands.

RUN"* loads and runs the first file on the disk ;)
DIRECTORY <filter here> shows the directory with the filter and doesn't destroy BASIC ;)

I really need to get on with my Super Kernal Idea so I can port this stuff back down the C64...
2018-10-09 08:43
Krill

Registered: Apr 2002
Posts: 1063
Quoting oziphantom
The Drive's KERNAL is actually quite nice, feature packed.. just nobody ever uses it.
The ROM OS is as big as the computer's KERNAL and BASIC combined, and packs quite some functionality indeed. But it's just too slow in most of what it does, and that dwarfs all the goodness. :)
2018-10-09 08:47
Krill

Registered: Apr 2002
Posts: 1063
One of my favourite obscure functions is the utility loader, which would load specially-named and -typed files ("&:*" USR files, IIRC) to drive RAM and execute them, and it even comes with an actual checksum and not just EORed parity.
2018-10-09 09:23
oziphantom

Registered: Oct 2014
Posts: 227
doesn't your loader load your custom code form the disk and then upload back to the drive from the C64?
2018-10-09 12:06
Krill

Registered: Apr 2002
Posts: 1063
Yes, it does. Might sound a little roundabout to load a file from disk only to send code back to the drive, but the loader needs to execute code on all connected drives, not just the primary one with an inserted disk. And also it needs to detect drive models and modify the code a little here and there accordingly. Plus having one or many weird files plainly visible in the directory isn't what most users want.
2018-10-09 17:05
tlr

Registered: Sep 2003
Posts: 1188
Dutch Breeze uses the utility loader IIRC.
2018-10-10 16:49
Krill

Registered: Apr 2002
Posts: 1063
Quoting tlr
Dutch Breeze uses the utility loader IIRC.
Interesting. And they encrypted the code. Guess somebody was very proud of his IRQ loader and guarding its secrets closely. Wasn't Dutch Breeze one of the first demos to load in the background?

I've first come across the utility loader with North & South. Probably, other Infragrames titles used it and the same loader as well.
2018-10-10 17:11
dano

Registered: Jul 2004
Posts: 153
Road to Excess had a IRQ-Loaderpart aswell. Not sure if this was the first.

That typical IRQ Loader from back in the days was it from G.I. Joe? The one with the $CC00 and $CF00 calls iirc?

What's a utility loader btw?
2018-10-10 17:37
tlr

Registered: Sep 2003
Posts: 1188
Dutch breeze may have been an early loading in the background demo while doing something really meaningful.
Demos like this existed before, e.g AB which I helped integrate the above mentioned GI-Joe loader into.
Gergamygg III is using it during demo parts.
Non-demo uses as emulating the tape loading in this crack: Rambo: First Blood Part II were much earlier.
2018-10-11 12:03
Krill

Registered: Apr 2002
Posts: 1063
Quoting dano
What's a utility loader btw?
It's a rarely-used obscure feature of the drive's ROM OS. More information in these classic comp.sys.cbm posts: https://groups.google.com/forum/#!searchin/comp.sys.cbm/|sort:d..
Previous - 1 | 2 | 3 - 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
Broti/DT/KRN
Dymo/G★P
cadaver/covertbitops
xIII/ATL/WOW
cop/faces
bugjam
hedning/G★P
Zoolon/AC64SID
diabolus
Pushead/Hokuto Force
Mason/Unicess
iceout/Avatar
Sentinel/Excess
Marvin
Guests online: 41
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.6)
5 The Shores of Reflec..  (9.6)
6 Wonderland XII  (9.6)
7 Lunatico  (9.6)
8 We Come in Peace  (9.6)
9 Incoherent Nightmare  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.6)
2 Daah, Those Acid Pil..  (9.6)
3 Arok 20 Invitation  (9.6)
4 Merry Xmas 2017  (9.5)
5 Pandemoniac Part 2 o..  (9.5)
6 Party Horse  (9.4)
7 Dawnfall V1.1  (9.4)
8 In Memoriam BHF  (9.4)
9 Dawnfall  (9.4)
10 Synthesis  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 Crest  (9.3)
Top Cover Designers
1 Duce  (9.8)
2 Electric  (9.8)
3 Junkie  (9.6)
4 The Elegance  (9.4)
5 Cuc  (9.2)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.052 sec.