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

A sector of a disk. More...

#include <sector.h>

Public Member Functions

 Sector ()
 
 ~Sector () ROLAND_DEFAULT tUBYTE *CHRN()
 
tUBYTE CHRN (int num)
 
tUBYTEflags ()
 
tUBYTE flag (int num)
 
tUBYTEdata ()
 
uint size ()
 
void setData (tUBYTE *data)
 
void setFlag (int idx, int val)
 
void setSize (uint num)
 

Private Attributes

tUBYTE mCHRN [4]
 
tUBYTE mFlags [4]
 the CHRN for this sector More...
 
tUBYTEmData
 ST1 and ST2 - reflects any possible error conditions. More...
 
uint mSize
 pointer to sector data More...
 

Detailed Description

A sector of a disk.

Constructor & Destructor Documentation

Sector ( )
~Sector ( )
inline

References Sector::mCHRN.

Member Function Documentation

tUBYTE CHRN ( int  num)
inline
tUBYTE* data ( )
inline
tUBYTE flag ( int  num)
inline
tUBYTE* flags ( )
inline

References Sector::mFlags.

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

void setData ( tUBYTE data)
inline

References Sector::data(), and Sector::mData.

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

void setFlag ( int  idx,
int  val 
)
inline

References Sector::mFlags.

Referenced by Fdc::cmd_write().

void setSize ( uint  num)
inline

References Sector::mSize.

Referenced by Fdc::dsk_load().

uint size ( )
inline

References Sector::mSize.

Member Data Documentation

tUBYTE mCHRN[4]
private
tUBYTE* mData
private

ST1 and ST2 - reflects any possible error conditions.

Referenced by Sector::data(), Sector::Sector(), and Sector::setData().

tUBYTE mFlags[4]
private

the CHRN for this sector

Referenced by Sector::flag(), Sector::flags(), Sector::Sector(), and Sector::setFlag().

uint mSize
private

pointer to sector data

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


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