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

A floppy drive. More...

#include <drive.h>

Public Member Functions

 Drive ()
 
 ~Drive () ROLAND_DEFAULT void init()
 
uint currentSector ()
 
uint tracks ()
 
uint writeProtected ()
 
uint currentTrack ()
 
uint currentSide ()
 
uint sides ()
 
uint flipped ()
 
uint randomDEs ()
 
Tracktrack (int trck, int sde)
 
void setAltered (uint num)
 
void setCurrentSector (uint num)
 
void setCurrentTrack (uint num)
 
void setCurrentSide (uint num)
 
void setSides (uint num)
 
void setRandomDEs (uint num)
 
void setTracks (uint num)
 

Private Attributes

uint mTracks
 
uint mCurrentTrack
 
uint mSides
 
uint mCurrentSide
 
uint mCurrentSector
 
uint mAltered
 
uint mWriteProtected
 
uint mRandomDEs
 
uint mFlipped
 
Track mTrack [102][2]
 

Detailed Description

A floppy drive.

Constructor & Destructor Documentation

Drive ( )
~Drive ( )

Member Function Documentation

uint currentSector ( )
inline
uint currentSide ( )
inline
uint currentTrack ( )
inline
uint flipped ( )
inline
uint randomDEs ( )
inline

References Drive::mRandomDEs.

Referenced by Fdc::find_sector().

void setAltered ( uint  num)
inline

References Drive::mAltered.

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

void setCurrentSector ( uint  num)
inline
void setCurrentSide ( uint  num)
inline
void setCurrentTrack ( uint  num)
inline

References Drive::mCurrentTrack.

Referenced by Fdc::dsk_eject(), and Fdc::seek().

void setRandomDEs ( uint  num)
inline

References Drive::mRandomDEs.

Referenced by Fdc::dsk_load().

void setSides ( uint  num)
inline

References Drive::mSides.

Referenced by Fdc::dsk_load().

void setTracks ( uint  num)
inline

References Drive::mTracks.

Referenced by Fdc::dsk_load().

uint sides ( )
inline
Track& track ( int  trck,
int  sde 
)
inline
uint tracks ( )
inline
uint writeProtected ( )
inline

Member Data Documentation

uint mAltered
private

Referenced by Drive::Drive(), and Drive::setAltered().

uint mCurrentSector
private
uint mCurrentSide
private
uint mCurrentTrack
private
uint mFlipped
private

Referenced by Drive::Drive(), and Drive::flipped().

uint mRandomDEs
private
uint mSides
private
Track mTrack[102][2]
private

Referenced by Drive::track().

uint mTracks
private
uint mWriteProtected
private

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