reimplement ATA write support