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
16namespace Retro {
17
18//------------------------------------------+-----------------------------------
20
21inline size_t Rw11VirtTapeTap::BytePadding(size_t rlen)
22{
23 return fPadOdd ? ((rlen+1) & 0xfffe) : rlen;
24}
25
26//------------------------------------------+-----------------------------------
28
30{
31 fBad = true;
32 return false;
33}
34
35//------------------------------------------+-----------------------------------
37
38inline void Rw11VirtTapeTap::IncPosRecord(int delta)
39{
40 if (fPosRecord != -1) fPosRecord += delta;
41 return;
42}
43
44
45} // end namespace Retro
bool fBad
BAD file format flag.
bool SetBad()
FIXME_docs.
bool fPadOdd
do odd byte padding
void IncPosRecord(int delta)
FIXME_docs.
size_t BytePadding(size_t rlen)
FIXME_docs.
int fPosRecord
tape pos: #record (-1=unknown)
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47