From Newsgroup: comp.sys.cbm
Yeah,
The format to format a disk (NEW) is...
OPEN15,device#,15,"N0:NAME,ID":CLOSE15 or
OPEN15,device#,15:PRINT#15,"N0:NAME,ID":CLOSE15
device# can be any disk drive number (8 to 11)
NAME can be any name upto 16 characters
ID can be upto 2 characters
This can be used in direct mode (BASIC) or program mode
If program mode, you could do the following
10 OPEN15,8,15,"N0:NAME,ID":INPUT#15,E,E$,ET,ES:CLOSE15:PRINTE;E$;ET;ES
This will format a disk and check the error channel for the status.
"Matthew Montchalin" <
mmontcha@OregonVOS.net> wrote in message news:
Pine.LNX.4.44.0307052322100.17072-100000@lab.oregonvos.net...
On 6 Jul 2003, LIONHEAR wrote:
|Tea I'm right here in lorain, just getting back to the 64. I've been
|away from it for awhile and I have a stupid question. WHat is the exact |commands for formatting a disk. i know part of it open 15,8,15. Could
|you help me outwith an example.
10 open15,8,15,"n0:test"+chr$(44)+chr$(34)+chr$(33)
For investigative purposes, try replacing the parenthesized '33'
with other numbers like '20' or '148' and see what you get.
--- Synchronet 3.18b-Win32 NewsLink 1.113