w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11VirtDisk.ipp
Go to the documentation of this file.
1// $Id: Rw11VirtDisk.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2018-10-27 1061 1.1 add NCylinder(),NHead(),NSector()
8// 2013-03-03 494 1.0 Initial version
9// 2013-02-19 490 0.1 First draft
10// ---------------------------------------------------------------------------
11
16// all method definitions in namespace Retro
17namespace Retro {
18
19//------------------------------------------+-----------------------------------
21
22inline void Rw11VirtDisk::Setup(size_t blksize, size_t nblock,
23 size_t ncyl, size_t nhead, size_t nsect)
24{
25 fBlkSize = blksize;
26 fNBlock = nblock;
27 fNCyl = ncyl;
28 fNHead = nhead;
29 fNSect = nsect;
30 return;
31}
32
33//------------------------------------------+-----------------------------------
35
36inline size_t Rw11VirtDisk::BlockSize() const
37{
38 return fBlkSize;
39}
40
41//------------------------------------------+-----------------------------------
43
44inline size_t Rw11VirtDisk::NBlock() const
45{
46 return fNBlock;
47}
48
49//------------------------------------------+-----------------------------------
51
52inline size_t Rw11VirtDisk::NCylinder() const
53{
54 return fNCyl;
55}
56
57//------------------------------------------+-----------------------------------
59
60inline size_t Rw11VirtDisk::NHead() const
61{
62 return fNHead;
63}
64
65//------------------------------------------+-----------------------------------
67
68inline size_t Rw11VirtDisk::NSector() const
69{
70 return fNSect;
71}
72
73} // end namespace Retro
size_t NSector() const
FIXME_docs.
size_t fNBlock
disk size in blocks
size_t fBlkSize
block size in byte
size_t NHead() const
FIXME_docs.
size_t NCylinder() const
FIXME_docs.
void Setup(size_t blksize, size_t nblock, size_t ncyl, size_t nhead, size_t nsect)
FIXME_docs.
size_t BlockSize() const
FIXME_docs.
size_t NBlock() const
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47