merge mappers from FCEU-mm
[fceu.git] / boards / bonza.c
index a618f90..20fc10d 100644 (file)
@@ -15,7 +15,7 @@
  *\r
  * You should have received a copy of the GNU General Public License\r
  * along with this program; if not, write to the Free Software\r
  *\r
  * You should have received a copy of the GNU General Public License\r
  * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
  */\r
 \r
 #include "mapinc.h"\r
  */\r
 \r
 #include "mapinc.h"\r
@@ -33,6 +33,12 @@ static SFORMAT StateRegs[]=
 \r
 /*\r
 \r
 \r
 /*\r
 \r
+cmd[0] = response on/off\r
+         0x00 - on\r
+         0x80 - off\r
+cmd[1] = cmd\r
+\r
+\r
 _GET_CHALLENGE:      .BYTE   0,$B4,  0,  0,$62\r
 \r
 _SELECT_FILE_1_0200: .BYTE   0,$A4,  1,  0,  2,  2,  0\r
 _GET_CHALLENGE:      .BYTE   0,$B4,  0,  0,$62\r
 \r
 _SELECT_FILE_1_0200: .BYTE   0,$A4,  1,  0,  2,  2,  0\r
@@ -81,7 +87,7 @@ byte_8CC6:           .BYTE   0,$78,  0,  0,$12
 static uint8 sim0reset[0x1F] = { 0x3B, 0xE9, 0x00, 0xFF, 0xC1, 0x10, 0x31, 0xFE,\r
                                  0x55, 0xC8, 0x10, 0x20, 0x55, 0x47, 0x4F, 0x53,\r
                                  0x56, 0x53, 0x43, 0xAD, 0x10, 0x10, 0x10, 0x10,\r
 static uint8 sim0reset[0x1F] = { 0x3B, 0xE9, 0x00, 0xFF, 0xC1, 0x10, 0x31, 0xFE,\r
                                  0x55, 0xC8, 0x10, 0x20, 0x55, 0x47, 0x4F, 0x53,\r
                                  0x56, 0x53, 0x43, 0xAD, 0x10, 0x10, 0x10, 0x10,\r
-                                 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10 }; \r
+                                 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10 };\r
 \r
 static void Sync(void)\r
 {\r
 \r
 static void Sync(void)\r
 {\r