- update fm2 documentation/
- fix problem with video config in release build (upx was causing problems) - change movie format to support '.' or ' ' for blanks, but produce '.' now instead of ' '
This commit is contained in:
parent
14256823f3
commit
fb26316f95
|
@ -46,7 +46,7 @@ MOVIECMD_RESET = 1
|
||||||
the format of port0, port1, port2 depends on which types of devices were attached.
|
the format of port0, port1, port2 depends on which types of devices were attached.
|
||||||
SI_GAMEPAD:
|
SI_GAMEPAD:
|
||||||
the field consists of eight characters which constitute a bitfield.
|
the field consists of eight characters which constitute a bitfield.
|
||||||
any non-space character means that the button was pressed.
|
any character other than ' ' or '.' means that the button was pressed.
|
||||||
by convention, the following mnemonics will be used in a column to remind us of which button corresponds to which column:
|
by convention, the following mnemonics will be used in a column to remind us of which button corresponds to which column:
|
||||||
ABSTUDLR (A,B,Select,sTart,Up,Down,Left,Right)
|
ABSTUDLR (A,B,Select,sTart,Up,Down,Left,Right)
|
||||||
SI_ZAPPER:
|
SI_ZAPPER:
|
||||||
|
@ -71,4 +71,8 @@ The input types must all be gamepads, and the inputlog will be in the following
|
||||||
|c|ABSTUDLR|ABSTUDLR|ABSTUDLR|ABSTUDLR|port2|
|
|c|ABSTUDLR|ABSTUDLR|ABSTUDLR|ABSTUDLR|port2|
|
||||||
If a fourscore is not used, then port0 and port1 are required.
|
If a fourscore is not used, then port0 and port1 are required.
|
||||||
|
|
||||||
D. The author of this format is curious about what people think of it. Please let him know!
|
D. The emulator uses these framerate constants
|
||||||
|
- NTSC: 1008307711 /256/65536 = 60.099822938442230224609375
|
||||||
|
- PAL : 838977920 /256/65536 = 50.00698089599609375
|
||||||
|
|
||||||
|
E. The author of this format is curious about what people think of it. Please let him know!
|
|
@ -124,7 +124,7 @@ void MovieRecord::dumpJoy(std::ostream* os, uint8 joystate)
|
||||||
{
|
{
|
||||||
//these are mnemonics for each joystick bit.
|
//these are mnemonics for each joystick bit.
|
||||||
//since we usually use the regular joypad, these will be more helpful.
|
//since we usually use the regular joypad, these will be more helpful.
|
||||||
//but any character other than ' ' should count as a set bit
|
//but any character other than ' ' or '.' should count as a set bit
|
||||||
//maybe other input types will need to be encoded another way..
|
//maybe other input types will need to be encoded another way..
|
||||||
for(int bit=7;bit>=0;bit--)
|
for(int bit=7;bit>=0;bit--)
|
||||||
{
|
{
|
||||||
|
@ -133,8 +133,8 @@ void MovieRecord::dumpJoy(std::ostream* os, uint8 joystate)
|
||||||
//if the bit is set write the mnemonic
|
//if the bit is set write the mnemonic
|
||||||
if(joystate & bitmask)
|
if(joystate & bitmask)
|
||||||
os->put(mnemonic);
|
os->put(mnemonic);
|
||||||
else //otherwise write a space
|
else //otherwise write an unset bit
|
||||||
os->put(' ');
|
os->put('.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ void MovieRecord::parseJoy(std::istream* is, uint8& joystate)
|
||||||
for(int i=0;i<8;i++)
|
for(int i=0;i<8;i++)
|
||||||
{
|
{
|
||||||
joystate <<= 1;
|
joystate <<= 1;
|
||||||
joystate |= ((buf[i]!=' ')?1:0);
|
joystate |= ((buf[i]=='.'||buf[i]==' ')?0:1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
CommandLine="xcopy /d $(ProjectDir)\..\src\drivers\win\7zxa.dll $(OutDir)
upx.exe --force $(TargetPath)
"
|
CommandLine="xcopy /d $(ProjectDir)\..\src\drivers\win\7zxa.dll $(OutDir)"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
|
|
Loading…
Reference in New Issue