diff --git a/Pico/carthw/carthw.c b/Pico/carthw/carthw.c index d22a2357..eab13b8e 100644 --- a/Pico/carthw/carthw.c +++ b/Pico/carthw/carthw.c @@ -1,12 +1,18 @@ /* - * should better do some pointer stuff here. But as none of these bankswitch + * Support for a few cart mappers. + * + * (c) Copyright 2008, Grazvydas "notaz" Ignotas + * Free for non-commercial use. + * + * + * I should better do some pointer stuff here. But as none of these bankswitch * while the game runs, memcpy will suffice. */ #include "../PicoInt.h" -/* 12-in-1 and 4-in-1. Assuming 2MB ROMs here. */ +/* 12-in-1 and 4-in-1. Assuming >= 2MB ROMs here. */ static unsigned int carthw_12in1_baddr = 0; static carthw_state_chunk carthw_12in1_state[] = @@ -110,7 +116,7 @@ static void carthw_realtec_write8(unsigned int a, unsigned int d, int realsize) } else elprintf(EL_ANOMALY, "realtec: unexpected write [%06x] %02x @ %06x", a, d, SekPc); - + if (realtec_bank >= 0 && realtec_size >= 0 && (realtec_bank != bank_old || realtec_size != size_old)) { diff --git a/Pico/carthw/svp/Memory.c b/Pico/carthw/svp/Memory.c index 2a491395..e835d328 100644 --- a/Pico/carthw/svp/Memory.c +++ b/Pico/carthw/svp/Memory.c @@ -1,4 +1,4 @@ -// The SVP chip emulator +// The SVP chip emulator, mem I/O stuff // (c) Copyright 2008, Grazvydas "notaz" Ignotas // Free for non-commercial use. diff --git a/Pico/carthw/svp/compiler.c b/Pico/carthw/svp/compiler.c index 911da179..7c06badb 100644 --- a/Pico/carthw/svp/compiler.c +++ b/Pico/carthw/svp/compiler.c @@ -1,3 +1,7 @@ +// SSP1601 to ARM recompiler + +// (c) Copyright 2008, Grazvydas "notaz" Ignotas +// Free for non-commercial use. #include "../../PicoInt.h" #include "compiler.h" diff --git a/Pico/carthw/svp/gen_arm.c b/Pico/carthw/svp/gen_arm.c index 00d5d2cf..89db6a98 100644 --- a/Pico/carthw/svp/gen_arm.c +++ b/Pico/carthw/svp/gen_arm.c @@ -1,3 +1,8 @@ +// Basic macros to emit ARM instructions and some utils + +// (c) Copyright 2008, Grazvydas "notaz" Ignotas +// Free for non-commercial use. + #define EMIT(x) *tcache_ptr++ = x #define A_R4M (1 << 4) diff --git a/Pico/carthw/svp/stub_arm.S b/Pico/carthw/svp/stub_arm.S index cbfa52eb..debcc0e8 100644 --- a/Pico/carthw/svp/stub_arm.S +++ b/Pico/carthw/svp/stub_arm.S @@ -1,5 +1,10 @@ @ vim:filetype=armasm +@ Compiler helper functions and some SVP HLE code + +@ (c) Copyright 2008, Grazvydas "notaz" Ignotas +@ Free for non-commercial use. + .if 0 #include "compiler.h" .endif