X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2Fbonza.c;fp=boards%2Fbonza.c;h=20fc10dceb8b1d2da3e464f3f367d17e582c55f3;hp=a618f90f87e64c18878b5cf9d761312fd6126169;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/boards/bonza.c b/boards/bonza.c index a618f90..20fc10d 100644 --- a/boards/bonza.c +++ b/boards/bonza.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "mapinc.h" @@ -33,6 +33,12 @@ static SFORMAT StateRegs[]= /* +cmd[0] = response on/off + 0x00 - on + 0x80 - off +cmd[1] = cmd + + _GET_CHALLENGE: .BYTE 0,$B4, 0, 0,$62 _SELECT_FILE_1_0200: .BYTE 0,$A4, 1, 0, 2, 2, 0 @@ -81,7 +87,7 @@ byte_8CC6: .BYTE 0,$78, 0, 0,$12 static uint8 sim0reset[0x1F] = { 0x3B, 0xE9, 0x00, 0xFF, 0xC1, 0x10, 0x31, 0xFE, 0x55, 0xC8, 0x10, 0x20, 0x55, 0x47, 0x4F, 0x53, 0x56, 0x53, 0x43, 0xAD, 0x10, 0x10, 0x10, 0x10, - 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10 }; + 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10 }; static void Sync(void) {