From 5767b13385e97476f2baa9e2600a2bc3f18c1a68 Mon Sep 17 00:00:00 2001 From: optixx Date: Tue, 22 Sep 2009 21:25:49 +0200 Subject: [PATCH] add more commands --- avr/usbload/shell.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/avr/usbload/shell.c b/avr/usbload/shell.c index 9d863d4..3b6ddbe 100644 --- a/avr/usbload/shell.c +++ b/avr/usbload/shell.c @@ -241,6 +241,12 @@ void shell_run(void) printf("Set HIROM\n"); snes_hirom(); snes_wr_disable(); + }else if (strcmp((char*)t, "WRDISABLE") == 0) { + printf("Set WR disable"); + snes_wr_disable(); + }else if (strcmp((char*)t, "WRENABLE") == 0) { + printf("Set WR disable"); + snes_wr_enable(); }else if (strcmp((char*)t, "LOADER") == 0) { boot_startup_rom(500); }else if (strcmp((char*)t, "RECONNECT") == 0) {