RawWrite() only works when DOjS was started with "-x"

# Methods

#### # inner GetDiskStatus(disk) → {number}

query the status if a given disk.

##### Parameters:

Name | Type | Description
--- | --- | ---
`disk` | `number` | 0..GetNumberOfFDD() for FDD (0..GetNumberOfHDD())+RAW_HDD_FLAG for HDD.

See:
  - http://www.ctyme.com/intr/rb-0606.htm

Returns:

disk status.

Type: `number`

#### # inner GetNumberOfFDD() → {number}

Returns:

number of FDD found in system.

Type: `number`

#### # inner GetNumberOfHDD() → {number}

Returns:

number of HDD found in system.

Type: `number`

#### # inner GetRawSectorSize(drive) → {number}

get number of (LBA) sectors for a drive.

##### Parameters:

Name | Type | Description
--- | --- | ---
`drive` | `number` | 0..GetNumberOfFDD() for FDD (0..GetNumberOfHDD())+RAW_HDD_FLAG for HDD.

Returns:

number of sectors for that disk.

Type: `number`

#### # inner RawRead(disk, sector) → {Array.<number>}

read a disk sector.

##### Parameters:

Name | Type | Description
--- | --- | ---
`disk` | `number` | 0..GetNumberOfFDD() for FDD (0..GetNumberOfHDD())+RAW_HDD_FLAG for HDD.
`sector` | `number` | number 0..GetRawSectorSize()

Returns:

an array with 512 bytes.

Type: `Array.<number>`

#### # inner RawWrite(disk, sector, data)

write a disk sector. RawWrite() only works when DOjS was started with "-x"

##### Parameters:

Name | Type | Description
--- | --- | ---
`disk` | `number` | 0..GetNumberOfFDD() for FDD (0..GetNumberOfHDD())+RAW_HDD_FLAG for HDD.
`sector` | `number` | number 0..GetRawSectorSize()
`data` | `Array.<number>` | an array with 512 bytes.