whartung wrote:
I never really had an idea how it worked on the Commodore. I know (I think) that the disk was Device 8, but beyond that, I'm not sure how things like drivers and such were handled there. I don't even know if the Apple had anything close to what the Atari (or even the Commodore) had. Seems like it was just a bunch of well know addresses that it relied on, rather than a first class abstraction.
This scheme was based upon the IEEE-488 parallel bus (aka GPIB or HPIB) protocol, even in the case of the VIC-20, C-64, etc., and their serial buses. The host's "kernal" ROM contained low-level functions for accessing the peripherals and higher-level functionss for accessing files, which were addressed by file number, as is done in UNIX and Linux. In principal, the Commodore DOS was a vague copy of the way in which the DEC PDP series of minicomputers accessed their peripherals. I'm sure this was because Commodore did their cross-development on PDP-11s and later on, VAX 11/70s.