| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
Warm Start messages of all devices.
There is somewhere a list of "warm start messages" of all existing devices?
I know these:
1541:
73, CBM DOS 2.6 1541, 00, 00
1581:
73, COPYRIGHT CBM DOS V10 1581, 00, 00
vice emulator filesystem driver:
73, VICE FS DRIVER V2.0, 00, 00
Anyone can help with more messages from other devices and emulators?
For eg: jiffyDOS, CCS, Power64, IDE64... |
|
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Help with more messages? What do you want to achieve with these? |
| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
Nothing really complex, i'm trying to interact as accurately as possible with the sub-dirs in various formats, from 1581 (partitions) to emulators-filesystems-drivers.
But to do it i need to identify the actual device quite carefully, but not so carefully as if i were writing a irq-loader... so no low-level interaction required.
Only to send right command to device (for eg: "/0:" for 1581 or "cd:" for IDE64).
That's all.
=) |
| |
Ejner
Registered: Oct 2012 Posts: 43 |
Looks like you'll just have to find one of each device type to find out yourself :-)
Here's one I haven't seen before:
http://www.ebay.de/itm/OC-118N-Commodore-Compatible-Floppy-Disk.. |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
This one is a fairly common 1541 clone, most of them coming with original 1541 firmware, but there are a few weird ones, too. |
| |
soci
Registered: Sep 2003 Posts: 480 |
That's the wrong approach. Just try the command and see what happens, then remember and use the one which worked. Some drives e.g. CMD-FD accepts either "/0:" or "CD:" depending on the actual filesystem type. |
| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
Thanks soci... this may be "the" solution...
Keep it simple!
=) |
| |
Tao
Registered: Aug 2002 Posts: 115 |
Don't forget that for instance CMD HD has both partition and subdirectory support. Oh, and also if I remember correctly there's some bugs in the subdirectory handling of the 1581. I don't remember the specifics though. Might've been related to REL-files. |
| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
Quoting Tao
Oh, and also if I remember correctly there's some bugs in the subdirectory handling of the 1581. I don't remember the specifics though. Might've been related to REL-files.
Thanks a lot. Any info about this or other know issues are wellcome! |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
To roughly detect drive types you can simply read the last 4 bytes of the drive ROM ($FFFC-$FFFF):
1541/1570/1571 will read the bytes $A0,$EA,$67,$FE.
1581 will read $24,$AF,$03,$FF
etc
Since these are the reset- and IRQ-vectors, they do not change on different DOS ROMs.
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Quote:Since these are the reset- and IRQ-vectors, they do not change on different DOS ROMs.
please explain. they are all the same in reality, but there is no reason for why they have to be, afaik. |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
Because usually to maintain compability etc, programmers of SpeedDOS, JiffyDOS etc etc did as little changes to the ROM as possible.
|
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Which breaks when you come across some of these weird ROMs where nothing is like in the original, or devices like MSD SD.. :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
"Because usually to maintain compability etc, programmers of SpeedDOS, JiffyDOS etc etc did as little changes to the ROM as possible."
ofcourse. but saying they are always the same is just an assumption based on that - and it will break in some cases as krill pointed out already. |