I would suggest you to initialize your M1 by powering it up with INT, CARD and COMBI buttons pressed. This procedure will kill all your configurations and patches but it seems that they're already lost. If you're lucky, you'll read INIT PROG at the display. Then you may upload a sysex message with a backup of your own configuration (if you had made a backup) or at least with the factory configuration. Don't forget to enable the sysex comunication at the GLOBAL menu.
Hope it works.
César