fceux/web/help/fcm.html

102 lines
4.1 KiB
HTML

<html>
<head>
<title>.fcm</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="HelpNDoc Personal Edition 3.8.0.560">
<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>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/hnd.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
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;
}
else if (top && top.FrameTOC && top.FrameTOC.SelectTocItem)
{
top.FrameTOC.SelectTocItem("fcm");
}
});
</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></p>
<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></p>
<p class="rvps2"><span class="rvts13">Created with the Personal Edition of HelpNDoc: </span><a class="rvts14" href="http://www.helpndoc.com/help-authoring-tool">Create HTML Help, DOC, PDF and print manuals from 1 single source</a></p>
</div>
<div id="topic_footer">
<div id="topic_footer_content">
2016</div>
</div>
</body>
</html>