analog/v2-analog-rev1/parallel/parallel.c
2023-01-07 02:15:21 -05:00

20 lines
542 B
C

#include <string.h>
#include <pico/stdlib.h>
#include <pico/multicore.h>
#include "common/config.h"
#include "parallel/businterface.h"
#include "parallel/parallelbuffer.h"
#include "parallel/grappler_rom.h"
void parallelmain() {
// Copy Grappler ROM to Slot ROM areas
memcpy((void*)(apple_memory + 0xC100), (void*)(grappler_rom + 0x100), 0x700);
// Copy Grappler ROM to Extended ROM area
memcpy((void*)(apple_memory + 0xC800), (void*)(grappler_rom), 0x800);
while(v2mode == MODE_PARALLEL) {
}
}