w11 - cpp
0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11VirtTapeTap.ipp
Go to the documentation of this file.
1
// $Id: Rw11VirtTapeTap.ipp 1186 2019-07-12 17:49:59Z mueller $
2
// SPDX-License-Identifier: GPL-3.0-or-later
3
// Copyright 2015- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
//
5
// Revision History:
6
// Date Rev Version Comment
7
// 2015-06-04 686 1.0 Initial version
8
// 2015-05-17 683 0.1 First draft
9
// ---------------------------------------------------------------------------
10
15
// all method definitions in namespace Retro
16
namespace
Retro
{
17
18
//------------------------------------------+-----------------------------------
20
21
inline
size_t
Rw11VirtTapeTap::BytePadding
(
size_t
rlen)
22
{
23
return
fPadOdd
? ((rlen+1) & 0xfffe) : rlen;
24
}
25
26
//------------------------------------------+-----------------------------------
28
29
inline
bool
Rw11VirtTapeTap::SetBad
()
30
{
31
fBad
=
true
;
32
return
false
;
33
}
34
35
//------------------------------------------+-----------------------------------
37
38
inline
void
Rw11VirtTapeTap::IncPosRecord
(
int
delta)
39
{
40
if
(
fPosRecord
!= -1)
fPosRecord
+= delta;
41
return
;
42
}
43
44
45
}
// end namespace Retro
Retro::Rw11VirtTapeTap::fBad
bool fBad
BAD file format flag.
Definition:
Rw11VirtTapeTap.hpp:74
Retro::Rw11VirtTapeTap::SetBad
bool SetBad()
FIXME_docs.
Definition:
Rw11VirtTapeTap.ipp:29
Retro::Rw11VirtTapeTap::fPadOdd
bool fPadOdd
do odd byte padding
Definition:
Rw11VirtTapeTap.hpp:75
Retro::Rw11VirtTapeTap::IncPosRecord
void IncPosRecord(int delta)
FIXME_docs.
Definition:
Rw11VirtTapeTap.ipp:38
Retro::Rw11VirtTapeTap::BytePadding
size_t BytePadding(size_t rlen)
FIXME_docs.
Definition:
Rw11VirtTapeTap.ipp:21
Retro::Rw11VirtTape::fPosRecord
int fPosRecord
tape pos: #record (-1=unknown)
Definition:
Rw11VirtTape.hpp:97
Retro
Declaration of class ReventLoop.
Definition:
ReventLoop.cpp:47
librw11
Rw11VirtTapeTap.ipp
Generated on Thu Feb 9 2023 12:40:57 for w11 - cpp by
1.9.6