It was always awkward to do low level disk stuff by basically "remoting" into the drive to execute code.
OPEN 1,8,15,"N:NEWDISK,01":CLOSE 1
was always a weird way to format a floppy...