C64Lib.Core.Job1541.FormatTrack C# (CSharp) Method

FormatTrack() public method

public FormatTrack ( ) : void
return void
        public void FormatTrack()
        {
            //int track = ram[0x51];

            //// Get new ID
            //byte bufnum = ram[0x3d];
            //id1 = ram[0x12 + bufnum];
            //id2 = ram[0x13 + bufnum];

            //// Create empty block
            //byte[] buf = new byte[256];
            //memset(buf, 1);
            //buf[0] = 0x4b;

            //// Write block to all sectors on track
            //for (int sector = 0; sector < D64Drive.num_sectors[track]; sector++)
            //{
            //    write_sector(track, sector, buf, 0);
            //    sector2gcr(track, sector);
            //}

            //// Clear error info (all sectors no error)
            //if (track == 35)
            //    memset(error_info, 1);
            //// Write error_info to disk?
        }