ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Public Member Functions | Private Attributes | List of all members
Track Class Referencefinal

A track of a disk. More...

#include <track.h>

Public Member Functions

 Track ()
 
 ~Track () ROLAND_DEFAULT tUBYTE *data() const
 
uint sectors () const
 
uint size () const
 
Sectorsector (int num)
 
void setSectors (uint sectors)
 
void setSize (uint size)
 
void setData (tUBYTE *data)
 
void set (tUBYTE num, int size)
 
void clear ()
 

Private Attributes

uint mSectors
 
uint mSize
 sector count for this track More...
 
tUBYTEmData
 track size in bytes More...
 
Sector mSector [29]
 pointer to track data More...
 

Detailed Description

A track of a disk.

Constructor & Destructor Documentation

Track ( )
inline
~Track ( ) const
inline

References Track::mData.

Member Function Documentation

void clear ( )
inline

References Track::mData.

Referenced by Fdc::dsk_eject().

Sector& sector ( int  num)
inline
uint sectors ( ) const
inline
void set ( tUBYTE  num,
int  size 
)
inline

References Track::mData, and Track::size().

Referenced by Fdc::dsk_load().

void setData ( tUBYTE data)
inline

References Track::mData.

Referenced by Fdc::dsk_load(), and Fdc::Fdc().

void setSectors ( uint  sectors)
inline

References Track::mSectors, and Track::sectors().

Referenced by Fdc::dsk_load(), and Fdc::Fdc().

void setSize ( uint  size)
inline

References Track::mSize, and Track::size().

Referenced by Fdc::dsk_load().

uint size ( ) const
inline

Member Data Documentation

tUBYTE* mData
private

track size in bytes

Referenced by Track::clear(), Track::set(), Track::setData(), and Track::~Track().

Sector mSector[29]
private

pointer to track data

Referenced by Track::sector().

uint mSectors
private
uint mSize
private

sector count for this track

Referenced by Track::setSize(), and Track::size().


The documentation for this class was generated from the following file: