Oops, some files were missing
[jpcrr.git] / org / jpc / output / OutputFrameRerecords.java
blob9d7739e535d2b3d68edcaa174900531922ddb964
1 /*
2 JPC-RR: A x86 PC Hardware Emulator
3 Release 1
5 Copyright (C) 2007-2009 Isis Innovation Limited
6 Copyright (C) 2009-2010 H. Ilari Liusvaara
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version 2 as published by
10 the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 Based on JPC x86 PC Hardware emulator,
22 A project from the Physics Dept, The University of Oxford
24 Details about original JPC can be found at:
26 www-jpc.physics.ox.ac.uk
30 package org.jpc.output;
32 public class OutputFrameRerecords extends OutputFrame
34 private long value;
36 public OutputFrameRerecords(long timeStamp, long _value)
38 super(timeStamp, (byte)82);
39 value = _value;
42 protected byte[] dumpInternal()
44 byte[] _name = new byte[8];
45 _name[0] = (byte)(value >>> 56);
46 _name[1] = (byte)(value >>> 48);
47 _name[2] = (byte)(value >>> 40);
48 _name[3] = (byte)(value >>> 32);
49 _name[4] = (byte)(value >>> 24);
50 _name[5] = (byte)(value >>> 16);
51 _name[6] = (byte)(value >>> 8);
52 _name[7] = (byte)value;
53 return _name;