From: beeanyew Date: Tue, 18 May 2021 17:13:26 +0000 (+0200) Subject: Get rid of some address translation X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5c8eb7ba65a689e9e7f39be4dcd43fec07d854b0;p=pistorm Get rid of some address translation --- diff --git a/a314/a314device/proto_a314.h b/a314/a314device/proto_a314.h index 5167d29..e8512ef 100644 --- a/a314/a314device/proto_a314.h +++ b/a314/a314device/proto_a314.h @@ -7,7 +7,7 @@ extern struct Library *A314Base; -ULONG __TranslateAddressA314(__reg("a6") void *, __reg("a0") void *)="\tjsr\t-42(a6)"; -#define TranslateAddressA314(address) __TranslateAddressA314(A314Base, address) +//ULONG __TranslateAddressA314(__reg("a6") void *, __reg("a0") void *)="\tjsr\t-42(a6)"; +#define TranslateAddressA314(address) (ULONG)address #endif diff --git a/a314/software-amiga/a314eth.device b/a314/software-amiga/a314eth.device index 6a8fb88..1e5f0f9 100644 Binary files a/a314/software-amiga/a314eth.device and b/a314/software-amiga/a314eth.device differ diff --git a/a314/software-amiga/a314fs b/a314/software-amiga/a314fs index 151aa9d..4bec5d9 100644 Binary files a/a314/software-amiga/a314fs and b/a314/software-amiga/a314fs differ diff --git a/a314/software-amiga/a314fs_pistorm/patch_a314fs.py b/a314/software-amiga/a314fs_pistorm/patch_a314fs.py index 08d9983..5f89126 100644 --- a/a314/software-amiga/a314fs_pistorm/patch_a314fs.py +++ b/a314/software-amiga/a314fs_pistorm/patch_a314fs.py @@ -1,4 +1,4 @@ -with open('a314fs', 'r+b') as f: +with open('../a314fs', 'r+b') as f: f.seek(0x1c) b = f.read(4) f.seek(0x20) diff --git a/a314/software-amiga/piaudio b/a314/software-amiga/piaudio index 5aec55e..a50b7bb 100644 Binary files a/a314/software-amiga/piaudio and b/a314/software-amiga/piaudio differ