C# Class C64Lib.Core.D64Drive

Inheritance: Drive, IDisposable
Show file Open project: rosc77/vita64

Public Properties

Property Type Description
num_sectors int[]
sector_offset int[]

Public Methods

Method Description
Close ( int channel ) : byte
D64Drive ( IEC iec, string fileName, Stream fileStream ) : System
Dispose ( ) : void
Open ( int channel, byte filename ) : byte
Read ( int channel, byte &abyte ) : byte
ReplaceSpace ( byte source ) : byte
Reset ( ) : void
Write ( int channel, byte abyte, bool eoi ) : byte
block_read_cmd ( byte command ) : void
buffer_ptr_cmd ( byte command ) : void
chd64_cmd ( byte d64name ) : void
close_all_channels ( ) : void
execute_command ( byte command ) : void
free_buffer ( int buf ) : void

Private Methods

Method Description
AllocateChannelBuffer ( int channel, int size ) : void
DeallocateChannelBuffer ( int channel ) : void
Dispose ( bool disposing ) : void
FindFile ( byte filename, int &track, int &sector ) : bool
OpenDirectory ( byte pattern ) : byte
OpenFile ( int channel, byte filename ) : byte
alloc_buffer ( int want ) : int
conv_from_64 ( byte c, bool map_slash ) : byte
match ( byte p, byte n ) : bool
offset_from_ts ( int track, int sector ) : int
open_close_d64_file ( string d64name, Stream fileStream ) : void
open_direct ( int channel, byte filename ) : byte
open_directory ( byte pattern ) : byte
open_file_ts ( int channel, int track, int sector ) : byte
parse_bcmd ( byte command, int &arg1, int &arg2, int &arg3, int &arg4 ) : bool
read_sector ( int track, int sector, byte buffer ) : bool

Method Details

Close() public method

public Close ( int channel ) : byte
channel int
return byte

D64Drive() public method

public D64Drive ( IEC iec, string fileName, Stream fileStream ) : System
iec IEC
fileName string
fileStream Stream
return System

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( int channel, byte filename ) : byte
channel int
filename byte
return byte

Read() public method

public Read ( int channel, byte &abyte ) : byte
channel int
abyte byte
return byte

ReplaceSpace() public method

public ReplaceSpace ( byte source ) : byte
source byte
return byte

Reset() public method

public Reset ( ) : void
return void

Write() public method

public Write ( int channel, byte abyte, bool eoi ) : byte
channel int
abyte byte
eoi bool
return byte

block_read_cmd() public method

public block_read_cmd ( byte command ) : void
command byte
return void

buffer_ptr_cmd() public method

public buffer_ptr_cmd ( byte command ) : void
command byte
return void

chd64_cmd() public method

public chd64_cmd ( byte d64name ) : void
d64name byte
return void

close_all_channels() public method

public close_all_channels ( ) : void
return void

execute_command() public method

public execute_command ( byte command ) : void
command byte
return void

free_buffer() public method

public free_buffer ( int buf ) : void
buf int
return void

Property Details

num_sectors public static property

public static int[] num_sectors
return int[]

sector_offset public static property

public static int[] sector_offset
return int[]