This is a part of the Kinetiszer project.
memory.h
- Committer:
- Clemo
- Date:
- 2014-10-28
- Revision:
- 0:5a419ba2726d
File content as of revision 0:5a419ba2726d:
/* Copyright 2013 Paul Soulsby www.soulsbysynths.com This file is part of Atmegatron. Atmegatron is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Atmegatron is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Atmegatron. If not, see <http://www.gnu.org/licenses/>. */ //******Read and write patches to flash memory************** #ifndef __MEMORY_H__ #define __MEMORY_H__ #define SYSEXBEGIN 240 #define SYSEXEND 247 //save patch void Memory_Save(byte patchnum); bool Memory_Load_Patch(uint8_t *p_dst, uint32_t src); // CPV bool Memory_Load(byte patchnum); void Memory_UserWave_Write(byte patchnum); void Memory_UserWave_Read(byte patchnum); void Memory_Vanilla(void); void Memory_SYSEX_write_mem(void); void Memory_Channel_Write(byte channel); byte Memory_Channel_Read(void); #endif // __MEMORY_H__