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
17
namespace
Retro
{
18
19
//------------------------------------------+-----------------------------------
21
22
inline
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
36
inline
size_t
Rw11VirtDisk::BlockSize
()
const
37
{
38
return
fBlkSize
;
39
}
40
41
//------------------------------------------+-----------------------------------
43
44
inline
size_t
Rw11VirtDisk::NBlock
()
const
45
{
46
return
fNBlock
;
47
}
48
49
//------------------------------------------+-----------------------------------
51
52
inline
size_t
Rw11VirtDisk::NCylinder
()
const
53
{
54
return
fNCyl
;
55
}
56
57
//------------------------------------------+-----------------------------------
59
60
inline
size_t
Rw11VirtDisk::NHead
()
const
61
{
62
return
fNHead
;
63
}
64
65
//------------------------------------------+-----------------------------------
67
68
inline
size_t
Rw11VirtDisk::NSector
()
const
69
{
70
return
fNSect
;
71
}
72
73
}
// end namespace Retro
Retro::Rw11VirtDisk::NSector
size_t NSector() const
FIXME_docs.
Definition:
Rw11VirtDisk.ipp:68
Retro::Rw11VirtDisk::fNCyl
size_t fNCyl
Definition:
Rw11VirtDisk.hpp:69
Retro::Rw11VirtDisk::fNBlock
size_t fNBlock
disk size in blocks
Definition:
Rw11VirtDisk.hpp:68
Retro::Rw11VirtDisk::fBlkSize
size_t fBlkSize
block size in byte
Definition:
Rw11VirtDisk.hpp:67
Retro::Rw11VirtDisk::NHead
size_t NHead() const
FIXME_docs.
Definition:
Rw11VirtDisk.ipp:60
Retro::Rw11VirtDisk::fNHead
size_t fNHead
Definition:
Rw11VirtDisk.hpp:70
Retro::Rw11VirtDisk::NCylinder
size_t NCylinder() const
FIXME_docs.
Definition:
Rw11VirtDisk.ipp:52
Retro::Rw11VirtDisk::Setup
void Setup(size_t blksize, size_t nblock, size_t ncyl, size_t nhead, size_t nsect)
FIXME_docs.
Definition:
Rw11VirtDisk.ipp:22
Retro::Rw11VirtDisk::fNSect
size_t fNSect
Definition:
Rw11VirtDisk.hpp:71
Retro::Rw11VirtDisk::BlockSize
size_t BlockSize() const
FIXME_docs.
Definition:
Rw11VirtDisk.ipp:36
Retro::Rw11VirtDisk::NBlock
size_t NBlock() const
FIXME_docs.
Definition:
Rw11VirtDisk.ipp:44
Retro
Declaration of class ReventLoop.
Definition:
ReventLoop.cpp:47
librw11
Rw11VirtDisk.ipp
Generated on Thu Feb 9 2023 12:40:57 for w11 - cpp by
1.9.6