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.
13 lines
220 B
13 lines
220 B
16 years ago
|
#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;
|
||
|
}
|
||
|
}
|
||
|
|