updated doc for optional filtering of Game Properties/Emulation/Types using ROM size

This commit is contained in:
Thomas Jentzsch 2022-08-02 12:33:14 +02:00
parent c4443d6bb5
commit dc47100869
4 changed files with 12 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -3205,6 +3205,11 @@
<td>Define a temporary ID for the PlusROM backends (32 chars, hex)</td> <td>Define a temporary ID for the PlusROM backends (32 chars, hex)</td>
</tr> </tr>
<tr>
<td><pre>-filterbstypes &lt;1|0&gt;</pre></td>
<td>Enable filtering of bankswitch type list in <a href="#EmulationProps"><b>Emulation Properties</b></a> by ROM size.</td>
</tr>
<tr> <tr>
<td><pre>-help</pre></td> <td><pre>-help</pre></td>
<td>Print a help message describing these options, and then <td>Print a help message describing these options, and then
@ -4818,12 +4823,13 @@ Ms Pac-Man (Stella extended codes):
<tr> <tr>
<td VALIGN="TOP"><a name="PropertiesCartType"><i>Cart.Type</i></a></td> <td VALIGN="TOP"><a name="PropertiesCartType"><i>Cart.Type</i></a></td>
<td>Indicates the bank-switching type for the game. <td>Indicates the bankswitching type for the game.
The value of this property must be either <b>Auto</b> or one of the following The value of this property must be either <b>Auto</b> or one of the following
(for more information about bank-switching see Kevin Horton's <a href="http://kevtris.org/files/sizes.txt">2600 bankswitching (for more information about bankswitching see Kevin Horton's <a href="http://kevtris.org/files/sizes.txt">2600 bankswitching
document</a> or the documentation in each cartridge's source code file) types. Types marked document</a> or the documentation in each cartridge's source code file) types. Types marked
as (&#185;) do currently have no reliable auto-detection, those marked as (&#178;) as (&#185;) do currently have no reliable auto-detection, those marked as (&#178;)
are not fully supported in the debugger. are not fully supported in the debugger.<br/>
Note: If 'Filter' is checked, only the bankswitching types matching the ROM size are listed.
<table cellpadding="2" border="1"> <table cellpadding="2" border="1">
<tr><th>&nbsp;Type&nbsp;</th><th>Description</th><th>File Extension<br>(to force type)</th></tr> <tr><th>&nbsp;Type&nbsp;</th><th>Description</th><th>File Extension<br>(to force type)</th></tr>
<tr><td>0840 </td><td>8K EconoBanking</td><td>.084, .0840</td></tr> <tr><td>0840 </td><td>8K EconoBanking</td><td>.084, .0840</td></tr>

View File

@ -43,7 +43,7 @@ class Bankswitch
_4K, _4KSC, _AR, _BF, _BFSC, _BUS, _CDF, _CM, _4K, _4KSC, _AR, _BF, _BFSC, _BUS, _CDF, _CM,
_CTY, _CV, _DF, _DFSC, _DPC, _DPCP, _E0, _E7, _CTY, _CV, _DF, _DFSC, _DPC, _DPCP, _E0, _E7,
_EF, _EFSC, _F0, _F4, _F4SC, _F6, _F6SC, _F8, _EF, _EFSC, _F0, _F4, _F4SC, _F6, _F6SC, _F8,
_F8SC, _FA, _FA2, _FC, _FE, _MDM, _MVC, _SB, _F8SC, _FA, _FA2, _FC, _FE, _MDM, _MVC, _SB,
_TVBOY, _UA, _UASW, _WD, _WDSW, _X07, _TVBOY, _UA, _UASW, _WD, _WDSW, _X07,
#ifdef CUSTOM_ARM #ifdef CUSTOM_ARM
_CUSTOM, _CUSTOM,

View File

@ -499,8 +499,8 @@ bool CartDetector::isProbablyCV(const ByteBuffer& image, size_t size)
// CV RAM access occurs at addresses $f3ff and $f400 // CV RAM access occurs at addresses $f3ff and $f400
// These signatures are attributed to the MESS project // These signatures are attributed to the MESS project
static constexpr uInt8 signature[2][3] = { static constexpr uInt8 signature[2][3] = {
{ 0x9D, 0xFF, 0xF3 }, // STA $F3FF.X { 0x9D, 0xFF, 0xF3 }, // STA $F3FF,X
{ 0x99, 0x00, 0xF4 } // STA $F400.Y { 0x99, 0x00, 0xF4 } // STA $F400,Y
}; };
if(searchForBytes(image, size, signature[0], 3)) if(searchForBytes(image, size, signature[0], 3))
return true; return true;