pcb and initial code from https://github.com/das-labor/borgware-2d.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
220 B
12 lines
220 B
#include <stdint.h>
|
|
|
|
#include "memxor.h"
|
|
|
|
void memxor(void* dest, const void* src, uint16_t n){
|
|
while(n--){
|
|
*((uint8_t*)dest) ^= *((uint8_t*)src);
|
|
dest = (uint8_t*)dest +1;
|
|
src = (uint8_t*)src +1;
|
|
}
|
|
}
|
|
|
|
|