• Please review our updated Terms and Rules here

CBM DOS

Gary C

Veteran Member
Joined
May 26, 2018
Messages
2,304
Location
Lancashire, UK
Does anyone have a list of the DOS commands in hex ?

To clarify, I know the secondary address of load is F0 and save is F1 and can process them fine in my emulator, but CBM Command gets the drive identity, dos version etc when its checking what drives are available and my emulator doesn't respond and I can't then copy between drives.

I think it uses FF as the command and I want to replicate it in my emulator but struggling to find a manual that lists all the F# secondary address commands DOS understands and their structures.

I can just read the string of data when its talking to device 8 of course, but would like to understand it too.
 
AH, I think I see what CBM COMMAND is doing when its checking for disks

It opens a command channel with Open 15,8,15 then reads from file 15, if it gets >1 it performs a soft reset by Print#15,"ui",2 then reads back which should give it 'error' 73 "CBM DOS 2.5 8050" message which is in the output buffer on a disk reset.

I think
 
Yep

The program

10 open 15,8,15
20 print#15,"UI",2
30 print A,B$,C,D

gives me

73 CBM DOS V2.5 8050 0

Which is what CBM Command is showing when its looking for drives. Just need to make my emulator respond in kind to the error channel query.
 
Back
Top