fceux/help/fcm.html

97 lines
4.0 KiB
HTML
Raw Normal View History

2012-03-23 20:30:31 +00:00
<html>
<head>
<title>.fcm</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="HelpNDoc">
<link type="text/css" rel="stylesheet" media="all" href="css/reset.css" />
<link type="text/css" rel="stylesheet" media="all" href="css/base.css" />
<link type="text/css" rel="stylesheet" media="all" href="css/hnd.css" />
<!--[if lte IE 8]>
<link type="text/css" rel="stylesheet" media="all" href="css/ielte8.css" />
<![endif]-->
<style type="text/css">
#topic_header
{
background-color: #EFEFEF;
}
</style>
2012-03-23 20:30:31 +00:00
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/hnd.js"></script>
<script type="text/javascript"><!--
if (top.frames.length == 0)
{
var sTopicUrl = top.location.href.substring(top.location.href.lastIndexOf("/") + 1, top.location.href.length);
top.location.href = "fceux.html?" + sTopicUrl;
}
2012-03-23 20:30:31 +00:00
else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem)
{
top.FrameTOC.SelectTocItem("fcm");
}
2012-03-23 20:30:31 +00:00
</script>
</head>
<body>
<div id="topic_header">
<div id="topic_header_content">
<h1>.fcm</h1>
<div id="topic_breadcrumb">
<a href="Technicalinformation.html">Technical Information</a> &rsaquo;&rsaquo; <a href="Movieformats.html">Movie &amp; Savestate formats</a> &rsaquo;&rsaquo; </div>
</div>
<div id="topic_header_nav">
<a href="Movieformats.html"><img src="img/arrow_up.png" alt="Parent"/></a>
<a href="fm2.html"><img src="img/arrow_left.png" alt="Previous"/></a>
<a href="fcs.html"><img src="img/arrow_right.png" alt="Next"/></a>
</div>
<div class="clear"></div>
</div>
<div id="topic_content">
<p><span class="rvts12">FCE Ultra Movie File Format</span></p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;- Updated March 22, 2004</p>
<p><br></p>
<p>The FCM file format is a somewhat "joined" file format. &nbsp;The first part of a FCM</p>
<p>file will contain an FCS-format state save. &nbsp;After this data, the FCM-specific data</p>
<p>begins, which is being referred to from this point.</p>
<p><br></p>
<p><br></p>
<p>Currently, the only supported input scheme for a FCM is four joysticks.</p>
<p><br></p>
<p>The FCM data consists of a stream of joystick commands:</p>
<p><br></p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;dLLjjbbb</p>
<p><br></p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;d &nbsp;= Dummy update, if set. &nbsp;Used to reset frame timestamp.</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;LL &nbsp;= timestamp length, in bytes(maximum of 3 bytes).</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;jj &nbsp;= Which joystick(0-3).</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;bbb = Which button(0-7).</p>
<p><br></p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;If the dummy update bit is set, a command can also have occurred. &nbsp;Look at the</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;lower 5 bits:</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp; &nbsp; &nbsp; &nbsp;Just a dummy update.</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp; &nbsp; &nbsp; &nbsp;Reset</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp; &nbsp; &nbsp; &nbsp;Power</p>
<p><br></p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;The timestamp is stored after the joystick command, in LSB-first format. &nbsp;It is</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;the number of frames since the last event. &nbsp;A timestamp length of "0" is valid, to</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;be used when several different buttons need to change state at the same time(same frame,</p>
<p> &nbsp; &nbsp; &nbsp; &nbsp;at least).</p>
<p><br></p>
<p class="rvps2"><span class="rvts13">Created with the Personal Edition of HelpNDoc: </span><a class="rvts14" href="http://www.helpndoc.com">Easy CHM and documentation editor</a></p>
</div>
<div id="topic_footer">
<div id="topic_footer_content">
2012</div>
</div>
</body>
</html>