20 #ifndef CPC_DISKTRACK_H 21 #define CPC_DISKTRACK_H 35 Track() {std::memset(
this, 0,
sizeof(*
this));}
58 #endif // CPC_DISKTRACK_H void clear()
Definition: track.h:48
void setSize(uint size)
Definition: track.h:44
uint size() const
Definition: track.h:40
Namespace for all CPC components.
Definition: colours.cpp:22
tUBYTE * mData
track size in bytes
Definition: track.h:53
Sector mSector[29]
pointer to track data
Definition: track.h:54
void setData(tUBYTE *data)
Definition: track.h:45
#define DSK_SECTORMAX
Definition: fdcconst.h:27
A track of a disk.
Definition: track.h:32
uint mSize
sector count for this track
Definition: track.h:52
A sector of a disk.
Definition: sector.h:29
void setSectors(uint sectors)
Definition: track.h:43
Track()
Definition: track.h:35
uint sectors() const
Definition: track.h:39
Sector & sector(int num)
Definition: track.h:41
#define ROLAND_DEFAULT
Definition: compspec.h:46
uint8_t tUBYTE
Definition: types.h:74
unsigned int uint
Definition: types.h:121
uint mSectors
Definition: track.h:51
~Track() ROLAND_DEFAULT tUBYTE *data() const
Definition: track.h:36