From e579e67b1997fa52b6513f8e30b843ccd5e55817 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 29 Mar 2019 13:22:02 -0700 Subject: [PATCH 01/47] Clean up ARMv5 code --- src/armv5.c | 63 +++++-------------------- tools/palm/muExpansionDriver/make.sh | 2 +- tools/palm/muExpansionDriver/memalign.c | 29 ------------ tools/palm/muExpansionDriver/memalign.h | 10 ---- tools/palm/muExpansionDriver/patcher.c | 6 +-- 5 files changed, 15 insertions(+), 95 deletions(-) delete mode 100644 tools/palm/muExpansionDriver/memalign.c delete mode 100644 tools/palm/muExpansionDriver/memalign.h diff --git a/src/armv5.c b/src/armv5.c index 5ceac09..dc0c21f 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -6,6 +6,7 @@ #include "memoryAccess.h" #include "portability.h" #include "armv5/CPU.h" +#include "m68k/m68k.h" #define ARMV5_CYCLES_PER_OPCODE 2 @@ -17,90 +18,48 @@ static ArmCpu armv5Cpu; static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 size, Boolean write, Boolean privileged, UInt8* fsr){ - //ARM only has access to RAM, the OS 4 ROM has no data important to it and it would be wrong to access 68k registers from ARM - vaddr &= chips[CHIP_DX_RAM].mask; + //just gonna have ARM and m68k share the same bus for now, ARM may want fonts/bitmaps from ROM -#if !defined(EMU_NO_SAFETY) - if(size & (size - 1) || vaddr & (size - 1))//size is not a power of two or address isnt aligned to size - return false; -#endif + //no safety check is needed, they are done in the m68k memory accessors called from here -#if defined(EMU_BIG_ENDIAN) if(write){ switch(size){ case 1: - *(uint8_t*)(palmRam + vaddr) = *(uint8_t*)buf; + m68k_write_memory_8(vaddr, *(uint8_t*)buf); return true; case 2: - *(uint16_t*)(palmRam + vaddr) = SWAP_16(*(uint16_t*)buf); + m68k_write_memory_16(vaddr, SWAP_16(*(uint16_t*)buf)); return true; case 4: - *(uint32_t*)(palmRam + vaddr) = SWAP_32(*(uint32_t*)buf); + m68k_write_memory_32(vaddr, SWAP_32(*(uint32_t*)buf)); return true; default: + debugLog("Invalid ARMv5 write: address:0x%08X, size:%d\n", vaddr, size * 8); return false; } } else{ switch(size){ case 1: - *(uint8_t*)buf = *(uint8_t*)(palmRam + vaddr); + *(uint8_t*)buf = m68k_read_memory_8(vaddr); return true; case 2: - *(uint16_t*)buf = SWAP_16(*(uint16_t*)(palmRam + vaddr)); + *(uint16_t*)buf = SWAP_16(m68k_read_memory_16(vaddr)); return true; case 4: - *(uint32_t*)buf = SWAP_32(*(uint32_t*)(palmRam + vaddr)); + *(uint32_t*)buf = SWAP_32(m68k_read_memory_32(vaddr)); return true; default: + debugLog("Invalid ARMv5 read: address:0x%08X, size:%d\n", vaddr, size * 8); return false; } } -#else - if(write){ - switch(size){ - case 1: - *(uint8_t*)(palmRam + (vaddr ^ 1)) = *(uint8_t*)buf; - return true; - - case 2: - *(uint16_t*)(palmRam + vaddr) = SWAP_16(*(uint16_t*)buf); - return true; - - case 4: - *(uint16_t*)(palmRam + vaddr) = SWAP_16(*(uint32_t*)buf & 0xFFFF); - *(uint16_t*)(palmRam + vaddr + 2) = SWAP_16(*(uint32_t*)buf >> 16); - return true; - - default: - return false; - } - } - else{ - switch(size){ - case 1: - *(uint8_t*)buf = *(uint8_t*)(palmRam + (vaddr ^ 1)); - return true; - - case 2: - *(uint16_t*)buf = SWAP_16(*(uint16_t*)(palmRam + vaddr)); - return true; - - case 4: - *(uint32_t*)buf = SWAP_16(*(uint16_t*)(palmRam + vaddr + 2)) << 16 | SWAP_16(*(uint16_t*)(palmRam + vaddr)); - return true; - - default: - return false; - } - } -#endif } static Boolean armv5Hypercall(ArmCpu* cpu){ diff --git a/tools/palm/muExpansionDriver/make.sh b/tools/palm/muExpansionDriver/make.sh index e020e51..99b7c73 100755 --- a/tools/palm/muExpansionDriver/make.sh +++ b/tools/palm/muExpansionDriver/make.sh @@ -11,7 +11,7 @@ if [ "$1" = "clean" ]; then exit fi -declare -a FILES=("muExpDriver" "patcher" "hires" "armv5" "soundDriver" "globals" "gui" "traps" "config" "debug" "memalign") +declare -a FILES=("muExpDriver" "patcher" "hires" "armv5" "soundDriver" "globals" "gui" "traps" "config" "debug") CFLAGS="-palmos4 -O3" if [ "$1" = "debug" ]; then diff --git a/tools/palm/muExpansionDriver/memalign.c b/tools/palm/muExpansionDriver/memalign.c deleted file mode 100644 index ad020ce..0000000 --- a/tools/palm/muExpansionDriver/memalign.c +++ /dev/null @@ -1,29 +0,0 @@ -/*modified from libretro-common*/ -#include "sdkPatch/PalmOSPatched.h" -#include - - -void* memalign_alloc(uint32_t boundary, uint32_t size){ - void** place = NULL; - uint32_t addr = 0; - void* ptr = (void*)MemPtrNew(boundary + size + sizeof(uint32_t)); - - if(!ptr) - return NULL; - - addr = ((uint32_t)ptr + sizeof(uint32_t) + boundary) & ~(boundary - 1); - place = (void**)addr; - place[-1] = ptr; - - return (void*)addr; -} - -void memalign_free(void* ptr){ - void** p = NULL; - - if(!ptr) - return; - - p = (void**)ptr; - free(p[-1]); -} diff --git a/tools/palm/muExpansionDriver/memalign.h b/tools/palm/muExpansionDriver/memalign.h deleted file mode 100644 index e997c80..0000000 --- a/tools/palm/muExpansionDriver/memalign.h +++ /dev/null @@ -1,10 +0,0 @@ -/*modified from libretro-common*/ -#ifndef MEMALIGN_H -#define MEMALIGN_H - -#include - -void* memalign_alloc(uint32_t boundary, uint32_t size); -void memalign_free(void* ptr); - -#endif diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index dbe7245..7e2b31d 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -7,7 +7,7 @@ #include "armv5.h" #include "hires.h" #include "globals.h" -#include "memalign.h" +#include "palmOsPriv.h" #include "palmGlobalDefines.h" #include "specs/emuFeatureRegisterSpec.h" @@ -115,11 +115,11 @@ static void installPceNativeCallHandler(uint32_t armStackSize){ SysSetTrapAddress(sysTrapPceNativeCall, (void*)emuPceNativeCall); if(oldArmStack) - memalign_free(oldArmStack); + MemChunkFree(oldArmStack); /*must have 32 bit aligned size and start*/ armStackSize &= 0xFFFFFFFC; - armStackStart = memalign_alloc(sizeof(uint32_t), armStackSize); + armStackStart = MemChunkNew(0, armStackSize, memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); armv5SetStack(armStackStart, armStackSize); setGlobalVar(ARM_STACK_START, (uint32_t)armStackStart); } From 6b488b8817fcd0c54c7981b6e64b609300a69617 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 29 Mar 2019 17:19:03 -0700 Subject: [PATCH 02/47] Add armv5Cpu struct to savestate, remove blobs again now that the 32 bit alignment requirement is gone Also disabled more icache stuff since it had alignment restrictions and wasnt used anyway. --- src/armv5.c | 134 ++++++++++++++++++++++++- src/armv5/CPU.c | 6 +- src/armv5/CPU.h | 2 +- tools/palm/muExpansionDriver/globals.h | 4 - tools/palm/muExpansionDriver/make.sh | 5 - tools/palm/muExpansionDriver/patcher.c | 54 +--------- tools/palm/muExpansionDriver/traps.c | 7 +- 7 files changed, 139 insertions(+), 73 deletions(-) diff --git a/src/armv5.c b/src/armv5.c index dc0c21f..0c6d32d 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -83,24 +83,150 @@ void armv5Reset(void){ uint32_t armv5StateSize(void){ uint32_t size = 0; - //need to add armv5Cpu here - size += sizeof(uint8_t); + //armv5Cpu + size += sizeof(uint32_t) * 16;//armv5Cpu.regs + size += sizeof(uint32_t) * 2;//armv5Cpu.CPSR/SPSR + size += sizeof(uint32_t) * 3 * 6;//armv5Cpu.bank_usr/bank_svc/bank_abt/bank_und/bank_irq/bank_fiq + size += sizeof(uint32_t) * 5;//armv5Cpu.extra_regs + size += sizeof(uint16_t) * 3;//armv5Cpu.waitingIrqs/waitingFiqs/CPAR + size += sizeof(uint32_t);//armv5Cpu.vectorBase + + //variables + size += sizeof(uint8_t);//armv5ServiceRequest return size; } void armv5SaveState(uint8_t* data){ uint32_t offset = 0; + uint8_t index; - //need to add armv5Cpu here + //armv5Cpu + for(index = 0; index < 16; index++){ + writeStateValue32(data + offset, armv5Cpu.regs[index]); + offset += sizeof(uint32_t); + } + writeStateValue32(data + offset, armv5Cpu.CPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.SPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_usr.R13); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_usr.R14); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_usr.SPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_svc.R13); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_svc.R14); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_svc.SPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_abt.R13); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_abt.R14); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_abt.SPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_und.R13); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_und.R14); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_und.SPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_irq.R13); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_irq.R14); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_irq.SPSR); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_fiq.R13); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_fiq.R14); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, armv5Cpu.bank_fiq.SPSR); + offset += sizeof(uint32_t); + for(index = 0; index < 5; index++){ + writeStateValue32(data + offset, armv5Cpu.extra_regs[index]); + offset += sizeof(uint32_t); + } + writeStateValue16(data + offset, armv5Cpu.waitingIrqs); + offset += sizeof(uint16_t); + writeStateValue16(data + offset, armv5Cpu.waitingFiqs); + offset += sizeof(uint16_t); + writeStateValue16(data + offset, armv5Cpu.CPAR); + offset += sizeof(uint16_t); + writeStateValue32(data + offset, armv5Cpu.vectorBase); + offset += sizeof(uint32_t); + + //variables writeStateValue8(data + offset, armv5ServiceRequest); offset += sizeof(uint8_t); } void armv5LoadState(uint8_t* data){ uint32_t offset = 0; + uint8_t index; - //need to add armv5Cpu here + //armv5Cpu + for(index = 0; index < 16; index++){ + armv5Cpu.regs[index] = readStateValue32(data + offset); + offset += sizeof(uint32_t); + } + armv5Cpu.CPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_usr.R13 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_usr.R14 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_usr.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_svc.R13 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_svc.R14 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_svc.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_abt.R13 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_abt.R14 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_abt.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_und.R13 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_und.R14 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_und.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_irq.R13 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_irq.R14 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_irq.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_fiq.R13 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_fiq.R14 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + armv5Cpu.bank_fiq.SPSR = readStateValue32(data + offset); + offset += sizeof(uint32_t); + for(index = 0; index < 5; index++){ + armv5Cpu.extra_regs[index] = readStateValue32(data + offset); + offset += sizeof(uint32_t); + } + armv5Cpu.waitingIrqs = readStateValue16(data + offset); + offset += sizeof(uint16_t); + armv5Cpu.waitingFiqs = readStateValue16(data + offset); + offset += sizeof(uint16_t); + armv5Cpu.CPAR = readStateValue16(data + offset); + offset += sizeof(uint16_t); + armv5Cpu.vectorBase = readStateValue32(data + offset); + offset += sizeof(uint32_t); + + //variables armv5ServiceRequest = readStateValue8(data + offset); offset += sizeof(uint8_t); } diff --git a/src/armv5/CPU.c b/src/armv5/CPU.c index 820053d..33be406 100755 --- a/src/armv5/CPU.c +++ b/src/armv5/CPU.c @@ -2608,7 +2608,7 @@ Err cpuInit(ArmCpu* cpu, UInt32 pc, ArmCpuMemF memF, ArmCpuEmulErr emulErrF, Arm cpu->hypercallF = hypercallF; cpu->setFaultAdrF = setFaultAdrF; - icacheInit(&cpu->ic, cpu, memF); + //icacheInit(&cpu->ic, cpu, memF); return errNone; } @@ -2695,12 +2695,12 @@ void cpuIrq(ArmCpu* cpu, Boolean fiq, Boolean raise){ //unraise when acknowledge void cpuIcacheInval(ArmCpu* cpu){ - icacheInval(&cpu->ic); + //icacheInval(&cpu->ic); } void cpuIcacheInvalAddr(ArmCpu* cpu, UInt32 addr){ - icacheInvalAddr(&cpu->ic, addr); + //icacheInvalAddr(&cpu->ic, addr); } diff --git a/src/armv5/CPU.h b/src/armv5/CPU.h index 9e58c87..b405918 100755 --- a/src/armv5/CPU.h +++ b/src/armv5/CPU.h @@ -137,7 +137,7 @@ typedef struct ArmCpu{ ArmCpuHypercall hypercallF; ArmSetFaultAdrF setFaultAdrF; - icache ic; + //icache ic; //not using icache for now void* userData; //shared by all callbacks }ArmCpu; diff --git a/tools/palm/muExpansionDriver/globals.h b/tools/palm/muExpansionDriver/globals.h index 6f8b4a1..7eb678b 100644 --- a/tools/palm/muExpansionDriver/globals.h +++ b/tools/palm/muExpansionDriver/globals.h @@ -5,10 +5,6 @@ enum{ ARM_STACK_START = 0, - ARM_EXIT_FUNC, - ARM_CALL_68K_FUNC, - M68K_CALL_WITH_BLOB_FUNC, - RESOURCE_GLOBALS_INITIALIZED, TUNGSTEN_W_DRIVERS_INSTALLED, CURRENT_RESOLUTION, ORIGINAL_FRAMEBUFFER diff --git a/tools/palm/muExpansionDriver/make.sh b/tools/palm/muExpansionDriver/make.sh index 99b7c73..55148b1 100755 --- a/tools/palm/muExpansionDriver/make.sh +++ b/tools/palm/muExpansionDriver/make.sh @@ -23,11 +23,6 @@ for I in "${FILES[@]}"; do done m68k-palmos-gcc -o $APP_NAME *.o -# copy ASM blobs -cp ./blobs/armExit.func ./func0000.bin # ARM code -cp ./blobs/armCall68k.func ./func0001.bin # ARM code -cp ./blobs/m68kCallWithBlob.func ./func0002.bin # 68k code - # if possible generate icon trees if type "MakePalmBitmap" &> /dev/null; then MakePalmBitmap icon ./appIcon.svg ./ diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 7e2b31d..fe11f7a 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -28,58 +28,6 @@ static void lockCodeXXXX(void){ } } -static void installResourceGlobals(void){ - if(!getGlobalVar(RESOURCE_GLOBALS_INITIALIZED)){ - MemHandle funcBlob; - MemPtr funcBlobPtr; - - /*ARM_EXIT_FUNC*/ - funcBlob = DmGetResource(FUNCTION_BLOB_TYPE, ARM_EXIT_FUNC_ID); - if(!funcBlob) - debugLog("Cant open ARM_EXIT_FUNC!\n"); - - funcBlobPtr = MemHandleLock(funcBlob); - if(!funcBlobPtr) - debugLog("Cant lock ARM_EXIT_FUNC!\n"); - - if((uint32_t)funcBlobPtr & 0x00000003) - debugLog("ARM_EXIT_FUNC is unaligned!\n"); - - setGlobalVar(ARM_EXIT_FUNC, (uint32_t)funcBlobPtr); - - /*ARM_CALL_68K_FUNC*/ - funcBlob = DmGetResource(FUNCTION_BLOB_TYPE, ARM_CALL_68K_FUNC_ID); - if(!funcBlob) - debugLog("Cant open ARM_CALL_68K_FUNC!\n"); - - funcBlobPtr = MemHandleLock(funcBlob); - if(!funcBlobPtr) - debugLog("Cant lock ARM_CALL_68K_FUNC!\n"); - - if((uint32_t)funcBlobPtr & 0x00000003) - debugLog("ARM_CALL_68K_FUNC is unaligned!\n"); - - setGlobalVar(ARM_CALL_68K_FUNC, (uint32_t)funcBlobPtr); - - /*M68K_CALL_WITH_BLOB_FUNC*/ - funcBlob = DmGetResource(FUNCTION_BLOB_TYPE, M68K_CALL_WITH_BLOB_FUNC_ID); - if(!funcBlob) - debugLog("Cant open M68K_CALL_WITH_BLOB_FUNC!\n"); - - funcBlobPtr = MemHandleLock(funcBlob); - if(!funcBlobPtr) - debugLog("Cant lock M68K_CALL_WITH_BLOB_FUNC!\n"); - - if((uint32_t)funcBlobPtr & 0x00000001) - debugLog("M68K_CALL_WITH_BLOB_FUNC is unaligned!\n"); - - setGlobalVar(M68K_CALL_WITH_BLOB_FUNC, (uint32_t)funcBlobPtr); - - /*dont run this function again*/ - setGlobalVar(RESOURCE_GLOBALS_INITIALIZED, true); - } -} - static void install128mbRam(uint8_t mbDynamicHeap){ /*these functions are called by HwrInit, which can be called directly by apps*/ /*PrvGetRAMSize_10002C5E, small ROM*/ @@ -270,8 +218,8 @@ void initBoot(uint32_t* configFile){ if(!thisAppRef) debugLog("Cant open " APP_NAME "!\n"); + /*prevents the code being moved out from underneath its function pointers(in the API trap table), causing crashes*/ lockCodeXXXX(); - installResourceGlobals(); if(enabledFeatures & FEATURE_DEBUG) installDebugHandlers(); diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index b877199..506043a 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -14,9 +14,10 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ - uint8_t* armExitFunc = (uint8_t*)getGlobalVar(ARM_EXIT_FUNC); - uint8_t* armCall68kFunc = (uint8_t*)getGlobalVar(ARM_CALL_68K_FUNC); - uint8_t* m68kCallWithBlobFunc = (uint8_t*)getGlobalVar(M68K_CALL_WITH_BLOB_FUNC); + /*thes arnt set as "static" because the globals dont work here*/ + const ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ + const ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ + const ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ uint32_t oldArmRegisters[5]; uint32_t returnValue; From 806c95b20bd95380bcd3468ba153d56a924b1690 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sat, 30 Mar 2019 11:40:12 -0700 Subject: [PATCH 03/47] Allow clearing key binds without assigning new ones --- qtBuildSystem/Mu/settingsmanager.cpp | 29 ++++++++++++++++++---------- qtBuildSystem/Mu/settingsmanager.h | 1 + qtBuildSystem/Mu/settingsmanager.ui | 11 +++++++++-- 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/qtBuildSystem/Mu/settingsmanager.cpp b/qtBuildSystem/Mu/settingsmanager.cpp index 68bf04a..420a64c 100644 --- a/qtBuildSystem/Mu/settingsmanager.cpp +++ b/qtBuildSystem/Mu/settingsmanager.cpp @@ -63,16 +63,16 @@ void SettingsManager::setKeySelectorState(int8_t key){ } void SettingsManager::updateButtonKeys(){ - ui->selectUpKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_UP) + "Key", "").toInt()).toString()); - ui->selectDownKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_DOWN) + "Key", "").toInt()).toString()); - ui->selectLeftKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_LEFT) + "Key", "").toInt()).toString()); - ui->selectRightKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_RIGHT) + "Key", "").toInt()).toString()); - ui->selectCenterKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_CENTER) + "Key", "").toInt()).toString()); - ui->selectCalendarKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_CALENDAR) + "Key", "").toInt()).toString()); - ui->selectAddressBookKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_ADDRESS) + "Key", "").toInt()).toString()); - ui->selectTodoKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_TODO) + "Key", "").toInt()).toString()); - ui->selectNotesKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_NOTES) + "Key", "").toInt()).toString()); - ui->selectPowerKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_POWER) + "Key", "").toInt()).toString()); + ui->selectUpKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_UP) + "Key", '\0').toInt()).toString()); + ui->selectDownKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_DOWN) + "Key", '\0').toInt()).toString()); + ui->selectLeftKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_LEFT) + "Key", '\0').toInt()).toString()); + ui->selectRightKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_RIGHT) + "Key", '\0').toInt()).toString()); + ui->selectCenterKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_CENTER) + "Key", '\0').toInt()).toString()); + ui->selectCalendarKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_CALENDAR) + "Key", '\0').toInt()).toString()); + ui->selectAddressBookKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_ADDRESS) + "Key", '\0').toInt()).toString()); + ui->selectTodoKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_TODO) + "Key", '\0').toInt()).toString()); + ui->selectNotesKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_NOTES) + "Key", '\0').toInt()).toString()); + ui->selectPowerKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_POWER) + "Key", '\0').toInt()).toString()); } void SettingsManager::on_showOnscreenKeys_toggled(bool checked){ @@ -130,6 +130,15 @@ void SettingsManager::on_selectPowerKey_clicked(){ setKeySelectorState(EmuWrapper::BUTTON_POWER); } +void SettingsManager::on_clearKeyBind_clicked(){ + if(waitingOnKeyForButton != -1){ + settings->setValue("palmButton" + QString::number(waitingOnKeyForButton) + "Key", '\0'); + + setKeySelectorState(-1); + updateButtonKeys(); + } +} + void SettingsManager::on_feature128mbRam_toggled(bool checked){ settings->setValue("feature128mbRam", checked); } diff --git a/qtBuildSystem/Mu/settingsmanager.h b/qtBuildSystem/Mu/settingsmanager.h index 075718f..1ab18c3 100644 --- a/qtBuildSystem/Mu/settingsmanager.h +++ b/qtBuildSystem/Mu/settingsmanager.h @@ -41,6 +41,7 @@ private slots: void on_selectTodoKey_clicked(); void on_selectNotesKey_clicked(); void on_selectPowerKey_clicked(); + void on_clearKeyBind_clicked(); void on_feature128mbRam_toggled(bool checked); void on_featureFastCpu_toggled(bool checked); diff --git a/qtBuildSystem/Mu/settingsmanager.ui b/qtBuildSystem/Mu/settingsmanager.ui index 2b2a110..80e1be0 100644 --- a/qtBuildSystem/Mu/settingsmanager.ui +++ b/qtBuildSystem/Mu/settingsmanager.ui @@ -30,8 +30,8 @@ 0 0 - 624 - 411 + 629 + 433 @@ -222,6 +222,13 @@ + + + + Clear Key Bind + + + From bdb445fb722e2d4d040f3310da1bdbb456bb5a28 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sun, 31 Mar 2019 12:24:28 -0700 Subject: [PATCH 04/47] Fixed debug stack reading --- qtBuildSystem/Mu/mainwindow.cpp | 6 ++-- qtBuildSystem/Mu/settingsmanager.cpp | 2 +- tools/palm/muExpansionDriver/config.h | 5 ---- .../muExpansionDriver/palmGlobalDefines.h | 1 + tools/palm/muExpansionDriver/palmOsPriv.h | 2 ++ tools/palm/muExpansionDriver/patcher.c | 28 +++++++++++++++++++ tools/palm/muExpansionDriver/traps.h | 4 +-- .../unimplementedFeatures.txt | 1 + 8 files changed, 38 insertions(+), 11 deletions(-) diff --git a/qtBuildSystem/Mu/mainwindow.cpp b/qtBuildSystem/Mu/mainwindow.cpp index a3b0dc8..222600c 100644 --- a/qtBuildSystem/Mu/mainwindow.cpp +++ b/qtBuildSystem/Mu/mainwindow.cpp @@ -87,7 +87,7 @@ MainWindow::MainWindow(QWidget* parent) : settings->setValue("hideOnscreenKeys", true); #endif } - hideOnscreenKeys = settings->value("hideOnscreenKeys", "").toBool(); + hideOnscreenKeys = settings->value("hideOnscreenKeys", false).toBool(); //this makes the display window and button icons resize properly ui->centralWidget->installEventFilter(this); @@ -205,7 +205,7 @@ void MainWindow::popupInformationDialog(const QString& info){ } void MainWindow::redraw(){ - bool hideOnscreenKeys = settings->value("hideOnscreenKeys", "").toBool(); + bool hideOnscreenKeys = settings->value("hideOnscreenKeys", false).toBool(); QResizeEvent* resizeEvent = new QResizeEvent(ui->centralWidget->size(), ui->centralWidget->size()); //update current keys @@ -236,7 +236,7 @@ bool MainWindow::eventFilter(QObject* object, QEvent* event){ if(object->objectName() == "centralWidget"){ float smallestRatio; - bool hideOnscreenKeys = settings->value("hideOnscreenKeys", "").toBool(); + bool hideOnscreenKeys = settings->value("hideOnscreenKeys", false).toBool(); //update displayContainer first, make the display occupy the top 3/5 of the screen if there are Palm keys or 4/5 if theres not ui->displayContainer->setFixedHeight(ui->centralWidget->height() * (hideOnscreenKeys ? 0.80 : 0.60)); diff --git a/qtBuildSystem/Mu/settingsmanager.cpp b/qtBuildSystem/Mu/settingsmanager.cpp index 420a64c..87b46c0 100644 --- a/qtBuildSystem/Mu/settingsmanager.cpp +++ b/qtBuildSystem/Mu/settingsmanager.cpp @@ -21,7 +21,7 @@ SettingsManager::SettingsManager(QWidget* parent) : //set all GUI items to current config values ui->homeDirectory->setText(settings->value("resourceDirectory", "").toString()); - ui->showOnscreenKeys->setChecked(!settings->value("hideOnscreenKeys", "").toBool()); + ui->showOnscreenKeys->setChecked(!settings->value("hideOnscreenKeys", false).toBool()); ui->feature128mbRam->setChecked(settings->value("feature128mbRam", false).toBool()); ui->featureFastCpu->setChecked(settings->value("featureFastCpu", false).toBool()); diff --git a/tools/palm/muExpansionDriver/config.h b/tools/palm/muExpansionDriver/config.h index ff40b95..a4cafe6 100644 --- a/tools/palm/muExpansionDriver/config.h +++ b/tools/palm/muExpansionDriver/config.h @@ -7,11 +7,6 @@ #define APP_NAME "MuExpDriver" #define APP_ID 'MuDv' -#define FUNCTION_BLOB_TYPE 'func' -#define ARM_EXIT_FUNC_ID 0x0000 -#define ARM_CALL_68K_FUNC_ID 0x0001 -#define M68K_CALL_WITH_BLOB_FUNC_ID 0x0002 - /*config vars*/ enum{ USER_WARNING_GIVEN = 0, diff --git a/tools/palm/muExpansionDriver/palmGlobalDefines.h b/tools/palm/muExpansionDriver/palmGlobalDefines.h index da51ec2..7934dc5 100644 --- a/tools/palm/muExpansionDriver/palmGlobalDefines.h +++ b/tools/palm/muExpansionDriver/palmGlobalDefines.h @@ -6,6 +6,7 @@ #define CODE_SECTION(codeSection) __attribute__((section(codeSection))) #define NO_RETURN __attribute__((noreturn)) #define ALIGN(size) __attribute__((aligned(size))) +#define PACKED __attribute__((packed)) #define FIXED_ADDRESS_VAR(a, t) (*((volatile t*)a)) #define readArbitraryMemory8(address) (*((volatile uint8_t*)(address))) diff --git a/tools/palm/muExpansionDriver/palmOsPriv.h b/tools/palm/muExpansionDriver/palmOsPriv.h index 9485acb..1144b85 100644 --- a/tools/palm/muExpansionDriver/palmOsPriv.h +++ b/tools/palm/muExpansionDriver/palmOsPriv.h @@ -1,6 +1,7 @@ #ifndef PALM_OS_PRIV_H #define PALM_OS_PRIV_H +#include #include "palmGlobalDefines.h" /*these are all the Palm OS varibles the SDK dosent expose that I have found while decompiling Palm OS*/ @@ -12,6 +13,7 @@ #define ResetVector FIXED_ADDRESS_VAR(0x00000004, void*) /*OS*/ +#define TrapTablePtr FIXED_ADDRESS_VAR(0x00000122, uint32_t*) #define ScrStatePtr FIXED_ADDRESS_VAR(0x00000164, void*) #endif diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index fe11f7a..50d1f9c 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -28,6 +28,34 @@ static void lockCodeXXXX(void){ } } +static void resizeTrapTable(void){ + uint16_t oldSr; + uint32_t* oldTrapTable; + uint32_t* newTrapTable; + + /*order and time sensitive code!!!*/ + oldSr = SysDisableInts(); + + /*get new trap table memory*/ + newTrapTable = MemChunkNew(0, (sysTrapLastTrapNumber - sysTrapBase) * sizeof(uint32_t), memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); + + /*copy over old OS 4 size trap table and 0 out the OS 5 part*/ + MemMove(newTrapTable, TrapTablePtr, (sysTrapPceNativeCall - sysTrapBase) * sizeof(uint32_t)); + MemSet(newTrapTable + sysTrapPceNativeCall - sysTrapBase, (sysTrapLastTrapNumber - sysTrapPceNativeCall) * sizeof(uint32_t), 0x00); + + /*save old table pointer to free*/ + oldTrapTable = TrapTablePtr + + /*swap the tables*/ + TrapTablePtr = newTrapTable; + + /*free the old table*/ + MemChunkFree(oldTrapTable); + + /*return to normal execution*/ + SysRestoreStatus(oldSr); +} + static void install128mbRam(uint8_t mbDynamicHeap){ /*these functions are called by HwrInit, which can be called directly by apps*/ /*PrvGetRAMSize_10002C5E, small ROM*/ diff --git a/tools/palm/muExpansionDriver/traps.h b/tools/palm/muExpansionDriver/traps.h index 507a3cf..4b5a928 100644 --- a/tools/palm/muExpansionDriver/traps.h +++ b/tools/palm/muExpansionDriver/traps.h @@ -6,9 +6,9 @@ #include "palmGlobalDefines.h" -typedef struct{ +typedef struct PACKED{ + uint32_t linkSp; uint32_t pc; - uint32_t sp; }__return_stack_frame_type; #define __return_stack_frame register __return_stack_frame_type* __stack_frame asm("a6") diff --git a/tools/palm/muExpansionDriver/unimplementedFeatures.txt b/tools/palm/muExpansionDriver/unimplementedFeatures.txt index 897c0ff..384f7b1 100644 --- a/tools/palm/muExpansionDriver/unimplementedFeatures.txt +++ b/tools/palm/muExpansionDriver/unimplementedFeatures.txt @@ -11,6 +11,7 @@ For some reason the new versions of MuExpDriver dont work with Chuzzle anymore Need to allocate a new trap table and set the global to that, not just write off the end of the existing one Need to lock the code resources on boot, databases can be shuffled in RAM to free up space and that will corrupt old trap addresses Need to patch SysGetOSVersionString +Crash on first load when pressing "Emulator", probably caused by accessing the config file wrong Fixed: GUI \ No newline at end of file From 6ca82f22cc9e35a823e2f0d8f71a0f1686c63460 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sun, 31 Mar 2019 12:39:57 -0700 Subject: [PATCH 05/47] Add missing semicannoli --- tools/palm/muExpansionDriver/patcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 50d1f9c..25213a7 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -44,7 +44,7 @@ static void resizeTrapTable(void){ MemSet(newTrapTable + sysTrapPceNativeCall - sysTrapBase, (sysTrapLastTrapNumber - sysTrapPceNativeCall) * sizeof(uint32_t), 0x00); /*save old table pointer to free*/ - oldTrapTable = TrapTablePtr + oldTrapTable = TrapTablePtr; /*swap the tables*/ TrapTablePtr = newTrapTable; From 992e1cda84440ab52aa45676ed7780ea18500257 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 2 Apr 2019 12:03:21 -0700 Subject: [PATCH 06/47] Begin adding ability to monitor app behavior with sandbox --- qtBuildSystem/Mu/Mu.pro | 5 +- src/debug/sandbox.c | 169 ++++++++++++++++++++++++++++++++++++---- src/debug/sandbox.h | 8 +- src/emulator.c | 13 +++- src/memoryAccess.c | 12 +-- 5 files changed, 179 insertions(+), 28 deletions(-) diff --git a/qtBuildSystem/Mu/Mu.pro b/qtBuildSystem/Mu/Mu.pro index a9286ad..7f2bab9 100644 --- a/qtBuildSystem/Mu/Mu.pro +++ b/qtBuildSystem/Mu/Mu.pro @@ -60,8 +60,9 @@ ios{ CONFIG(debug, debug|release){ # debug build, be accurate, fail hard, and add logging DEFINES += EMU_DEBUG EMU_CUSTOM_DEBUG_LOG_HANDLER EMU_SANDBOX - DEFINES += EMU_SANDBOX_OPCODE_LEVEL_DEBUG # for breakpoints - DEFINES += EMU_SANDBOX_LOG_APIS # for printing sysTrap* calls, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must be on too + DEFINES += EMU_SANDBOX_LOG_MEMORY_ACCESSES # checks all reads and writes to memory and logs certain events + # DEFINES += EMU_SANDBOX_OPCODE_LEVEL_DEBUG # for breakpoints + # DEFINES += EMU_SANDBOX_LOG_APIS # for printing sysTrap* calls, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must be on too macx|linux-g++{ # also check for any buffer overflows and memory leaks # -fsanitize=undefined,leak diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index f3d9c9c..32d42bf 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -21,6 +21,9 @@ #include "trapNames.h" +#define SANDBOX_MAX_WATCH_REGIONS 1000 + + typedef struct{ void* hostPointer; uint32_t emuPointer; @@ -35,11 +38,17 @@ typedef struct{ uint32_t d0; }local_cpu_state_t; +typedef struct{ + uint32_t address; + uint32_t size; +}mem_region_t; + static bool sandboxActive;//used to "log out" of the emulator once a test has finished static bool sandboxControlHandoff;//used for functions that depend on timing, hands full control to the 68k static local_cpu_state_t sandboxOldFunctionCpuState; - +static mem_region_t sandboxWatchRegions[SANDBOX_MAX_WATCH_REGIONS];//code locations in m68k address space to be sandboxed +static uint16_t sandboxWatchRegionsActive;//number of used sandboxWatchRegions entrys static uint32_t sandboxCallGuestFunction(bool fallthrough, uint32_t address, uint16_t trap, const char* prototype, ...); @@ -61,7 +70,7 @@ static char* takeStackDump(uint32_t bytes){ return textBytes; } -void patchOsRom(uint32_t address, char* patch){ +static void patchOsRom(uint32_t address, char* patch){ uint32_t offset; uint32_t patchBytes = strlen(patch) / 2;//1 char per nibble uint32_t swapBegin = address & 0xFFFFFFFE; @@ -77,6 +86,49 @@ void patchOsRom(uint32_t address, char* patch){ swap16BufferIfLittle(&palmRom[swapBegin], swapSize); } +static const char* getLowMemGlobalName(uint32_t address){ + switch(address){ + case 0x00000100: + return "MemTotalCards"; + + case 0x00000102: + return "MemCard0Start"; + + case 0x0000010A: + return "MemDebugFlags"; + + case 0x00000122: + return "TrapTablePtr"; + + case 0x00000164: + return "ScrStatePtr"; + + case 0x0000016C: + return "PenStatePtr"; + + case 0x00000170: + return "EvtStatePtr"; + + case 0x00000174: + return "SndStatePtr"; + + case 0x00000178: + return "TimStatePtr"; + + case 0x0000017C: + return "AlmStatePtr"; + + case 0x00000180: + return "FtrStatePtr"; + + case 0x00000184: + return "GrfStatePtr"; + + default: + return "UNKNOWN"; + } +} + static bool ignoreTrap(uint16_t trap){ switch(trap){ case HwrDisableDataWrites: @@ -265,7 +317,7 @@ static void freePalmString(uint32_t address){ sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", address); } -static bool installResourceToDevice(buffer_t resourceBuffer){ +static bool installDebuggableResourceToDevice(buffer_t resourceBuffer){ /* #define memNewChunkFlagNonMovable 0x0200 #define memNewChunkFlagAllowLarge 0x1000 // this is not in the sdk *g* @@ -285,7 +337,6 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ } */ - //uint32_t palmSideResourceData = callFunction(false, 0x00000000, MemPtrNew, "p(l)", (uint32_t)resourceBuffer.size); uint32_t palmSideResourceData = sandboxCallGuestFunction(false, 0x00000000, MemChunkNew, "p(wlw)", 1/*heapID, storage RAM*/, resourceBuffer.size, 0x1200/*attr, seems to work without memOwnerID*/); bool storageRamReadOnly = chips[CHIP_DX_RAM].readOnlyForProtectedMemory; uint16_t error; @@ -302,6 +353,8 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ error = sandboxCallGuestFunction(false, 0x00000000, DmCreateDatabaseFromImage, "w(p)", palmSideResourceData);//Err DmCreateDatabaseFromImage(MemPtr bufferP);//this looks best sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", palmSideResourceData); + //TODO: need to get final install location and add it to the watch list + //didnt install if(error != 0) return false; @@ -309,6 +362,7 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ return true; } + static uint32_t sandboxGetStackFrameSize(const char* prototype){ const char* params = prototype + 2; uint32_t size = 0; @@ -508,8 +562,43 @@ static uint32_t sandboxCallGuestFunction(bool fallthrough, uint32_t address, uin void sandboxInit(void){ + sandboxReset(); + + //patch OS here if needed + //debug patches + //sandboxCommand(SANDBOX_PATCH_OS, NULL); + + //add memory region monitors + /* + if(pc >= 0x100A07DC && pc <= 0x100ADB3C){ + //the SD slot driver + return true; + } + */ +} + +void sandboxReset(void){ sandboxActive = false; sandboxControlHandoff = false; + + memset(sandboxWatchRegions, 0x00, sizeof(sandboxWatchRegions)); + sandboxWatchRegionsActive = 0; +} + +uint32_t sandboxStateSize(void){ + uint32_t size = 0; + + return size; +} + +void sandboxSaveState(uint8_t* data){ + uint32_t offset = 0; + +} + +void sandboxLoadState(uint8_t* data){ + uint32_t offset = 0; + } uint32_t sandboxCommand(uint32_t command, void* data){ @@ -641,9 +730,9 @@ uint32_t sandboxCommand(uint32_t command, void* data){ } break; - case SANDBOX_INSTALL_APP:{ + case SANDBOX_DEBUG_INSTALL_APP:{ buffer_t* app = (buffer_t*)data; - bool success = installResourceToDevice(*app); + bool success = installDebuggableResourceToDevice(*app); if(!success) result = EMU_ERROR_OUT_OF_MEMORY; @@ -728,15 +817,22 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t isRecursive = true; //actual code goes below:vvv - if(write && address >= 0x00000122 && address <= 0x00000125){ - //writing the trap table pointer, this should only happen once - char* function = getFunctionName(m68k_get_reg(NULL, M68K_REG_PPC)); + if(address >= 0x00000000 && address < 0x00010000){ + //capture any reads or writes to the low mem globals + uint32_t pc = m68k_get_reg(NULL, M68K_REG_PPC); + char* function = getFunctionName(pc); + const char* variableName = getLowMemGlobalName(address);//dont free this pointer, it just returns a string constant from a list of string constants bool functionValid = !!function; if(!functionValid) function = "NAME NOT FOUND"; - debugLog("Writing trap table pointer: size:%d, value:0x%08X, address:0x%08X, function:%s\n", size, value, address, function); + if(strcmp(variableName, "UNKNOWN")){ + if(write) + debugLog("Writing low mem global: name:%s/address:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", variableName, address, size, value, function, pc); + else + debugLog("Reading low mem global: name:%s/address:0x%08X, size:%d, function:%s/PC:0x%08X\n", variableName, address, size, function, pc); + } if(functionValid) free(function); @@ -751,13 +847,11 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t bool sandboxRunning(void){ uint32_t pc = m68k_get_reg(NULL, M68K_REG_PC); - //this is used to capture full logs from certain sections of the ROM - /* - if(pc >= 0x100A07DC && pc <= 0x100ADB3C){ - //the SD slot driver - return true; + //this is used to capture full logs when running from specific locations + for(uint16_t memRegion = 0; memRegion < sandboxWatchRegionsActive; memRegion++){ + if(pc >= sandboxWatchRegions[memRegion].address && pc < sandboxWatchRegions[memRegion].address + sandboxWatchRegions[memRegion].size) + return true; } - */ return sandboxActive; } @@ -772,11 +866,54 @@ void sandboxReturn(void){ } } +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size){ + uint16_t index; + + //cant get 0 sized memory area + if(size < 1) + return 0xFFFF; + + //try to use old watch region if possible + for(index = 0; index < sandboxWatchRegionsActive; index++){ + if(sandboxWatchRegions[index].size == 0){ + //found reusable region + sandboxWatchRegions[sandboxWatchRegionsActive].address = address; + sandboxWatchRegions[sandboxWatchRegionsActive].size = size; + + //return watch region reference, this doesnt change until the region is deleted + return index; + } + } + + //get new region + sandboxWatchRegions[sandboxWatchRegionsActive].address = address; + sandboxWatchRegions[sandboxWatchRegionsActive].size = size; + sandboxWatchRegionsActive++; + + //return watch region reference, this doesnt change until the region is deleted + return sandboxWatchRegionsActive - 1; +} + +void sandboxClearWatchRegion(uint16_t index){ + if(index < sandboxWatchRegionsActive){ + if(index == sandboxWatchRegionsActive - 1) + sandboxWatchRegionsActive--;//remove from end + else + sandboxWatchRegions[index].size = 0;//mark as empty + } +} + #else void sandboxInit(void){} +void sandboxReset(void){} +uint32_t sandboxStateSize(void){return 0;} +void sandboxSaveState(uint8_t* data){} +void sandboxLoadState(uint8_t* data){} uint32_t sandboxCommand(uint32_t command, void* data){return 0;} void sandboxOnOpcodeRun(void){} void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value){} bool sandboxRunning(void){return false;} void sandboxReturn(void){} +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size){} +void sandboxClearWatchRegion(uint16_t index){} #endif diff --git a/src/debug/sandbox.h b/src/debug/sandbox.h index 1199ee2..d7a8297 100644 --- a/src/debug/sandbox.h +++ b/src/debug/sandbox.h @@ -6,14 +6,20 @@ enum{ SANDBOX_PATCH_OS = 0, - SANDBOX_INSTALL_APP + SANDBOX_DEBUG_INSTALL_APP }; void sandboxInit(void); +void sandboxReset(void); +uint32_t sandboxStateSize(void); +void sandboxSaveState(uint8_t* data); +void sandboxLoadState(uint8_t* data); uint32_t sandboxCommand(uint32_t command, void* data); void sandboxOnOpcodeRun(void); void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value); bool sandboxRunning(void); void sandboxReturn(void);//should only be called called by 68k code +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size); +void sandboxClearWatchRegion(uint16_t index); #endif diff --git a/src/emulator.c b/src/emulator.c index 9e9174b..cbaf16c 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -109,9 +109,6 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab emulatorSoftReset(); setRtc(0, 0, 0, 0);//RTCTIME and DAYR are not cleared by reset, clear them manually in case the frontend doesnt set the RTC - //debug patches - sandboxCommand(SANDBOX_PATCH_OS, NULL); - emulatorInitialized = true; return EMU_ERROR_NONE; @@ -149,6 +146,7 @@ void emulatorSoftReset(void){ pdiUsbD12Reset(); expansionHardwareReset(); flx68000Reset(); + sandboxReset(); //sdCardReset() should not be called here, the SD card does not have a reset line and should only be reset by a power cycle } @@ -168,6 +166,7 @@ uint32_t emulatorGetStateSize(void){ size += ads7846StateSize(); size += pdiUsbD12StateSize(); size += expansionHardwareStateSize(); + size += sandboxStateSize(); if(palmEmuFeatures.info & FEATURE_RAM_HUGE) size += SUPERMASSIVE_RAM_SIZE;//system RAM buffer else @@ -240,6 +239,10 @@ bool emulatorSaveState(buffer_t buffer){ expansionHardwareSaveState(buffer.data + offset); offset += expansionHardwareStateSize(); + //sandbox, does nothing when disabled + sandboxSaveState(buffer.data + offset); + offset += sandboxStateSize(); + //memory if(palmEmuFeatures.info & FEATURE_RAM_HUGE){ memcpy(buffer.data + offset, palmRam, SUPERMASSIVE_RAM_SIZE); @@ -441,6 +444,10 @@ bool emulatorLoadState(buffer_t buffer){ expansionHardwareLoadState(buffer.data + offset); offset += expansionHardwareStateSize(); + //sandbox, does nothing when disabled + sandboxLoadState(buffer.data + offset); + offset += sandboxStateSize(); + //memory if(palmEmuFeatures.info & FEATURE_RAM_HUGE){ memcpy(palmRam, buffer.data + offset, SUPERMASSIVE_RAM_SIZE); diff --git a/src/memoryAccess.c b/src/memoryAccess.c index 39efcde..a324574 100644 --- a/src/memoryAccess.c +++ b/src/memoryAccess.c @@ -117,7 +117,7 @@ uint8_t m68k_read_memory_8(uint32_t address){ return 0x00; #endif -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) sandboxOnMemoryAccess(address, 8, false, 0); #endif @@ -159,7 +159,7 @@ uint16_t m68k_read_memory_16(uint32_t address){ return 0x0000; #endif -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) sandboxOnMemoryAccess(address, 16, false, 0); #endif @@ -201,7 +201,7 @@ uint32_t m68k_read_memory_32(uint32_t address){ return 0x00000000; #endif -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) sandboxOnMemoryAccess(address, 32, false, 0); #endif @@ -243,7 +243,7 @@ void m68k_write_memory_8(uint32_t address, uint8_t value){ return; #endif -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) sandboxOnMemoryAccess(address, 8, true, value); #endif @@ -289,7 +289,7 @@ void m68k_write_memory_16(uint32_t address, uint16_t value){ return; #endif -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) sandboxOnMemoryAccess(address, 16, true, value); #endif @@ -335,7 +335,7 @@ void m68k_write_memory_32(uint32_t address, uint32_t value){ return; #endif -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) sandboxOnMemoryAccess(address, 32, true, value); #endif From 33002e9fb37c3a243231bda86a926f9fbb7f5b8a Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 2 Apr 2019 12:35:20 -0700 Subject: [PATCH 07/47] Cleanups, try and make sandbox C89 compliant --- qtBuildSystem/Mu/emuwrapper.cpp | 2 +- qtBuildSystem/Mu/mainwindow.cpp | 4 ---- src/armv5.c | 6 +++--- src/debug/sandbox.c | 20 +++++++++++++------- src/emulator.c | 14 +++++++++++--- src/pdiUsbD12.c | 8 ++++---- 6 files changed, 32 insertions(+), 22 deletions(-) diff --git a/qtBuildSystem/Mu/emuwrapper.cpp b/qtBuildSystem/Mu/emuwrapper.cpp index 9cd70e0..a0d116d 100644 --- a/qtBuildSystem/Mu/emuwrapper.cpp +++ b/qtBuildSystem/Mu/emuwrapper.cpp @@ -395,7 +395,7 @@ uint32_t EmuWrapper::installApplication(const QString& path){ appFile.close(); appData.data = (uint8_t*)appDataBuffer.data(); appData.size = appDataBuffer.size(); - error = sandboxCommand(SANDBOX_INSTALL_APP, &appData); + error = sandboxCommand(SANDBOX_DEBUG_INSTALL_APP, &appData); } if(!wasPaused) diff --git a/qtBuildSystem/Mu/mainwindow.cpp b/qtBuildSystem/Mu/mainwindow.cpp index 222600c..c23f257 100644 --- a/qtBuildSystem/Mu/mainwindow.cpp +++ b/qtBuildSystem/Mu/mainwindow.cpp @@ -184,10 +184,6 @@ uint32_t MainWindow::getEmuFeatureList(){ features |= settings->value("featureExtraKeys", false).toBool() ? FEATURE_EXT_KEYS : 0; features |= settings->value("featureSoundStreams", false).toBool() ? FEATURE_SND_STRMS : 0; -#if defined(EMU_DEBUG) - features |= FEATURE_DEBUG; -#endif - //lazy debug overrides //features = FEATURE_EXT_KEYS | FEATURE_EMU_HONEST | FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_DEBUG | FEATURE_SND_STRMS; //features = FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_DEBUG; diff --git a/src/armv5.c b/src/armv5.c index 0c6d32d..13f07d0 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -85,10 +85,10 @@ uint32_t armv5StateSize(void){ //armv5Cpu size += sizeof(uint32_t) * 16;//armv5Cpu.regs - size += sizeof(uint32_t) * 2;//armv5Cpu.CPSR/SPSR - size += sizeof(uint32_t) * 3 * 6;//armv5Cpu.bank_usr/bank_svc/bank_abt/bank_und/bank_irq/bank_fiq + size += sizeof(uint32_t) * 2;//armv5Cpu.CPSR / armv5Cpu.SPSR + size += sizeof(uint32_t) * 3 * 6;//armv5Cpu.bank_(usr/svc/abt/und/irq/fiq) size += sizeof(uint32_t) * 5;//armv5Cpu.extra_regs - size += sizeof(uint16_t) * 3;//armv5Cpu.waitingIrqs/waitingFiqs/CPAR + size += sizeof(uint16_t) * 3;//armv5Cpu.waiting(Irqs/Fiqs) / armv5Cpu.CPAR size += sizeof(uint32_t);//armv5Cpu.vectorBase //variables diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 32d42bf..f23fbeb 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -50,6 +50,7 @@ static local_cpu_state_t sandboxOldFunctionCpuState; static mem_region_t sandboxWatchRegions[SANDBOX_MAX_WATCH_REGIONS];//code locations in m68k address space to be sandboxed static uint16_t sandboxWatchRegionsActive;//number of used sandboxWatchRegions entrys + static uint32_t sandboxCallGuestFunction(bool fallthrough, uint32_t address, uint16_t trap, const char* prototype, ...); #include "sandboxTrapNumToName.c.h" @@ -150,12 +151,11 @@ static void logApiCalls(void){ uint32_t programCounter = m68k_get_reg(NULL, M68K_REG_PPC); uint16_t instruction = m68k_get_reg(NULL, M68K_REG_IR); - if(instruction == 0x4E4F){ - //Trap F/API call + if(instruction == 0x4E4F/*Trap F/API call opcode*/){ uint16_t trap = m68k_read_memory_16(programCounter + 2); - if(!ignoreTrap(trap)){ + + if(!ignoreTrap(trap)) debugLog("Trap F API:%s, API number:0x%04X, PC:0x%08X\n", lookupTrap(trap), trap, programCounter); - } } } @@ -167,7 +167,6 @@ static bool isAlphanumeric(char chr){ static bool readable6CharsBack(uint32_t address){ uint8_t count; - for(count = 0; count < 6; count++) if(!isAlphanumeric(m68k_read_memory_8(address - count))) return false; @@ -588,6 +587,12 @@ void sandboxReset(void){ uint32_t sandboxStateSize(void){ uint32_t size = 0; + size += sizeof(uint8_t) * 2;//sandboxActive / sandboxControlHandoff + size += sizeof(uint32_t) * 4;//sandboxOldFunctionCpuState.(sp/pc/a0/d0) + size += sizeof(uint16_t);//sandboxOldFunctionCpuState.sr + size += sizeof(uint32_t) * 2;//sandboxWatchRegions.(address/size) + size += sizeof(uint16_t);//sandboxWatchRegionsActive + return size; } @@ -846,9 +851,10 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t bool sandboxRunning(void){ uint32_t pc = m68k_get_reg(NULL, M68K_REG_PC); + uint16_t memRegion; //this is used to capture full logs when running from specific locations - for(uint16_t memRegion = 0; memRegion < sandboxWatchRegionsActive; memRegion++){ + for(memRegion = 0; memRegion < sandboxWatchRegionsActive; memRegion++){ if(pc >= sandboxWatchRegions[memRegion].address && pc < sandboxWatchRegions[memRegion].address + sandboxWatchRegions[memRegion].size) return true; } @@ -869,7 +875,7 @@ void sandboxReturn(void){ uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size){ uint16_t index; - //cant get 0 sized memory area + //cant watch 0 sized memory area if(size < 1) return 0xFFFF; diff --git a/src/emulator.c b/src/emulator.c index cbaf16c..db60a65 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -53,6 +53,14 @@ double palmClk32Sysclks;//how many SYSCLKs have happened in the current CLK32 uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enabledEmuFeatures){ + //only accept valid non debug features from the user + enabledEmuFeatures &= FEATURE_RAM_HUGE | FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_SYNCED_RTC | FEATURE_HLE_APIS | FEATURE_EMU_HONEST | FEATURE_EXT_KEYS | FEATURE_SND_STRMS; + +#if defined(EMU_DEBUG) + //enable debug features if compiled in debug mode + enabledEmuFeatures |= FEATURE_DEBUG; +#endif + if(emulatorInitialized) return EMU_ERROR_RESOURCE_LOCKED; @@ -189,10 +197,10 @@ uint32_t emulatorGetStateSize(void){ size += sizeof(uint8_t) * 6;//pwm1Fifo[6] size += sizeof(uint8_t) * 2;//pwm1(Read/Write) size += sizeof(uint8_t) * 7;//palmMisc - size += sizeof(uint32_t) * 4;//palmEmuFeatures.src / palmEmuFeatures.dst / palmEmuFeatures.size / palmEmuFeatures.value + size += sizeof(uint32_t) * 4;//palmEmuFeatures.(src/dst/size/value) size += sizeof(uint64_t);//palmSdCard.command - size += sizeof(uint8_t) * 8;//palmSdCard.commandBitsRemaining / palmSdCard.runningCommand / palmSdCard.commandIsAcmd /palmSdCard.allowInvalidCrc / palmSdCard.chipSelect / palmSdCard.receivingCommand / palmSdCard.inIdleState / palmSdCard.writeProtectSwitch - size += sizeof(uint16_t) * 2;//palmSdCard.responseReadPosition / palmSdCard.responseWritePosition + size += sizeof(uint8_t) * 8;//palmSdCard.(commandBitsRemaining/runningCommand/commandIsAcmd/allowInvalidCrc/chipSelect/receivingCommand/inIdleState/writeProtectSwitch) + size += sizeof(uint16_t) * 2;//palmSdCard.response(Read/Write)Position size += sizeof(int8_t);//palmSdCard.responseReadPositionBit size += sizeof(uint32_t) * 3;//palmSdCard.runningCommandVars size += SD_CARD_BLOCK_DATA_PACKET_SIZE;//palmSdCard.runningCommandPacket diff --git a/src/pdiUsbD12.c b/src/pdiUsbD12.c index 8323df1..0492898 100644 --- a/src/pdiUsbD12.c +++ b/src/pdiUsbD12.c @@ -70,10 +70,10 @@ void pdiUsbD12Reset(void){ uint32_t pdiUsbD12StateSize(void){ uint32_t size = 0; - size += sizeof(uint8_t); - size += sizeof(uint64_t); - size += PDIUSBD12_TRANSFER_BUFFER_SIZE * PDIUSBD12_FIFO_TOTAL_FIFOS; - size += sizeof(uint16_t) * PDIUSBD12_FIFO_TOTAL_FIFOS * 2; + size += sizeof(uint8_t);//pdiUsbD12Command + size += sizeof(uint64_t);//pdiUsbD12CommandState + size += PDIUSBD12_TRANSFER_BUFFER_SIZE * PDIUSBD12_FIFO_TOTAL_FIFOS;//pdiUsbD12FifoBuffer + size += sizeof(uint16_t) * PDIUSBD12_FIFO_TOTAL_FIFOS * 2;//pdiUsbD12(Read/Write)Position return size; } From dc200683e23d824c5ddd496bd6e46454f9a8bd57 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 2 Apr 2019 13:51:37 -0700 Subject: [PATCH 08/47] Move more logging stuff to sandbox Register logging still isnt working though --- qtBuildSystem/Mu/emuwrapper.cpp | 2 +- src/debug/sandbox.c | 107 ++++++++++++++++++++++------- src/debug/sandbox.h | 14 +++- src/emulator.c | 3 + src/expansionHardware.c | 21 ++++++ src/hardwareRegisters.c | 36 ++-------- src/memoryAccess.c | 1 + src/specs/emuFeatureRegisterSpec.h | 10 +-- 8 files changed, 130 insertions(+), 64 deletions(-) diff --git a/qtBuildSystem/Mu/emuwrapper.cpp b/qtBuildSystem/Mu/emuwrapper.cpp index a0d116d..e8699c2 100644 --- a/qtBuildSystem/Mu/emuwrapper.cpp +++ b/qtBuildSystem/Mu/emuwrapper.cpp @@ -395,7 +395,7 @@ uint32_t EmuWrapper::installApplication(const QString& path){ appFile.close(); appData.data = (uint8_t*)appDataBuffer.data(); appData.size = appDataBuffer.size(); - error = sandboxCommand(SANDBOX_DEBUG_INSTALL_APP, &appData); + error = sandboxCommand(SANDBOX_CMD_DEBUG_INSTALL_APP, &appData); } if(!wasPaused) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index f23fbeb..3622770 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -25,7 +25,7 @@ typedef struct{ - void* hostPointer; + void* hostPointer; uint32_t emuPointer; uint64_t bytes;//may be used for strings or structs in the future }return_pointer_t; @@ -41,6 +41,7 @@ typedef struct{ typedef struct{ uint32_t address; uint32_t size; + uint8_t type; }mem_region_t; @@ -590,7 +591,8 @@ uint32_t sandboxStateSize(void){ size += sizeof(uint8_t) * 2;//sandboxActive / sandboxControlHandoff size += sizeof(uint32_t) * 4;//sandboxOldFunctionCpuState.(sp/pc/a0/d0) size += sizeof(uint16_t);//sandboxOldFunctionCpuState.sr - size += sizeof(uint32_t) * 2;//sandboxWatchRegions.(address/size) + size += sizeof(uint32_t) * 2 * SANDBOX_MAX_WATCH_REGIONS;//sandboxWatchRegions.(address/size) + size += sizeof(uint8_t) * SANDBOX_MAX_WATCH_REGIONS;//sandboxWatchRegions.type size += sizeof(uint16_t);//sandboxWatchRegionsActive return size; @@ -616,7 +618,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ debugLog("Sandbox: Command %d started\n", command); switch(command){ - case SANDBOX_PATCH_OS:{ + case SANDBOX_CMD_PATCH_OS:{ //this will not be in the v1.0 release //remove parts of the OS that cause lockups, yeah its bad @@ -735,7 +737,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ } break; - case SANDBOX_DEBUG_INSTALL_APP:{ + case SANDBOX_CMD_DEBUG_INSTALL_APP:{ buffer_t* app = (buffer_t*)data; bool success = installDebuggableResourceToDevice(*app); @@ -743,6 +745,15 @@ uint32_t sandboxCommand(uint32_t command, void* data){ result = EMU_ERROR_OUT_OF_MEMORY; } break; + + + case SANDBOX_CMD_REGISTER_WATCH_ENABLE:{ + sandboxSetWatchRegion(0xFFFFF000, 0x1000, SANDBOX_WATCH_DATA); + } + break; + + default: + break; } debugLog("Sandbox: Command %d finished\n", command); @@ -814,38 +825,78 @@ void sandboxOnOpcodeRun(void){ } void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value){ - if(sandboxActive){ - static bool isRecursive = false; + static bool isRecursive = false; - //this function can read or write Palm memory, which calls this function, so dont run this function when calling from this function to prevent an infinte loop - if(!isRecursive){ - isRecursive = true; - //actual code goes below:vvv + //this function can read or write Palm memory, which calls this function, so dont run this function when calling from this function to prevent an infinte loop + if(!isRecursive){ + isRecursive = true; + {//actual code goes below:vvv + bool sandboxedMemory = false; + uint16_t memRegion; - if(address >= 0x00000000 && address < 0x00010000){ - //capture any reads or writes to the low mem globals + for(memRegion = 0; memRegion < sandboxWatchRegionsActive; memRegion++){ + if(sandboxWatchRegions[memRegion].type == SANDBOX_WATCH_DATA && address >= sandboxWatchRegions[memRegion].address && address < sandboxWatchRegions[memRegion].address + sandboxWatchRegions[memRegion].size){ + sandboxedMemory = true; + break; + } + } + + if(sandboxRunning() || sandboxedMemory){ uint32_t pc = m68k_get_reg(NULL, M68K_REG_PPC); char* function = getFunctionName(pc); - const char* variableName = getLowMemGlobalName(address);//dont free this pointer, it just returns a string constant from a list of string constants bool functionValid = !!function; if(!functionValid) function = "NAME NOT FOUND"; - if(strcmp(variableName, "UNKNOWN")){ + if(address < 0x00010000){ + //low mem globals + const char* variableName = getLowMemGlobalName(address);//dont free this pointer, it just returns a string constant from a list of string constants + if(write) debugLog("Writing low mem global: name:%s/address:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", variableName, address, size, value, function, pc); else debugLog("Reading low mem global: name:%s/address:0x%08X, size:%d, function:%s/PC:0x%08X\n", variableName, address, size, function, pc); } + else if(address >= 0xFFFFF000){ + //hardware registers + if(address >= 0xFFFFE00){ + //bootloader area + if(write){ + if(address >= 0xFFFFFFC0) + debugLog("Writing bootloader area(valid): address:0x%08X, size:%d, function:%s/PC:0x%08X\n", address, size, function, pc); + else + debugLog("Writing bootloader area(invalid): address:0x%08X, size:%d, function:%s/PC:0x%08X\n", address, size, function, pc); + } + else{ + debugLog("Reading bootloader area: address:0x%08X, size:%d, function:%s/PC:0x%08X\n", address, size, function, pc); + } + } + else{ + //normal regs + const char* registerName = "UNKNOWN"; + + //TODO: get register name list + + if(write) + debugLog("Writing hardware register: name:%s/address:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", registerName, address, size, value, function, pc); + else + debugLog("Reading hardware register: name:%s/address:0x%08X, size:%d, function:%s/PC:0x%08X\n", registerName, address, size, function, pc); + } + } + else{ + //everywhere else + if(write) + debugLog("Writing: address:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", address, size, value, function, pc); + else + debugLog("Reading: address:0x%08X, size:%d, function:%s/PC:0x%08X\n", address, size, function, pc); + } if(functionValid) free(function); } - - //actual code goes above:^^^ - isRecursive = false; - } + }//actual code goes above:^^^ + isRecursive = false; } } @@ -855,7 +906,7 @@ bool sandboxRunning(void){ //this is used to capture full logs when running from specific locations for(memRegion = 0; memRegion < sandboxWatchRegionsActive; memRegion++){ - if(pc >= sandboxWatchRegions[memRegion].address && pc < sandboxWatchRegions[memRegion].address + sandboxWatchRegions[memRegion].size) + if(sandboxWatchRegions[memRegion].type == SANDBOX_WATCH_CODE && pc >= sandboxWatchRegions[memRegion].address && pc < sandboxWatchRegions[memRegion].address + sandboxWatchRegions[memRegion].size) return true; } @@ -872,19 +923,24 @@ void sandboxReturn(void){ } } -uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size){ +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){ uint16_t index; + //invalid type + if(type == SANDBOX_WATCH_NONE || type >= SANDBOX_WATCH_TOTAL_TYPES) + return 0xFFFF; + //cant watch 0 sized memory area if(size < 1) return 0xFFFF; //try to use old watch region if possible for(index = 0; index < sandboxWatchRegionsActive; index++){ - if(sandboxWatchRegions[index].size == 0){ + if(sandboxWatchRegions[index].type == SANDBOX_WATCH_NONE){ //found reusable region - sandboxWatchRegions[sandboxWatchRegionsActive].address = address; - sandboxWatchRegions[sandboxWatchRegionsActive].size = size; + sandboxWatchRegions[index].address = address; + sandboxWatchRegions[index].size = size; + sandboxWatchRegions[index].type = type; //return watch region reference, this doesnt change until the region is deleted return index; @@ -894,6 +950,7 @@ uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size){ //get new region sandboxWatchRegions[sandboxWatchRegionsActive].address = address; sandboxWatchRegions[sandboxWatchRegionsActive].size = size; + sandboxWatchRegions[sandboxWatchRegionsActive].type = type; sandboxWatchRegionsActive++; //return watch region reference, this doesnt change until the region is deleted @@ -905,7 +962,7 @@ void sandboxClearWatchRegion(uint16_t index){ if(index == sandboxWatchRegionsActive - 1) sandboxWatchRegionsActive--;//remove from end else - sandboxWatchRegions[index].size = 0;//mark as empty + sandboxWatchRegions[index].type = SANDBOX_WATCH_NONE;//mark as empty } } @@ -920,6 +977,6 @@ void sandboxOnOpcodeRun(void){} void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value){} bool sandboxRunning(void){return false;} void sandboxReturn(void){} -uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size){} +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){} void sandboxClearWatchRegion(uint16_t index){} #endif diff --git a/src/debug/sandbox.h b/src/debug/sandbox.h index d7a8297..5af0685 100644 --- a/src/debug/sandbox.h +++ b/src/debug/sandbox.h @@ -5,8 +5,16 @@ #include enum{ - SANDBOX_PATCH_OS = 0, - SANDBOX_DEBUG_INSTALL_APP + SANDBOX_CMD_PATCH_OS = 0, + SANDBOX_CMD_DEBUG_INSTALL_APP, + SANDBOX_CMD_REGISTER_WATCH_ENABLE +}; + +enum{ + SANDBOX_WATCH_NONE = 0, + SANDBOX_WATCH_CODE, + SANDBOX_WATCH_DATA, + SANDBOX_WATCH_TOTAL_TYPES }; void sandboxInit(void); @@ -19,7 +27,7 @@ void sandboxOnOpcodeRun(void); void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value); bool sandboxRunning(void); void sandboxReturn(void);//should only be called called by 68k code -uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size); +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type); void sandboxClearWatchRegion(uint16_t index); #endif diff --git a/src/emulator.c b/src/emulator.c index db60a65..a693c1b 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -119,6 +119,9 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab emulatorInitialized = true; + //log all register accesses + sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); + return EMU_ERROR_NONE; } diff --git a/src/expansionHardware.c b/src/expansionHardware.c index fc0653d..2875ac4 100644 --- a/src/expansionHardware.c +++ b/src/expansionHardware.c @@ -196,6 +196,27 @@ void expansionHardwareSetRegister(uint32_t address, uint32_t value){ } return; + case CMD_DEBUG_WATCH: + if(palmEmuFeatures.info & FEATURE_DEBUG){ + switch(palmEmuFeatures.value){ + case 0: + //clear watch reference + sandboxClearWatchRegion(palmEmuFeatures.src); + break; + + case 1: + //make code watch reference + palmEmuFeatures.value = sandboxSetWatchRegion(palmEmuFeatures.src, palmEmuFeatures.size, SANDBOX_WATCH_CODE); + break; + + case 2: + //make data watch reference + palmEmuFeatures.value = sandboxSetWatchRegion(palmEmuFeatures.src, palmEmuFeatures.size, SANDBOX_WATCH_DATA); + break; + } + } + return; + case CMD_GET_KEYS: if(palmEmuFeatures.info & FEATURE_EXT_KEYS) palmEmuFeatures.value = (palmInput.buttonLeft ? EXT_BUTTON_LEFT : 0) | (palmInput.buttonRight ? EXT_BUTTON_RIGHT : 0) | (palmInput.buttonCenter ? EXT_BUTTON_CENTER : 0); diff --git a/src/hardwareRegisters.c b/src/hardwareRegisters.c index 999db33..843e0ac 100644 --- a/src/hardwareRegisters.c +++ b/src/hardwareRegisters.c @@ -282,9 +282,6 @@ uint8_t getHwRegister8(uint32_t address){ address &= 0x00000FFF; - if(sandboxRunning() && address < 0xE00) - printHwRegAccess(address, 0, 8, false); - switch(address){ case PADATA: return getPortAValue(); @@ -380,8 +377,7 @@ uint8_t getHwRegister8(uint32_t address){ if(address >= 0xE00) return registerArrayRead8(address); - if(!sandboxRunning())//dont double unknown accesses when sandbox is active - printHwRegAccess(address, 0, 8, false); + printHwRegAccess(address, 0, 8, false); return 0x00; } } @@ -396,9 +392,6 @@ uint16_t getHwRegister16(uint32_t address){ address &= 0x00000FFF; - if(sandboxRunning() && address < 0xE00) - printHwRegAccess(address, 0, 16, false); - switch(address){ case TSTAT1: timerStatusReadAcknowledge[0] |= registerArrayRead16(TSTAT1);//active bits acknowledged @@ -474,8 +467,7 @@ uint16_t getHwRegister16(uint32_t address){ if(address >= 0xE00) return registerArrayRead16(address); - if(!sandboxRunning())//dont double unknown accesses when sandbox is active - printHwRegAccess(address, 0, 16, false); + printHwRegAccess(address, 0, 16, false); return 0x0000; } } @@ -490,9 +482,6 @@ uint32_t getHwRegister32(uint32_t address){ address &= 0x00000FFF; - if(sandboxRunning() && address < 0xE00) - printHwRegAccess(address, 0, 32, false); - switch(address){ case ISR: case IPR: @@ -507,8 +496,7 @@ uint32_t getHwRegister32(uint32_t address){ if(address >= 0xE00) return registerArrayRead32(address); - if(!sandboxRunning())//dont double unknown accesses when sandbox is active - printHwRegAccess(address, 0, 32, false); + printHwRegAccess(address, 0, 32, false); return 0x00000000; } } @@ -523,9 +511,6 @@ void setHwRegister8(uint32_t address, uint8_t value){ address &= 0x00000FFF; - if(sandboxRunning() && address < 0xE00) - printHwRegAccess(address, value, 8, true); - switch(address){ case SCR: setScr(value); @@ -677,8 +662,7 @@ void setHwRegister8(uint32_t address, uint8_t value){ return; } - if(!sandboxRunning())//dont double unknown accesses when sandbox is active - printHwRegAccess(address, value, 8, true); + printHwRegAccess(address, value, 8, true); return; } } @@ -693,9 +677,6 @@ void setHwRegister16(uint32_t address, uint16_t value){ address &= 0x00000FFF; - if(sandboxRunning() && address < 0xE00) - printHwRegAccess(address, value, 16, true); - switch(address){ case RTCIENR: //missing bits 6 and 7 @@ -970,8 +951,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ return; } - if(!sandboxRunning())//dont double unknown accesses when sandbox is active - printHwRegAccess(address, value, 16, true); + printHwRegAccess(address, value, 16, true); return; } } @@ -986,9 +966,6 @@ void setHwRegister32(uint32_t address, uint32_t value){ address &= 0x00000FFF; - if(sandboxRunning() && address < 0xE00) - printHwRegAccess(address, value, 32, true); - switch(address){ case RTCTIME: case RTCALRM: @@ -1022,8 +999,7 @@ void setHwRegister32(uint32_t address, uint32_t value){ return; } - if(!sandboxRunning())//dont double unknown accesses when sandbox is active - printHwRegAccess(address, value, 32, true); + printHwRegAccess(address, value, 32, true); return; } } diff --git a/src/memoryAccess.c b/src/memoryAccess.c index a324574..aff0de7 100644 --- a/src/memoryAccess.c +++ b/src/memoryAccess.c @@ -9,6 +9,7 @@ #include "flx68000.h" #include "sed1376.h" #include "pdiUsbD12.h" +#include "sandbox.h" uint8_t bankType[TOTAL_MEMORY_BANKS]; diff --git a/src/specs/emuFeatureRegisterSpec.h b/src/specs/emuFeatureRegisterSpec.h index 3321ff9..b90fce2 100644 --- a/src/specs/emuFeatureRegisterSpec.h +++ b/src/specs/emuFeatureRegisterSpec.h @@ -48,15 +48,15 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_IDLE_X_CLK32 0x0000FFF4/*EMU_VALUE = CLK32s to waste, used to remove idle loops*/ #define CMD_SET_CYCLE_COST 0x0000FFF5/*EMU_DST = HLE API number, EMU_VALUE = how many cycles it takes*/ #define CMD_LCD_SET_FB 0x0000FFF6/*EMU_SRC = framebuffer pointer(must be in RAM and word aligned, unused if size is 160x220), EMU_VALUE >> 16 = width, EMU_VALUE & 0xFFFF = height*/ -#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE = OS 5 keys*/ +#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE is set to OS 5 keys value*/ #define CMD_DEBUG_PRINT 0x0000FFF8/*EMU_SRC = pointer to string*/ -/*CMD_UNUSED 0x0000FFF9*/ +#define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE = 1 if ARM wants service from 68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ -#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE = value after calling*/ -#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE = cycles not used on return, 0 if all are used*/ +#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ +#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ /*buttons*/ #define EXT_BUTTON_LEFT 0x01000000 From 089090486cd05a206b57ce366a3f4f5e2677be08 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 2 Apr 2019 14:24:32 -0700 Subject: [PATCH 09/47] More cleanups Almost have a decent debugger now --- src/debug/sandbox.c | 25 ++++++++++++++----------- src/emulator.c | 3 --- src/memoryAccess.c | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 3622770..977fa68 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -562,7 +562,15 @@ static uint32_t sandboxCallGuestFunction(bool fallthrough, uint32_t address, uin void sandboxInit(void){ - sandboxReset(); + //nothing to init yet +} + +void sandboxReset(void){ + sandboxActive = false; + sandboxControlHandoff = false; + + memset(sandboxWatchRegions, 0x00, sizeof(sandboxWatchRegions)); + sandboxWatchRegionsActive = 0; //patch OS here if needed //debug patches @@ -575,14 +583,9 @@ void sandboxInit(void){ return true; } */ -} -void sandboxReset(void){ - sandboxActive = false; - sandboxControlHandoff = false; - - memset(sandboxWatchRegions, 0x00, sizeof(sandboxWatchRegions)); - sandboxWatchRegionsActive = 0; + //log all register accesses + //sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); } uint32_t sandboxStateSize(void){ @@ -748,7 +751,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ case SANDBOX_CMD_REGISTER_WATCH_ENABLE:{ - sandboxSetWatchRegion(0xFFFFF000, 0x1000, SANDBOX_WATCH_DATA); + sandboxSetWatchRegion(0xFFFFF000, 0xFFF, SANDBOX_WATCH_DATA);//0x1000 will cause an overflow to 0x00000000 making it never trigger } break; @@ -841,7 +844,7 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t } } - if(sandboxRunning() || sandboxedMemory){ + if(sandboxedMemory || sandboxRunning()){ uint32_t pc = m68k_get_reg(NULL, M68K_REG_PPC); char* function = getFunctionName(pc); bool functionValid = !!function; @@ -860,7 +863,7 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t } else if(address >= 0xFFFFF000){ //hardware registers - if(address >= 0xFFFFE00){ + if(address >= 0xFFFFFE00){ //bootloader area if(write){ if(address >= 0xFFFFFFC0) diff --git a/src/emulator.c b/src/emulator.c index a693c1b..db60a65 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -119,9 +119,6 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab emulatorInitialized = true; - //log all register accesses - sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); - return EMU_ERROR_NONE; } diff --git a/src/memoryAccess.c b/src/memoryAccess.c index aff0de7..d2aa076 100644 --- a/src/memoryAccess.c +++ b/src/memoryAccess.c @@ -9,7 +9,7 @@ #include "flx68000.h" #include "sed1376.h" #include "pdiUsbD12.h" -#include "sandbox.h" +#include "debug/sandbox.h" uint8_t bankType[TOTAL_MEMORY_BANKS]; From 850064d498ac5be4b8cad3551a69603e19e73169 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 2 Apr 2019 17:21:58 -0700 Subject: [PATCH 10/47] Add basic ARMv5 support to sandbox, finish sandbox save and load state --- bugs/unimplementedHardware.txt | 3 + src/armv5.c | 9 ++ src/debug/sandbox.c | 117 +++++++++++++++--- src/debug/sandbox.h | 7 ++ .../specs/emuFeatureRegisterSpec.h | 10 +- .../specs/emuFeatureRegisterSpec.h | 10 +- 6 files changed, 129 insertions(+), 27 deletions(-) diff --git a/bugs/unimplementedHardware.txt b/bugs/unimplementedHardware.txt index c206048..f532bb3 100644 --- a/bugs/unimplementedHardware.txt +++ b/bugs/unimplementedHardware.txt @@ -2,6 +2,9 @@ CPU: sysTrapPceNativeCall, ARM Emulator VFP(floating point) coprocessor for ARM Test what bits of IMR are writable +sandbox isnt notified about switches to Thumb mode +function name finders for ARMv5 and Thumb are unimplemented +hardware registers don't have there names printed in sandbox CPU I/O: Peripheral Control Register, audio ppm mixing selection diff --git a/src/armv5.c b/src/armv5.c index 13f07d0..6e06763 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -7,6 +7,7 @@ #include "portability.h" #include "armv5/CPU.h" #include "m68k/m68k.h" +#include "debug/sandbox.h" #define ARMV5_CYCLES_PER_OPCODE 2 @@ -242,12 +243,20 @@ void armv5SetRegister(uint8_t reg, uint32_t value){ int32_t armv5Execute(int32_t cycles){ armv5ServiceRequest = false; +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) + sandboxSetCpuArch(SANDBOX_CPU_ARCH_ARMV5); +#endif + //execution aborts on hypercall to request things from the 68k while(cycles > 0 && !armv5ServiceRequest){ cpuCycleNoIrqs(&armv5Cpu); cycles -= ARMV5_CYCLES_PER_OPCODE; } +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) + sandboxSetCpuArch(SANDBOX_CPU_ARCH_M68K); +#endif + return cycles; } diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 977fa68..879cc6a 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -17,6 +17,7 @@ #include "../hardwareRegisters.h" #include "../portability.h" #include "../specs/emuFeatureRegisterSpec.h" +#include "../armv5.h" #include "sandbox.h" #include "trapNames.h" @@ -47,6 +48,7 @@ typedef struct{ static bool sandboxActive;//used to "log out" of the emulator once a test has finished static bool sandboxControlHandoff;//used for functions that depend on timing, hands full control to the 68k +static uint8_t sandboxCurrentCpuArch; static local_cpu_state_t sandboxOldFunctionCpuState; static mem_region_t sandboxWatchRegions[SANDBOX_MAX_WATCH_REGIONS];//code locations in m68k address space to be sandboxed static uint16_t sandboxWatchRegionsActive;//number of used sandboxWatchRegions entrys @@ -56,6 +58,16 @@ static uint32_t sandboxCallGuestFunction(bool fallthrough, uint32_t address, uin #include "sandboxTrapNumToName.c.h" +static uint32_t getCurrentCpuPc(void){ + //returns the current program counter for the current CPU and architecture + return sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? m68k_get_reg(NULL, M68K_REG_PC) : armv5GetRegister(15) & 0xFFFFFFFE; +} + +static uint32_t getCurrentCpuPreviousPc(void){ + //returns the program counter of the current running opcode for the current CPU and architecture + return sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? m68k_get_reg(NULL, M68K_REG_PPC) : armv5GetRegister(15) & 0xFFFFFFFE; +} + static char* takeStackDump(uint32_t bytes){ char* textBytes = malloc(bytes * 2); uint32_t textBytesOffset = 0; @@ -253,7 +265,7 @@ static uint32_t scanForPrivateFunctionAddress(const char* name){ } //call anywhere in a function to get its name, used to determine the location of a crash, must free the pointer after reading the string -static char* getFunctionName(uint32_t address){ +static char* getFunctionName68k(uint32_t address){ char* data; uint32_t offset; @@ -286,6 +298,14 @@ static char* getFunctionName(uint32_t address){ return data; } +static char* getFunctionNameArmv5(uint32_t address){ + return NULL; +} + +static char* getFunctionNameThumb(uint32_t address){ + return NULL; +} + static uint32_t makePalmString(const char* str){ uint32_t strLength = strlen(str) + 1; uint32_t strData = sandboxCallGuestFunction(false, 0x00000000, MemPtrNew, "p(l)", strLength); @@ -317,7 +337,7 @@ static void freePalmString(uint32_t address){ sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", address); } -static bool installDebuggableResourceToDevice(buffer_t resourceBuffer){ +static bool installResourceToDevice(buffer_t resourceBuffer){ /* #define memNewChunkFlagNonMovable 0x0200 #define memNewChunkFlagAllowLarge 0x1000 // this is not in the sdk *g* @@ -353,8 +373,6 @@ static bool installDebuggableResourceToDevice(buffer_t resourceBuffer){ error = sandboxCallGuestFunction(false, 0x00000000, DmCreateDatabaseFromImage, "w(p)", palmSideResourceData);//Err DmCreateDatabaseFromImage(MemPtr bufferP);//this looks best sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", palmSideResourceData); - //TODO: need to get final install location and add it to the watch list - //didnt install if(error != 0) return false; @@ -591,7 +609,7 @@ void sandboxReset(void){ uint32_t sandboxStateSize(void){ uint32_t size = 0; - size += sizeof(uint8_t) * 2;//sandboxActive / sandboxControlHandoff + size += sizeof(uint8_t) * 3;//sandboxActive / sandboxControlHandoff / sandboxCurrentCpuArch size += sizeof(uint32_t) * 4;//sandboxOldFunctionCpuState.(sp/pc/a0/d0) size += sizeof(uint16_t);//sandboxOldFunctionCpuState.sr size += sizeof(uint32_t) * 2 * SANDBOX_MAX_WATCH_REGIONS;//sandboxWatchRegions.(address/size) @@ -603,12 +621,66 @@ uint32_t sandboxStateSize(void){ void sandboxSaveState(uint8_t* data){ uint32_t offset = 0; + uint16_t index; + writeStateValue8(data + offset, sandboxActive); + offset += sizeof(uint8_t); + writeStateValue8(data + offset, sandboxControlHandoff); + offset += sizeof(uint8_t); + writeStateValue8(data + offset, sandboxCurrentCpuArch);//currently cant be ARMv5 during a frame boundry but that may change + offset += sizeof(uint8_t); + writeStateValue32(data + offset, sandboxOldFunctionCpuState.sp); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, sandboxOldFunctionCpuState.pc); + offset += sizeof(uint32_t); + writeStateValue16(data + offset, sandboxOldFunctionCpuState.sr); + offset += sizeof(uint16_t); + writeStateValue32(data + offset, sandboxOldFunctionCpuState.a0); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, sandboxOldFunctionCpuState.d0); + offset += sizeof(uint32_t); + for(index = 0; index < SANDBOX_MAX_WATCH_REGIONS; index++){ + writeStateValue32(data + offset, sandboxWatchRegions[index].address); + offset += sizeof(uint32_t); + writeStateValue32(data + offset, sandboxWatchRegions[index].size); + offset += sizeof(uint32_t); + writeStateValue8(data + offset, sandboxWatchRegions[index].type); + offset += sizeof(uint8_t); + } + writeStateValue16(data + offset, sandboxWatchRegionsActive); + offset += sizeof(uint16_t); } void sandboxLoadState(uint8_t* data){ uint32_t offset = 0; + uint16_t index; + sandboxActive = readStateValue8(data + offset); + offset += sizeof(uint8_t); + sandboxControlHandoff = readStateValue8(data + offset); + offset += sizeof(uint8_t); + sandboxCurrentCpuArch = readStateValue8(data + offset);//currently cant be ARMv5 during a frame boundry but that may change + offset += sizeof(uint8_t); + sandboxOldFunctionCpuState.sp = readStateValue32(data + offset); + offset += sizeof(uint32_t); + sandboxOldFunctionCpuState.pc = readStateValue32(data + offset); + offset += sizeof(uint32_t); + sandboxOldFunctionCpuState.sr = readStateValue16(data + offset); + offset += sizeof(uint16_t); + sandboxOldFunctionCpuState.a0 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + sandboxOldFunctionCpuState.d0 = readStateValue32(data + offset); + offset += sizeof(uint32_t); + for(index = 0; index < SANDBOX_MAX_WATCH_REGIONS; index++){ + sandboxWatchRegions[index].address = readStateValue32(data + offset); + offset += sizeof(uint32_t); + sandboxWatchRegions[index].size = readStateValue32(data + offset); + offset += sizeof(uint32_t); + sandboxWatchRegions[index].type = readStateValue8(data + offset); + offset += sizeof(uint8_t); + } + sandboxWatchRegionsActive = readStateValue16(data + offset); + offset += sizeof(uint16_t); } uint32_t sandboxCommand(uint32_t command, void* data){ @@ -742,7 +814,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ case SANDBOX_CMD_DEBUG_INSTALL_APP:{ buffer_t* app = (buffer_t*)data; - bool success = installDebuggableResourceToDevice(*app); + bool success = installResourceToDevice(*app); if(!success) result = EMU_ERROR_OUT_OF_MEMORY; @@ -845,8 +917,8 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t } if(sandboxedMemory || sandboxRunning()){ - uint32_t pc = m68k_get_reg(NULL, M68K_REG_PPC); - char* function = getFunctionName(pc); + uint32_t pc = getCurrentCpuPreviousPc(); + char* function = sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? getFunctionName68k(pc) : sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_ARMV5 ? getFunctionNameArmv5(pc) : getFunctionNameThumb(pc); bool functionValid = !!function; if(!functionValid) @@ -904,7 +976,7 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t } bool sandboxRunning(void){ - uint32_t pc = m68k_get_reg(NULL, M68K_REG_PC); + uint32_t pc = getCurrentCpuPc(); uint16_t memRegion; //this is used to capture full logs when running from specific locations @@ -937,7 +1009,7 @@ uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){ if(size < 1) return 0xFFFF; - //try to use old watch region if possible + //try to use old watch region if available for(index = 0; index < sandboxWatchRegionsActive; index++){ if(sandboxWatchRegions[index].type == SANDBOX_WATCH_NONE){ //found reusable region @@ -950,14 +1022,20 @@ uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){ } } - //get new region - sandboxWatchRegions[sandboxWatchRegionsActive].address = address; - sandboxWatchRegions[sandboxWatchRegionsActive].size = size; - sandboxWatchRegions[sandboxWatchRegionsActive].type = type; - sandboxWatchRegionsActive++; + //check if new region is available + if(sandboxWatchRegionsActive < SANDBOX_MAX_WATCH_REGIONS){ + //use new region + sandboxWatchRegions[sandboxWatchRegionsActive].address = address; + sandboxWatchRegions[sandboxWatchRegionsActive].size = size; + sandboxWatchRegions[sandboxWatchRegionsActive].type = type; + sandboxWatchRegionsActive++; - //return watch region reference, this doesnt change until the region is deleted - return sandboxWatchRegionsActive - 1; + //return watch region reference, this doesnt change until the region is deleted + return sandboxWatchRegionsActive - 1; + } + + //no regions left, error + return 0xFFFF; } void sandboxClearWatchRegion(uint16_t index){ @@ -969,6 +1047,10 @@ void sandboxClearWatchRegion(uint16_t index){ } } +void sandboxSetCpuArch(uint8_t arch){ + sandboxCurrentCpuArch = arch; +} + #else void sandboxInit(void){} void sandboxReset(void){} @@ -982,4 +1064,5 @@ bool sandboxRunning(void){return false;} void sandboxReturn(void){} uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){} void sandboxClearWatchRegion(uint16_t index){} +void sandboxSetCpuArch(uint8_t arch){} #endif diff --git a/src/debug/sandbox.h b/src/debug/sandbox.h index 5af0685..0b59a52 100644 --- a/src/debug/sandbox.h +++ b/src/debug/sandbox.h @@ -17,6 +17,12 @@ enum{ SANDBOX_WATCH_TOTAL_TYPES }; +enum{ + SANDBOX_CPU_ARCH_M68K = 0, + SANDBOX_CPU_ARCH_ARMV5, + SANDBOX_CPU_ARCH_THUMB +}; + void sandboxInit(void); void sandboxReset(void); uint32_t sandboxStateSize(void); @@ -29,5 +35,6 @@ bool sandboxRunning(void); void sandboxReturn(void);//should only be called called by 68k code uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type); void sandboxClearWatchRegion(uint16_t index); +void sandboxSetCpuArch(uint8_t arch); #endif diff --git a/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h b/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h index 3321ff9..b90fce2 100644 --- a/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h +++ b/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h @@ -48,15 +48,15 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_IDLE_X_CLK32 0x0000FFF4/*EMU_VALUE = CLK32s to waste, used to remove idle loops*/ #define CMD_SET_CYCLE_COST 0x0000FFF5/*EMU_DST = HLE API number, EMU_VALUE = how many cycles it takes*/ #define CMD_LCD_SET_FB 0x0000FFF6/*EMU_SRC = framebuffer pointer(must be in RAM and word aligned, unused if size is 160x220), EMU_VALUE >> 16 = width, EMU_VALUE & 0xFFFF = height*/ -#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE = OS 5 keys*/ +#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE is set to OS 5 keys value*/ #define CMD_DEBUG_PRINT 0x0000FFF8/*EMU_SRC = pointer to string*/ -/*CMD_UNUSED 0x0000FFF9*/ +#define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE = 1 if ARM wants service from 68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ -#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE = value after calling*/ -#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE = cycles not used on return, 0 if all are used*/ +#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ +#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ /*buttons*/ #define EXT_BUTTON_LEFT 0x01000000 diff --git a/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h b/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h index 3321ff9..b90fce2 100644 --- a/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h +++ b/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h @@ -48,15 +48,15 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_IDLE_X_CLK32 0x0000FFF4/*EMU_VALUE = CLK32s to waste, used to remove idle loops*/ #define CMD_SET_CYCLE_COST 0x0000FFF5/*EMU_DST = HLE API number, EMU_VALUE = how many cycles it takes*/ #define CMD_LCD_SET_FB 0x0000FFF6/*EMU_SRC = framebuffer pointer(must be in RAM and word aligned, unused if size is 160x220), EMU_VALUE >> 16 = width, EMU_VALUE & 0xFFFF = height*/ -#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE = OS 5 keys*/ +#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE is set to OS 5 keys value*/ #define CMD_DEBUG_PRINT 0x0000FFF8/*EMU_SRC = pointer to string*/ -/*CMD_UNUSED 0x0000FFF9*/ +#define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE = 1 if ARM wants service from 68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ -#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE = value after calling*/ -#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE = cycles not used on return, 0 if all are used*/ +#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ +#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ /*buttons*/ #define EXT_BUTTON_LEFT 0x01000000 From 20400675fafdd61d77a333f64485ff13a61b3940 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 2 Apr 2019 21:02:23 -0700 Subject: [PATCH 11/47] Expose memory watch API to MuExpDriver --- tools/palm/muExpansionDriver/debug.c | 16 ++++++++++++++++ tools/palm/muExpansionDriver/debug.h | 10 ++++++++++ 2 files changed, 26 insertions(+) diff --git a/tools/palm/muExpansionDriver/debug.c b/tools/palm/muExpansionDriver/debug.c index 3fa33f1..99a8fc7 100644 --- a/tools/palm/muExpansionDriver/debug.c +++ b/tools/palm/muExpansionDriver/debug.c @@ -1,4 +1,5 @@ #include "sdkPatch/PalmOSPatched.h" +#include #include #include "palmGlobalDefines.h" @@ -19,3 +20,18 @@ void debugLog(const char* format, ...){ va_end(va); } #endif + +uint16_t setWatchRegion(uint32_t address, uint32_t size, uint8_t type){ + writeArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE), type); + writeArbitraryMemory32(EMU_REG_ADDR(EMU_SRC), address); + writeArbitraryMemory32(EMU_REG_ADDR(EMU_SIZE), size); + writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_DEBUG_WATCH); + + return readArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE)); +} + +void clearWatchRegion(uint16_t index){ + writeArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE), 0); + writeArbitraryMemory32(EMU_REG_ADDR(EMU_SRC), index); + writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_DEBUG_WATCH); +} diff --git a/tools/palm/muExpansionDriver/debug.h b/tools/palm/muExpansionDriver/debug.h index c99cf90..ede6d4a 100644 --- a/tools/palm/muExpansionDriver/debug.h +++ b/tools/palm/muExpansionDriver/debug.h @@ -1,12 +1,22 @@ #ifndef DEBUG_H #define DEBUG_H +#include #include +enum{ + MEMORY_WATCH_NONE = 0, + MEMORY_WATCH_CODE, + MEMORY_WATCH_DATA +}; + #ifdef DEBUG void debugLog(const char* format, ...); #else #define debugLog(...) #endif +uint16_t setWatchRegion(uint32_t address, uint32_t size, uint8_t type); +void clearWatchRegion(uint16_t index); + #endif From 90ed90000127c0082915dd8d89847633d607adad Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 4 Apr 2019 18:41:29 -0700 Subject: [PATCH 12/47] Update libretro port, LED still dosent work --- bugs/unimplementedHardware.txt | 1 + .../libretro-common/include/libretro.h | 73 +++++++++++++++++-- libretroBuildSystem/libretro.c | 45 +++++++----- src/expansionHardware.c | 20 +---- 4 files changed, 99 insertions(+), 40 deletions(-) diff --git a/bugs/unimplementedHardware.txt b/bugs/unimplementedHardware.txt index f532bb3..f42a928 100644 --- a/bugs/unimplementedHardware.txt +++ b/bugs/unimplementedHardware.txt @@ -28,6 +28,7 @@ port d data register INT* bits seem to have there data bits cleared when an edge sound plays too long when the category's menu is selected on the home screen and the pen is pressed and held in the middle of the screen(only happens there, other views of the same type don't have this issue)(effected by CPU speed, turning it up reduces the duration of the excess squeal) ARM CPU state isn't saved trying to beam anything will lock up the OS +set the alarm LED using retro_set_led_state_t on RetroArch Memory: unknown if DRAM bit expanded address space is used for CSC when its not an extension of CSD diff --git a/libretroBuildSystem/libretro-common/include/libretro.h b/libretroBuildSystem/libretro-common/include/libretro.h index 4e1a978..1482ea4 100644 --- a/libretroBuildSystem/libretro-common/include/libretro.h +++ b/libretroBuildSystem/libretro-common/include/libretro.h @@ -875,12 +875,12 @@ enum retro_mod * types already defined in the libretro API. * * The core must pass an array of const struct retro_controller_info which - * is terminated with a blanked out struct. Each element of the + * is terminated with a blanked out struct. Each element of the * retro_controller_info struct corresponds to the ascending port index * that is passed to retro_set_controller_port_device() when that function * is called to indicate to the core that the frontend has changed the * active device subclass. SEE ALSO: retro_set_controller_port_device() - * + * * The ascending input port indexes provided by the core in the struct * are generally presented by frontends as ascending User # or Player #, * such as Player 1, Player 2, Player 3, etc. Which device subclasses are @@ -892,7 +892,7 @@ enum retro_mod * User or Player, beginning with the generic Libretro device that the * subclasses are derived from. The second inner element of each entry is the * total number of subclasses that are listed in the retro_controller_description. - * + * * NOTE: Even if special device types are set in the libretro core, * libretro should only poll input based on the base input device types. */ @@ -1079,10 +1079,19 @@ enum retro_mod * fastforwarding mode. */ +#define RETRO_ENVIRONMENT_GET_TARGET_REFRESH_RATE (50 | RETRO_ENVIRONMENT_EXPERIMENTAL) + /* float * -- + * Float value that lets us know what target refresh rate + * is curently in use by the frontend. + * + * The core can use the returned value to set an ideal + * refresh rate/framerate. + */ + /* VFS functionality */ /* File paths: - * File paths passed as parameters when using this api shall be well formed unix-style, + * File paths passed as parameters when using this api shall be well formed UNIX-style, * using "/" (unquoted forward slash) as directory separator regardless of the platform's native separator. * Paths shall also include at least one forward slash ("game.bin" is an invalid path, use "./game.bin" instead). * Other than the directory separator, cores shall not make assumptions about path format: @@ -1100,6 +1109,10 @@ enum retro_mod * Introduced in VFS API v1 */ struct retro_vfs_file_handle; +/* Opaque directory handle + * Introduced in VFS API v3 */ +struct retro_vfs_dir_handle; + /* File open flags * Introduced in VFS API v1 */ #define RETRO_VFS_FILE_ACCESS_READ (1 << 0) /* Read only mode */ @@ -1119,6 +1132,12 @@ struct retro_vfs_file_handle; #define RETRO_VFS_SEEK_POSITION_CURRENT 1 #define RETRO_VFS_SEEK_POSITION_END 2 +/* stat() result flags + * Introduced in VFS API v3 */ +#define RETRO_VFS_STAT_IS_VALID (1 << 0) +#define RETRO_VFS_STAT_IS_DIRECTORY (1 << 1) +#define RETRO_VFS_STAT_IS_CHARACTER_SPECIAL (1 << 2) + /* Get path from opaque handle. Returns the exact same path passed to file_open when getting the handle * Introduced in VFS API v1 */ typedef const char *(RETRO_CALLCONV *retro_vfs_get_path_t)(struct retro_vfs_file_handle *stream); @@ -1128,7 +1147,7 @@ typedef const char *(RETRO_CALLCONV *retro_vfs_get_path_t)(struct retro_vfs_file * Introduced in VFS API v1 */ typedef struct retro_vfs_file_handle *(RETRO_CALLCONV *retro_vfs_open_t)(const char *path, unsigned mode, unsigned hints); -/* Close the file and release its resources. Must be called if open_file returns non-NULL. Returns 0 on succes, -1 on failure. +/* Close the file and release its resources. Must be called if open_file returns non-NULL. Returns 0 on success, -1 on failure. * Whether the call succeeds ot not, the handle passed as parameter becomes invalid and should no longer be used. * Introduced in VFS API v1 */ typedef int (RETRO_CALLCONV *retro_vfs_close_t)(struct retro_vfs_file_handle *stream); @@ -1141,7 +1160,7 @@ typedef int64_t (RETRO_CALLCONV *retro_vfs_size_t)(struct retro_vfs_file_handle * Introduced in VFS API v2 */ typedef int64_t (RETRO_CALLCONV *retro_vfs_truncate_t)(struct retro_vfs_file_handle *stream, int64_t length); -/* Get the current read / write position for the file. Returns - 1 for error. +/* Get the current read / write position for the file. Returns -1 for error. * Introduced in VFS API v1 */ typedef int64_t (RETRO_CALLCONV *retro_vfs_tell_t)(struct retro_vfs_file_handle *stream); @@ -1169,6 +1188,39 @@ typedef int (RETRO_CALLCONV *retro_vfs_remove_t)(const char *path); * Introduced in VFS API v1 */ typedef int (RETRO_CALLCONV *retro_vfs_rename_t)(const char *old_path, const char *new_path); +/* Stat the specified file. Retruns a bitmask of RETRO_VFS_STAT_* flags, none are set if path was not valid. + * Additionally stores file size in given variable, unless NULL is given. + * Introduced in VFS API v3 */ +typedef int (RETRO_CALLCONV *retro_vfs_stat_t)(const char *path, int32_t *size); + +/* Create the specified directory. Returns 0 on success, -1 on unknown failure, -2 if already exists. + * Introduced in VFS API v3 */ +typedef int (RETRO_CALLCONV *retro_vfs_mkdir_t)(const char *dir); + +/* Open the specified directory for listing. Returns the opaque dir handle, or NULL for error. + * Support for the include_hidden argument may vary depending on the platform. + * Introduced in VFS API v3 */ +typedef struct retro_vfs_dir_handle *(RETRO_CALLCONV *retro_vfs_opendir_t)(const char *dir, bool include_hidden); + +/* Read the directory entry at the current position, and move the read pointer to the next position. + * Returns true on success, false if already on the last entry. + * Introduced in VFS API v3 */ +typedef bool (RETRO_CALLCONV *retro_vfs_readdir_t)(struct retro_vfs_dir_handle *dirstream); + +/* Get the name of the last entry read. Returns a string on success, or NULL for error. + * The returned string pointer is valid until the next call to readdir or closedir. + * Introduced in VFS API v3 */ +typedef const char *(RETRO_CALLCONV *retro_vfs_dirent_get_name_t)(struct retro_vfs_dir_handle *dirstream); + +/* Check if the last entry read was a directory. Returns true if it was, false otherwise (or on error). + * Introduced in VFS API v3 */ +typedef bool (RETRO_CALLCONV *retro_vfs_dirent_is_dir_t)(struct retro_vfs_dir_handle *dirstream); + +/* Close the directory and release its resources. Must be called if opendir returns non-NULL. Returns 0 on success, -1 on failure. + * Whether the call succeeds ot not, the handle passed as parameter becomes invalid and should no longer be used. + * Introduced in VFS API v3 */ +typedef int (RETRO_CALLCONV *retro_vfs_closedir_t)(struct retro_vfs_dir_handle *dirstream); + struct retro_vfs_interface { /* VFS API v1 */ @@ -1185,6 +1237,14 @@ struct retro_vfs_interface retro_vfs_rename_t rename; /* VFS API v2 */ retro_vfs_truncate_t truncate; + /* VFS API v3 */ + retro_vfs_stat_t stat; + retro_vfs_mkdir_t mkdir; + retro_vfs_opendir_t opendir; + retro_vfs_readdir_t readdir; + retro_vfs_dirent_get_name_t dirent_get_name; + retro_vfs_dirent_is_dir_t dirent_is_dir; + retro_vfs_closedir_t closedir; }; struct retro_vfs_interface_info @@ -1207,6 +1267,7 @@ enum retro_hw_render_interface_type RETRO_HW_RENDER_INTERFACE_D3D10 = 2, RETRO_HW_RENDER_INTERFACE_D3D11 = 3, RETRO_HW_RENDER_INTERFACE_D3D12 = 4, + RETRO_HW_RENDER_INTERFACE_GSKIT_PS2 = 5, RETRO_HW_RENDER_INTERFACE_DUMMY = INT_MAX }; diff --git a/libretroBuildSystem/libretro.c b/libretroBuildSystem/libretro.c index 98e5dee..eed99ca 100644 --- a/libretroBuildSystem/libretro.c +++ b/libretroBuildSystem/libretro.c @@ -22,12 +22,13 @@ #define SCREEN_HIRES (!(palmFramebufferWidth == 160 && palmFramebufferHeight == 220)) -static retro_log_printf_t log_cb; -static retro_video_refresh_t video_cb; -static retro_audio_sample_batch_t audio_cb; -static retro_environment_t environ_cb; -static retro_input_poll_t input_poll_cb; -static retro_input_state_t input_state_cb; +static retro_log_printf_t log_cb; +static retro_video_refresh_t video_cb; +static retro_audio_sample_batch_t audio_cb; +static retro_set_led_state_t led_cb; +static retro_environment_t environ_cb; +static retro_input_poll_t input_poll_cb; +static retro_input_state_t input_state_cb; static uint32_t emuFeatures; static bool useJoystickAsMouse; @@ -175,6 +176,7 @@ void retro_get_system_av_info(struct retro_system_av_info *info){ void retro_set_environment(retro_environment_t cb){ struct retro_log_callback logging; struct retro_vfs_interface_info vfs_getter = { 1, NULL }; + struct retro_led_interface led_getter; struct retro_variable vars[] = { { "palm_emu_feature_ram_huge", "128mb RAM; disabled|enabled" }, { "palm_emu_feature_fast_cpu", "Custom CPU Speeds; disabled|enabled" }, @@ -190,17 +192,17 @@ void retro_set_environment(retro_environment_t cb){ struct retro_input_descriptor input_desc[] = { { 0, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_LEFT, RETRO_DEVICE_ID_ANALOG_X, "Touchscreen Mouse X" }, { 0, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_LEFT, RETRO_DEVICE_ID_ANALOG_Y, "Touchscreen Mouse Y" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R2, "Touchscreen Mouse Click" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT, "Dpad Left" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP, "Dpad Up" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN, "Dpad Down" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_RIGHT, "Dpad Right" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R, "Dpad Middle" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START, "Power" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A, "Calender" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B, "Address Book" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_Y, "Todo" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_X, "Notes" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R2, "Touchscreen Mouse Click" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT, "Dpad Left" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP, "Dpad Up" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN, "Dpad Down" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_RIGHT, "Dpad Right" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R, "Dpad Middle" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START, "Power" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A, "Calender" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B, "Address Book" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_Y, "Todo" }, + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_X, "Notes" }, { 0 } }; @@ -211,9 +213,14 @@ void retro_set_environment(retro_environment_t cb){ else log_cb = fallback_log; + led_getter.set_led_state = NULL; + environ_cb(RETRO_ENVIRONMENT_GET_LED_INTERFACE, &led_getter); + led_cb = led_getter.set_led_state; + //printf("led_cb is at:%p\n", (void*)led_cb); + if(environ_cb(RETRO_ENVIRONMENT_GET_VFS_INTERFACE, &vfs_getter)) filestream_vfs_init(&vfs_getter); - + environ_cb(RETRO_ENVIRONMENT_SET_VARIABLES, vars); environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, input_desc); } @@ -302,6 +309,8 @@ void retro_run(void){ video_cb(palmFramebuffer, palmFramebufferWidth, palmFramebufferHeight, palmFramebufferWidth * sizeof(uint16_t)); audio_cb(palmAudio, AUDIO_SAMPLES_PER_FRAME); + if(led_cb) + led_cb(0, palmMisc.powerButtonLed); } bool retro_load_game(const struct retro_game_info *info){ diff --git a/src/expansionHardware.c b/src/expansionHardware.c index 2875ac4..a3fcde3 100644 --- a/src/expansionHardware.c +++ b/src/expansionHardware.c @@ -198,22 +198,10 @@ void expansionHardwareSetRegister(uint32_t address, uint32_t value){ case CMD_DEBUG_WATCH: if(palmEmuFeatures.info & FEATURE_DEBUG){ - switch(palmEmuFeatures.value){ - case 0: - //clear watch reference - sandboxClearWatchRegion(palmEmuFeatures.src); - break; - - case 1: - //make code watch reference - palmEmuFeatures.value = sandboxSetWatchRegion(palmEmuFeatures.src, palmEmuFeatures.size, SANDBOX_WATCH_CODE); - break; - - case 2: - //make data watch reference - palmEmuFeatures.value = sandboxSetWatchRegion(palmEmuFeatures.src, palmEmuFeatures.size, SANDBOX_WATCH_DATA); - break; - } + if(palmEmuFeatures.value == SANDBOX_WATCH_NONE) + sandboxClearWatchRegion(palmEmuFeatures.src); + else + palmEmuFeatures.value = sandboxSetWatchRegion(palmEmuFeatures.src, palmEmuFeatures.size, palmEmuFeatures.value); } return; From 857b4bbed327d3c77702e26fa9ff670103333616 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 4 Apr 2019 21:49:30 -0700 Subject: [PATCH 13/47] Fixed buffer overflow of trap table --- src/debug/sandbox.c | 3 ++- tools/palm/muExpansionDriver/debug.c | 4 ++++ tools/palm/muExpansionDriver/debug.h | 1 + .../muExpansionDriver/palmGlobalDefines.h | 2 +- tools/palm/muExpansionDriver/palmOsPriv.h | 2 +- tools/palm/muExpansionDriver/patcher.c | 22 +++++++++---------- tools/palm/muExpansionDriver/patcher.h | 1 - .../unimplementedFeatures.txt | 4 +++- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 879cc6a..38aa79f 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -838,7 +838,8 @@ uint32_t sandboxCommand(uint32_t command, void* data){ void sandboxOnOpcodeRun(void){ #if defined(EMU_SANDBOX_LOG_APIS) - logApiCalls(); + if(sandboxRunning()) + logApiCalls(); #endif switch(m68k_get_reg(NULL, M68K_REG_PC)){//switched this from PPC to PC //case 0x10083652://USB issue location //address based on PPC diff --git a/tools/palm/muExpansionDriver/debug.c b/tools/palm/muExpansionDriver/debug.c index 99a8fc7..1a0b074 100644 --- a/tools/palm/muExpansionDriver/debug.c +++ b/tools/palm/muExpansionDriver/debug.c @@ -35,3 +35,7 @@ void clearWatchRegion(uint16_t index){ writeArbitraryMemory32(EMU_REG_ADDR(EMU_SRC), index); writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_DEBUG_WATCH); } + +void watchAppCode(const char* appName){ + /*marks app code resources as debug watch areas*/ +} diff --git a/tools/palm/muExpansionDriver/debug.h b/tools/palm/muExpansionDriver/debug.h index ede6d4a..018822a 100644 --- a/tools/palm/muExpansionDriver/debug.h +++ b/tools/palm/muExpansionDriver/debug.h @@ -18,5 +18,6 @@ void debugLog(const char* format, ...); uint16_t setWatchRegion(uint32_t address, uint32_t size, uint8_t type); void clearWatchRegion(uint16_t index); +void watchAppCode(const char* appName); #endif diff --git a/tools/palm/muExpansionDriver/palmGlobalDefines.h b/tools/palm/muExpansionDriver/palmGlobalDefines.h index 7934dc5..d15657e 100644 --- a/tools/palm/muExpansionDriver/palmGlobalDefines.h +++ b/tools/palm/muExpansionDriver/palmGlobalDefines.h @@ -7,7 +7,7 @@ #define NO_RETURN __attribute__((noreturn)) #define ALIGN(size) __attribute__((aligned(size))) #define PACKED __attribute__((packed)) -#define FIXED_ADDRESS_VAR(a, t) (*((volatile t*)a)) +#define FIXED_ADDRESS_VAR(a, t) (*((t volatile *)a)) #define readArbitraryMemory8(address) (*((volatile uint8_t*)(address))) #define readArbitraryMemory16(address) (*((volatile uint16_t*)(address))) diff --git a/tools/palm/muExpansionDriver/palmOsPriv.h b/tools/palm/muExpansionDriver/palmOsPriv.h index 1144b85..0c6cbfa 100644 --- a/tools/palm/muExpansionDriver/palmOsPriv.h +++ b/tools/palm/muExpansionDriver/palmOsPriv.h @@ -13,7 +13,7 @@ #define ResetVector FIXED_ADDRESS_VAR(0x00000004, void*) /*OS*/ -#define TrapTablePtr FIXED_ADDRESS_VAR(0x00000122, uint32_t*) +#define TrapTablePtr FIXED_ADDRESS_VAR(0x00000122, void**) #define ScrStatePtr FIXED_ADDRESS_VAR(0x00000164, void*) #endif diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 25213a7..5418ab1 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -30,14 +30,15 @@ static void lockCodeXXXX(void){ static void resizeTrapTable(void){ uint16_t oldSr; - uint32_t* oldTrapTable; - uint32_t* newTrapTable; + void** oldTrapTable; + void** newTrapTable; /*order and time sensitive code!!!*/ oldSr = SysDisableInts(); /*get new trap table memory*/ newTrapTable = MemChunkNew(0, (sysTrapLastTrapNumber - sysTrapBase) * sizeof(uint32_t), memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); + debugLog("New trap table created at:0x%08lX\n", newTrapTable); /*copy over old OS 4 size trap table and 0 out the OS 5 part*/ MemMove(newTrapTable, TrapTablePtr, (sysTrapPceNativeCall - sysTrapBase) * sizeof(uint32_t)); @@ -49,8 +50,7 @@ static void resizeTrapTable(void){ /*swap the tables*/ TrapTablePtr = newTrapTable; - /*free the old table*/ - MemChunkFree(oldTrapTable); + /*cant free the old table as it is in low mem globals out of the jurisdiction of the memory manager*/ /*return to normal execution*/ SysRestoreStatus(oldSr); @@ -88,7 +88,7 @@ static void installPceNativeCallHandler(uint32_t armStackSize){ uint8_t* oldArmStack = (uint8_t*)getGlobalVar(ARM_STACK_START); uint8_t* armStackStart; - SysSetTrapAddress(sysTrapPceNativeCall, (void*)emuPceNativeCall); + TrapTablePtr[sysTrapPceNativeCall - sysTrapBase] = (void*)emuPceNativeCall; if(oldArmStack) MemChunkFree(oldArmStack); @@ -111,9 +111,9 @@ static void installDebugHandlers(void){ /*eventually should remove the NULL check too, the trap list should have no NULL values*/ if(trapAddress == sysUnimplementedAddress || trapAddress == NULL) - SysSetTrapAddress(index, (void*)emuSysUnimplemented); + TrapTablePtr[index - sysTrapBase] = (void*)emuSysUnimplemented; } - SysSetTrapAddress(sysTrapErrDisplayFileLineMsg, (void*)emuErrDisplayFileLineMsg); + TrapTablePtr[sysTrapErrDisplayFileLineMsg - sysTrapBase] = (void*)emuErrDisplayFileLineMsg; } static void setProperDeviceId(uint16_t screenWidth, uint16_t screenHeight, Boolean hasArmCpu, Boolean hasDpad){ @@ -248,6 +248,10 @@ void initBoot(uint32_t* configFile){ /*prevents the code being moved out from underneath its function pointers(in the API trap table), causing crashes*/ lockCodeXXXX(); + + /*make an OS 5 size trap table, needed if debugging or any OS 5 features are enabled*/ + if(enabledFeatures & (FEATURE_HYBRID_CPU | FEATURE_SND_STRMS | FEATURE_DEBUG)) + resizeTrapTable(); if(enabledFeatures & FEATURE_DEBUG) installDebugHandlers(); @@ -272,7 +276,3 @@ void initBoot(uint32_t* configFile){ writeConfigFile(configFile); } } - -void reinit(uint32_t* configFile){ - /*TODO*/ -} diff --git a/tools/palm/muExpansionDriver/patcher.h b/tools/palm/muExpansionDriver/patcher.h index 64b9212..0734351 100644 --- a/tools/palm/muExpansionDriver/patcher.h +++ b/tools/palm/muExpansionDriver/patcher.h @@ -4,6 +4,5 @@ #include void initBoot(uint32_t* configFile); -void reinit(uint32_t* configFile); #endif diff --git a/tools/palm/muExpansionDriver/unimplementedFeatures.txt b/tools/palm/muExpansionDriver/unimplementedFeatures.txt index 384f7b1..68c7748 100644 --- a/tools/palm/muExpansionDriver/unimplementedFeatures.txt +++ b/tools/palm/muExpansionDriver/unimplementedFeatures.txt @@ -11,7 +11,9 @@ For some reason the new versions of MuExpDriver dont work with Chuzzle anymore Need to allocate a new trap table and set the global to that, not just write off the end of the existing one Need to lock the code resources on boot, databases can be shuffled in RAM to free up space and that will corrupt old trap addresses Need to patch SysGetOSVersionString -Crash on first load when pressing "Emulator", probably caused by accessing the config file wrong +Crash on first load when pressing "Emulator", probably caused by accessing the config file wrong(happens after driver is deleted and reinstalled) +Debug memory tools watchAppCode() is unfinished +Now that the low memory global space for the trap table is unused I have a place for global vars Fixed: GUI \ No newline at end of file From 424d07ce60fd0011bd7a376ad04b2af283509f59 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 5 Apr 2019 07:25:04 -0700 Subject: [PATCH 14/47] Add LED support, fix function not returning value --- bugs/accidentalFinds.txt | 6 ++++++ bugs/futureTimeline.txt | 3 ++- bugs/unimplementedHardware.txt | 2 +- libretroBuildSystem/libretro.c | 26 +++++++++++++------------- src/debug/sandbox.c | 2 +- 5 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 bugs/accidentalFinds.txt diff --git a/bugs/accidentalFinds.txt b/bugs/accidentalFinds.txt new file mode 100644 index 0000000..4f45953 --- /dev/null +++ b/bugs/accidentalFinds.txt @@ -0,0 +1,6 @@ +Bugs in other peoples code I found while writing Mu, haven't followed up on them yet: +(RetroArch)RETRO_ENVIRONMENT_GET_MIDI_INTERFACE states its passed a pointer to a pointer but its just a pointer to a struct +(RetroArch)"led_driver" setting is not exposed to GUI +(RetroArch)retro_set_environment will sometimes be called multiple times and provide invalid values fetching environment variables on the subsequent calls, this will cause function pointers to be corrupted if they are not checked for validity first + +Fixed: \ No newline at end of file diff --git a/bugs/futureTimeline.txt b/bugs/futureTimeline.txt index c98b7fd..6c20758 100644 --- a/bugs/futureTimeline.txt +++ b/bugs/futureTimeline.txt @@ -1,4 +1,5 @@ -Easter release, 17:00 GMT, hopefully with some good ARM stuff +Cinco De Mayo(May 5th), 17:00 GMT, hopefully with some good ARM stuff +Easter release, 17:00 GMT, hopefully with some good ARM stuff(delayed) Done: Release at Christmas 17:00 GMT, 9:00 My time, 12:00 SquirrelJME devs time diff --git a/bugs/unimplementedHardware.txt b/bugs/unimplementedHardware.txt index f42a928..e821142 100644 --- a/bugs/unimplementedHardware.txt +++ b/bugs/unimplementedHardware.txt @@ -28,7 +28,6 @@ port d data register INT* bits seem to have there data bits cleared when an edge sound plays too long when the category's menu is selected on the home screen and the pen is pressed and held in the middle of the screen(only happens there, other views of the same type don't have this issue)(effected by CPU speed, turning it up reduces the duration of the excess squeal) ARM CPU state isn't saved trying to beam anything will lock up the OS -set the alarm LED using retro_set_led_state_t on RetroArch Memory: unknown if DRAM bit expanded address space is used for CSC when its not an extension of CSD @@ -56,6 +55,7 @@ MakePalmBitmap: Fixed: +(RetroArch port)set the alarm LED using retro_set_led_state_t on RetroArch (CPU I/O)SPI1 SPISPC register(this is just a clock divider used to slow transfers to allow the voltages to settle, since the emu has no voltages all transfers are just instant) (CPU)TCN2 is unimplemented and seems to be used by the same routines that turn the CPU off for sleep mode(it is implemented now and it wasn't the cause of the sleep mode issue) (CPU)SCR privilege violation doesnt trigger the same as on hardware(likely has to do with not emulating the unused chip selects)(I added those chip selects) diff --git a/libretroBuildSystem/libretro.c b/libretroBuildSystem/libretro.c index eed99ca..5d90e2e 100644 --- a/libretroBuildSystem/libretro.c +++ b/libretroBuildSystem/libretro.c @@ -22,13 +22,13 @@ #define SCREEN_HIRES (!(palmFramebufferWidth == 160 && palmFramebufferHeight == 220)) -static retro_log_printf_t log_cb; -static retro_video_refresh_t video_cb; -static retro_audio_sample_batch_t audio_cb; -static retro_set_led_state_t led_cb; -static retro_environment_t environ_cb; -static retro_input_poll_t input_poll_cb; -static retro_input_state_t input_state_cb; +static retro_log_printf_t log_cb = NULL; +static retro_video_refresh_t video_cb = NULL; +static retro_audio_sample_batch_t audio_cb = NULL; +static retro_set_led_state_t led_cb = NULL; +static retro_environment_t environ_cb = NULL; +static retro_input_poll_t input_poll_cb = NULL; +static retro_input_state_t input_state_cb = NULL; static uint32_t emuFeatures; static bool useJoystickAsMouse; @@ -208,17 +208,17 @@ void retro_set_environment(retro_environment_t cb){ environ_cb = cb; - if (environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &logging)) + if(environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &logging) && logging.log) log_cb = logging.log; - else + + if(!log_cb) log_cb = fallback_log; led_getter.set_led_state = NULL; - environ_cb(RETRO_ENVIRONMENT_GET_LED_INTERFACE, &led_getter); - led_cb = led_getter.set_led_state; - //printf("led_cb is at:%p\n", (void*)led_cb); + if(environ_cb(RETRO_ENVIRONMENT_GET_LED_INTERFACE, &led_getter) && led_getter.set_led_state) + led_cb = led_getter.set_led_state; - if(environ_cb(RETRO_ENVIRONMENT_GET_VFS_INTERFACE, &vfs_getter)) + if(environ_cb(RETRO_ENVIRONMENT_GET_VFS_INTERFACE, &vfs_getter) && vfs_getter.iface) filestream_vfs_init(&vfs_getter); environ_cb(RETRO_ENVIRONMENT_SET_VARIABLES, vars); diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 38aa79f..e552ead 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -1063,7 +1063,7 @@ void sandboxOnOpcodeRun(void){} void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value){} bool sandboxRunning(void){return false;} void sandboxReturn(void){} -uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){} +uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type){return 0;} void sandboxClearWatchRegion(uint16_t index){} void sandboxSetCpuArch(uint8_t arch){} #endif From 15d7d2dd54184d1ae34694cc0773e9333a75c21a Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 5 Apr 2019 11:33:38 -0700 Subject: [PATCH 15/47] Some ARM fixes --- src/armv5.c | 2 +- src/armv5/CPU.c | 2 +- tools/palm/muExpansionDriver/patcher.c | 2 +- tools/palm/muExpansionDriver/traps.c | 16 ++++++++++++++-- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/armv5.c b/src/armv5.c index 6e06763..ace8b68 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -69,7 +69,7 @@ static Boolean armv5Hypercall(ArmCpu* cpu){ } static void armv5EmulErr(ArmCpu* cpu, const char* errStr){ - debugLog("%s", errStr); + debugLog("%s\n", errStr); } static void armv5SetFaultAddr(struct ArmCpu* cpu, UInt32 adr, UInt8 faultStatus){ diff --git a/src/armv5/CPU.c b/src/armv5/CPU.c index 33be406..055b00d 100755 --- a/src/armv5/CPU.c +++ b/src/armv5/CPU.c @@ -100,7 +100,7 @@ static _INLINE_ void cpuPrvSetPC(ArmCpu* cpu, UInt32 pc){ cpu->regs[15] = pc &~ 1UL; cpu->CPSR &=~ ARM_SR_T; if(pc & 1) cpu->CPSR |= ARM_SR_T; - else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); + //else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); } static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolean specialPC){ diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 5418ab1..20685fa 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -93,7 +93,7 @@ static void installPceNativeCallHandler(uint32_t armStackSize){ if(oldArmStack) MemChunkFree(oldArmStack); - /*must have 32 bit aligned size and start*/ + /*normally must have 32 bit aligned size and start, but I diasbled 32 bit alignment in the ARM core*/ armStackSize &= 0xFFFFFFFC; armStackStart = MemChunkNew(0, armStackSize, memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); armv5SetStack(armStackStart, armStackSize); diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 506043a..60a5a54 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -59,9 +59,19 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ uint32_t stackBlobSizeAndWantA0 = armv5GetRegister(3); uint32_t (*m68kCallWithBlobFuncPtr)(uint32_t functionAddress, uint32_t stackBlob, uint32_t stackBlobSize, uint16_t returnA0) = (uint32_t (*)(uint32_t, uint32_t, uint32_t, uint16_t))m68kCallWithBlobFunc; + if(true){ + /*debug checks*/ + uint32_t index; + uint32_t end = stackBlobSizeAndWantA0 & ~kPceNativeWantA0; + + debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); + for(index = 0; index < end; index++) + debugLog("Stack byte:0x%02X\n", ((uint8_t*)stackBlob)[index]); + } + /*API call, convert to address first*/ - if(function < 0x1000) - function = (uint32_t)SysGetTrapAddress(0xA000 | function); + if(function <= kPceNativeTrapNoMask) + function = (uint32_t)TrapTablePtr[function];/*SysGetTrapAddress cant be used because this needs to handle OS 5 API calls too*/ /*return whatever the 68k function did*/ armv5SetRegister(0, m68kCallWithBlobFuncPtr(function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0))); @@ -82,6 +92,8 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ armv5SetRegister(14, oldArmRegisters[3]); armv5SetRegister(15, oldArmRegisters[4]); + debugLog("Finished ARM function:0x%08lX\n", (uint32_t)nativeFuncP); + return returnValue; } From c9138ec32af1cba26b56551748413498d8bf8d0a Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 5 Apr 2019 18:48:11 -0700 Subject: [PATCH 16/47] Put back old debug stuff that forwards MemPtrNew call This debug version was not in a git commit, but the new one doesnt trigger. --- tools/palm/muExpansionDriver/traps.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 60a5a54..f7fb174 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -59,8 +59,9 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ uint32_t stackBlobSizeAndWantA0 = armv5GetRegister(3); uint32_t (*m68kCallWithBlobFuncPtr)(uint32_t functionAddress, uint32_t stackBlob, uint32_t stackBlobSize, uint16_t returnA0) = (uint32_t (*)(uint32_t, uint32_t, uint32_t, uint16_t))m68kCallWithBlobFunc; + /*debug checks, I think these where preventing the callback to 68k code MemPtrNew???*/ + /* if(true){ - /*debug checks*/ uint32_t index; uint32_t end = stackBlobSizeAndWantA0 & ~kPceNativeWantA0; @@ -68,6 +69,8 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ for(index = 0; index < end; index++) debugLog("Stack byte:0x%02X\n", ((uint8_t*)stackBlob)[index]); } + */ + debugLog("Called 68k function:0x%08lX\n", function); /*API call, convert to address first*/ if(function <= kPceNativeTrapNoMask) From e6262335d95d3c67d53b92c0c50410fa980628a4 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sun, 7 Apr 2019 09:34:05 -0700 Subject: [PATCH 17/47] Incomplete, just syncing so I can install the repo on another computer --- src/armv5.c | 12 ++++++++++++ tools/palm/muExpansionDriver/palmGlobalDefines.h | 2 +- tools/palm/muExpansionDriver/traps.c | 11 +++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/armv5.c b/src/armv5.c index ace8b68..58e3f99 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -241,6 +241,10 @@ void armv5SetRegister(uint8_t reg, uint32_t value){ } int32_t armv5Execute(int32_t cycles){ +#if defined(EMU_DEBUG) + uint32_t ranOpcodes = 0; +#endif + armv5ServiceRequest = false; #if defined(EMU_DEBUG) && defined(EMU_SANDBOX) @@ -251,8 +255,16 @@ int32_t armv5Execute(int32_t cycles){ while(cycles > 0 && !armv5ServiceRequest){ cpuCycleNoIrqs(&armv5Cpu); cycles -= ARMV5_CYCLES_PER_OPCODE; + +#if defined(EMU_DEBUG) + ranOpcodes++; +#endif } +#if defined(EMU_DEBUG) + debugLog("%d ARM opcodes have been ran\n", ranOpcodes); +#endif + #if defined(EMU_DEBUG) && defined(EMU_SANDBOX) sandboxSetCpuArch(SANDBOX_CPU_ARCH_M68K); #endif diff --git a/tools/palm/muExpansionDriver/palmGlobalDefines.h b/tools/palm/muExpansionDriver/palmGlobalDefines.h index d15657e..f0a663e 100644 --- a/tools/palm/muExpansionDriver/palmGlobalDefines.h +++ b/tools/palm/muExpansionDriver/palmGlobalDefines.h @@ -3,7 +3,7 @@ #include -#define CODE_SECTION(codeSection) __attribute__((section(codeSection))) +#define SECTION(codeSection) __attribute__((section(codeSection))) #define NO_RETURN __attribute__((noreturn)) #define ALIGN(size) __attribute__((aligned(size))) #define PACKED __attribute__((packed)) diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index f7fb174..330718c 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -13,8 +13,19 @@ /*functions in this file are called directly by the Palm OS trap dispatch, this means they can be called when the app isnt loaded and the globals are just a random data buffer*/ +#if 0 +static const SECTION(".text") ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ +static const SECTION(".text") ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ +static const SECTION(".text") ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ +#endif + UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ +#if 0 /*thes arnt set as "static" because the globals dont work here*/ + static const SECTION(".text") ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ + static const SECTION(".text") ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ + static const SECTION(".text") ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ +#endif const ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ const ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ const ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ From d34b0a0694ccb45d2717ab3f39aa56546dedbc89 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 15:01:43 -0700 Subject: [PATCH 18/47] Fix invalid jump instruction --- tools/palm/muExpansionDriver/traps.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 330718c..5dcd8b6 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -13,22 +13,19 @@ /*functions in this file are called directly by the Palm OS trap dispatch, this means they can be called when the app isnt loaded and the globals are just a random data buffer*/ -#if 0 -static const SECTION(".text") ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ -static const SECTION(".text") ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ -static const SECTION(".text") ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ -#endif - UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ -#if 0 - /*thes arnt set as "static" because the globals dont work here*/ - static const SECTION(".text") ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ - static const SECTION(".text") ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ - static const SECTION(".text") ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ -#endif + /*these arnt set as "static" because the globals dont work here*/ const ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ const ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ - const ALIGN(2) uint8_t m68kCallWithBlobFunc[] = {0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0C, 0x34, 0x91, 0x54, 0x89, 0x54, 0x8A, 0x4E, 0xF8, 0x10, 0x4E, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, 0x4E, 0x5E, 0x4E, 0x75};/*m68k asm blob*/ + const ALIGN(2) uint8_t m68kCallWithBlobFunc[] = { + 0x4e, 0x56, 0x00, 0x00, 0x48, 0xe7, 0x60, 0x70, 0x26, 0x6e, 0x00, 0x08, + 0x22, 0x6e, 0x00, 0x0c, 0x22, 0x2e, 0x00, 0x10, 0x34, 0x2e, 0x00, 0x14, + 0x24, 0x4f, 0x95, 0xc1, 0xbf, 0xca, 0x67, 0x00, 0x00, 0x0a, 0x34, 0x91, + 0x54, 0x89, 0x54, 0x8a, 0x60, 0xf2, 0x9f, 0xc1, 0x4e, 0x93, 0xdf, 0xc1, + 0x4a, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4c, 0xdf, 0x0e, 0x06, + 0x4e, 0x5e, 0x4e, 0x75 + + };/*m68k asm blob*/ uint32_t oldArmRegisters[5]; uint32_t returnValue; @@ -81,7 +78,8 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ debugLog("Stack byte:0x%02X\n", ((uint8_t*)stackBlob)[index]); } */ - debugLog("Called 68k function:0x%08lX\n", function); + /*debugLog("Called 68k function:0x%08lX\n", function);*/ + debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); /*API call, convert to address first*/ if(function <= kPceNativeTrapNoMask) From 182a188cda564cba46da807c5416d3369e0e06c5 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 17:43:18 -0700 Subject: [PATCH 19/47] More debug tools and tests, seems 32 bit alignment is still messing with ARM execution --- .../armPartialyWorksAt4ByteAlignment.txt | 453 ++++++++++++++++++ bugs/armCpu/notes.txt | 1 + bugs/fixed/{ => weirdAudio}/speakerIssues.txt | 0 bugs/unimplementedHardware.txt | 1 + qtBuildSystem/Mu/Mu.pro | 10 +- src/debug/sandbox.c | 56 ++- src/emulator.c | 2 +- src/emulator.h | 2 + src/flx68000.c | 6 +- src/sed1376.c | 9 - src/specs/emuFeatureRegisterSpec.h | 2 +- .../specs/emuFeatureRegisterSpec.h | 2 +- .../specs/emuFeatureRegisterSpec.h | 2 +- tools/palm/muExpansionDriver/traps.c | 8 +- 14 files changed, 525 insertions(+), 29 deletions(-) create mode 100644 bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt create mode 100644 bugs/armCpu/notes.txt rename bugs/fixed/{ => weirdAudio}/speakerIssues.txt (100%) diff --git a/bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt b/bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt new file mode 100644 index 0000000..42392ca --- /dev/null +++ b/bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt @@ -0,0 +1,453 @@ +Cant draw screen, LCD on:false, PLL on:true, power save on:false, forced blank on:false(printed 4 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +Cant draw screen, LCD on:false, PLL on:true, power save on:false, forced blank on:false(printed 2 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +CMD_PRINT: muExpDriver:OS booting! (printed 1 times) +CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) +CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage free:15796336 bytes, Storage biggest block:15769916 bytes (printed 1 times) +CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) +CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) +CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) +SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) +CMD_PRINT: muExpDriver:Attempting to load GUI. (printed 1 times) +CMD_PRINT: muExpDriver:Attempting reboot! (printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) +CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) +CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) +SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) +Sandbox: Command 1 started(printed 1 times) +m68k jumped 0xEFF7B2D6 bytes to invalid address, from 0x10084D0A to 0xFFFFFFE0(printed 1 times) +m68k jumped 0x00000000 bytes to invalid address, from 0xFFFFFFE4 to 0xFFFFFFE4(printed 1 times) +m68k jumped 0x0000000E bytes to invalid address, from 0xFFFFFFEE to 0xFFFFFFE0(printed 1 times) +m68k jumped 0x00000000 bytes to invalid address, from 0xFFFFFFE4 to 0xFFFFFFE4(printed 1 times) +m68k jumped 0x0000000E bytes to invalid address, from 0xFFFFFFEE to 0xFFFFFFE0(printed 1 times) +m68k jumped 0x00000000 bytes to invalid address, from 0xFFFFFFE4 to 0xFFFFFFE4(printed 1 times) +Sandbox: Command 1 finished(printed 1 times) +CMD_PRINT: muExpDriver:No config file, setting default config. (printed 1 times) +CMD_PRINT: muExpDriver:Attempting to load GUI. (printed 1 times) +CMD_PRINT: muExpDriver:Attempting reboot! (printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +CMD_PRINT: muExpDriver:OS booting! (printed 1 times) +CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) +CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage free:15796364 bytes, Storage biggest block:15769940 bytes (printed 1 times) +CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) +CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) +CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) +SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) +CMD_PRINT: muExpDriver:Called ARM function:0x000D4CA2 (printed 1 times) +Bus error timeout at:0xAA22CD58, PC:0x000EC522(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +CMD_PRINT: muExpDriver:OS booting! (printed 1 times) +CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) +CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage free:15796364 bytes, Storage biggest block:15769940 bytes (printed 1 times) +CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) +CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) +CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) +SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) +CMD_PRINT: muExpDriver:Called ARM function:0x000D4CA2 (printed 1 times) +Bus error timeout at:0xAA22CD58, PC:0x000EC522(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +CMD_PRINT: muExpDriver:OS booting! (printed 1 times) +CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) +CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage free:15796364 bytes, Storage biggest block:15769940 bytes (printed 1 times) +CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) +CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) +CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) +SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) +CMD_PRINT: muExpDriver:Called ARM function:0x000D4CA2 (printed 1 times) +Bus error timeout at:0xAA22CD58, PC:0x000EC522(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0xFB(printed 1 times) +USB command 0xFB, write not handeled(printed 1 times) +USB unknown command, value:0x00(printed 1 times) +USB command 0x00, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x02(printed 1 times) +USB command 0x02, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0x04(printed 1 times) +USB command 0x04, read not handeled(printed 1 times) +USB unknown command, value:0xF2(printed 1 times) +USB unknown command, value:0xF3(printed 1 times) +USB command 0xF3, write not handeled(printed 2 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, write not handeled(printed 1 times) +USB unknown command, value:0x40(printed 1 times) +USB command 0x40, read not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, write not handeled(printed 1 times) +USB unknown command, value:0x41(printed 1 times) +USB command 0x41, read not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, write not handeled(printed 1 times) +USB unknown command, value:0x42(printed 1 times) +USB command 0x42, read not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, write not handeled(printed 1 times) +USB unknown command, value:0x43(printed 1 times) +USB command 0x43, read not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, write not handeled(printed 1 times) +USB unknown command, value:0x44(printed 1 times) +USB command 0x44, read not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, write not handeled(printed 1 times) +USB unknown command, value:0x45(printed 1 times) +USB command 0x45, read not handeled(printed 1 times) +CMD_PRINT: muExpDriver:OS booting! (printed 1 times) +CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) +CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) +CMD_PRINT: muExpDriver:Storage free:15810968 bytes, Storage biggest block:15785686 bytes (printed 1 times) +CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) +CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) +CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) +CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) +CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) +CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) +SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) +CMD_PRINT: muExpDriver:Called ARM function:0x000D1484 (printed 1 times) +50 ARM opcodes have been ran(printed 16 times) +36 ARM opcodes have been ran(printed 1 times) +CMD_PRINT: muExpDriver:ARM calling 68k function:0x00000013, stackBlob:0x0003A330, stackBlobSize:0x00000004, wantA0:1 (printed 1 times) +50 ARM opcodes have been ran(printed 1 times) +20 ARM opcodes have been ran(printed 1 times) +CMD_PRINT: muExpDriver:ARM calling 68k function:0x00000013, stackBlob:0x0003A328, stackBlobSize:0x00000004, wantA0:1 (printed 1 times) +m68k jumped 0x1AAF6E8C bytes to invalid address, from 0x000EA178 to 0x1ABE1004(printed 1 times) +Bus error timeout at:0x1ABE1004, PC:0x1ABE1004(printed 1 times) diff --git a/bugs/armCpu/notes.txt b/bugs/armCpu/notes.txt new file mode 100644 index 0000000..cabb7fa --- /dev/null +++ b/bugs/armCpu/notes.txt @@ -0,0 +1 @@ +ARM executes mostly normal up until 68k functions are called when 32 bit aligned but acts weird when 16 bit aligned, there may be part of the CPU core I haven't patched yet. \ No newline at end of file diff --git a/bugs/fixed/speakerIssues.txt b/bugs/fixed/weirdAudio/speakerIssues.txt similarity index 100% rename from bugs/fixed/speakerIssues.txt rename to bugs/fixed/weirdAudio/speakerIssues.txt diff --git a/bugs/unimplementedHardware.txt b/bugs/unimplementedHardware.txt index e821142..acc8571 100644 --- a/bugs/unimplementedHardware.txt +++ b/bugs/unimplementedHardware.txt @@ -55,6 +55,7 @@ MakePalmBitmap: Fixed: +(Feature)need to add FEATURE_DURABLE which will ignore CPU errors, increasing stability at the cost of bugginess (RetroArch port)set the alarm LED using retro_set_led_state_t on RetroArch (CPU I/O)SPI1 SPISPC register(this is just a clock divider used to slow transfers to allow the voltages to settle, since the emu has no voltages all transfers are just instant) (CPU)TCN2 is unimplemented and seems to be used by the same routines that turn the CPU off for sleep mode(it is implemented now and it wasn't the cause of the sleep mode issue) diff --git a/qtBuildSystem/Mu/Mu.pro b/qtBuildSystem/Mu/Mu.pro index 6b35ca9..88738ae 100644 --- a/qtBuildSystem/Mu/Mu.pro +++ b/qtBuildSystem/Mu/Mu.pro @@ -58,17 +58,13 @@ android{ DEFINES += EMU_MULTITHREADED } -ios{ - # QMAKE_INFO_PLIST = ios/Info.plist - DEFINES += EMU_MULTITHREADED -} - CONFIG(debug, debug|release){ # debug build, be accurate, fail hard, and add logging DEFINES += EMU_DEBUG EMU_CUSTOM_DEBUG_LOG_HANDLER EMU_SANDBOX - DEFINES += EMU_SANDBOX_LOG_MEMORY_ACCESSES # checks all reads and writes to memory and logs certain events - # DEFINES += EMU_SANDBOX_OPCODE_LEVEL_DEBUG # for breakpoints + # DEFINES += EMU_SANDBOX_LOG_MEMORY_ACCESSES # checks all reads and writes to memory and logs certain events + DEFINES += EMU_SANDBOX_OPCODE_LEVEL_DEBUG # for breakpoints + DEFINES += EMU_SANDBOX_LOG_JUMPS # log large jumps # DEFINES += EMU_SANDBOX_LOG_APIS # for printing sysTrap* calls, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must be on too macx|linux-g++{ # also check for any buffer overflows and memory leaks diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index e552ead..0f1a549 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -22,6 +22,7 @@ #include "trapNames.h" +#define SANDBOX_MAX_UNLOGGED_JUMP_SIZE 0xFFFFFFFF #define SANDBOX_MAX_WATCH_REGIONS 1000 @@ -160,6 +161,26 @@ static void printTrapInfo(uint16_t trap){ debugLog("name:%s, API:0x%04X, location:0x%08X\n", lookupTrap(trap), trap, m68k_read_memory_32(0x000008CC + (trap & 0x0FFF) * 4)); } +bool validExecutionAddress(uint32_t address){ + if(chips[CHIP_A0_ROM].inBootMode || address >= chips[CHIP_A0_ROM].start && address < chips[CHIP_A0_ROM].start + chips[CHIP_A0_ROM].lineSize) + return true; + if(address >= chips[CHIP_DX_RAM].start && address < chips[CHIP_DX_RAM].start + chips[CHIP_DX_RAM].lineSize) + return true; + return false; +} + +void log68kJumps(void){ + uint32_t opcodeStartPc = m68k_get_reg(NULL, M68K_REG_PPC); + uint32_t opcodeEndPc = m68k_get_reg(NULL, M68K_REG_PC); + uint32_t difference = llabs((int64_t)opcodeStartPc - (int64_t)opcodeEndPc); + + //if invalid always log, otherwise only log if big jump + if(!validExecutionAddress(opcodeEndPc)) + debugLog("m68k jumped 0x%08X bytes to invalid address, from 0x%08X to 0x%08X\n", difference, opcodeStartPc, opcodeEndPc); + else if(difference > SANDBOX_MAX_UNLOGGED_JUMP_SIZE) + debugLog("m68k jumped 0x%08X bytes, from 0x%08X to 0x%08X\n", difference, opcodeStartPc, opcodeEndPc); +} + static void logApiCalls(void){ uint32_t programCounter = m68k_get_reg(NULL, M68K_REG_PPC); uint16_t instruction = m68k_get_reg(NULL, M68K_REG_IR); @@ -604,6 +625,9 @@ void sandboxReset(void){ //log all register accesses //sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); + + //monitor for strange jumps + sandboxSetWatchRegion(0x00000000, 0xFFFFFFFE, SANDBOX_WATCH_CODE); } uint32_t sandboxStateSize(void){ @@ -837,10 +861,15 @@ uint32_t sandboxCommand(uint32_t command, void* data){ } void sandboxOnOpcodeRun(void){ + if(sandboxRunning()){ +#if defined(EMU_SANDBOX_LOG_JUMPS) + log68kJumps(); +#endif + #if defined(EMU_SANDBOX_LOG_APIS) - if(sandboxRunning()) logApiCalls(); #endif + } switch(m68k_get_reg(NULL, M68K_REG_PC)){//switched this from PPC to PC //case 0x10083652://USB issue location //address based on PPC //case 0x100846C0://HwrDelay, before mysterious jump //address based on PPC @@ -925,14 +954,14 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t if(!functionValid) function = "NAME NOT FOUND"; - if(address < 0x00010000){ + if(address >= chips[CHIP_DX_RAM].start && address < chips[CHIP_DX_RAM].start + 0x10000){ //low mem globals - const char* variableName = getLowMemGlobalName(address);//dont free this pointer, it just returns a string constant from a list of string constants + address &= 0xFFFF; if(write) - debugLog("Writing low mem global: name:%s/address:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", variableName, address, size, value, function, pc); + debugLog("Writing low mem global: name:%s/global:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", getLowMemGlobalName(address), address, size, value, function, pc); else - debugLog("Reading low mem global: name:%s/address:0x%08X, size:%d, function:%s/PC:0x%08X\n", variableName, address, size, function, pc); + debugLog("Reading low mem global: name:%s/global:0x%08X, size:%d, function:%s/PC:0x%08X\n", getLowMemGlobalName(address), address, size, function, pc); } else if(address >= 0xFFFFF000){ //hardware registers @@ -960,6 +989,23 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t debugLog("Reading hardware register: name:%s/address:0x%08X, size:%d, function:%s/PC:0x%08X\n", registerName, address, size, function, pc); } } + else if(address >= chips[CHIP_B0_SED].start && address < chips[CHIP_B0_SED].start + chips[CHIP_B0_SED].lineSize){ + //SED1376 + if(address & SED1376_MR_BIT){ + //SED1376 data + if(write) + debugLog("Writing SED1376 buffer: address:0x%08X, size:%d, value:0x%08X, function:%s/PC:0x%08X\n", address, size, value, function, pc); + else + debugLog("Reading SED1376 buffer: address:0x%08X, size:%d, function:%s/PC:0x%08X\n", address, size, function, pc); + } + else{ + //SED1376 register, these are 8 bit only + if(write) + debugLog("Writing SED1376 register: address:0x%08X, value:0x%02X, function:%s/PC:0x%08X\n", address, value & 0xFF, function, pc); + else + debugLog("Reading SED1376 register: address:0x%08X, function:%s/PC:0x%08X\n", address, function, pc); + } + } else{ //everywhere else if(write) diff --git a/src/emulator.c b/src/emulator.c index db60a65..01c5f3f 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -54,7 +54,7 @@ double palmClk32Sysclks;//how many SYSCLKs have happened in the current CLK32 uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enabledEmuFeatures){ //only accept valid non debug features from the user - enabledEmuFeatures &= FEATURE_RAM_HUGE | FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_SYNCED_RTC | FEATURE_HLE_APIS | FEATURE_EMU_HONEST | FEATURE_EXT_KEYS | FEATURE_SND_STRMS; + enabledEmuFeatures &= FEATURE_RAM_HUGE | FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_SYNCED_RTC | FEATURE_HLE_APIS | FEATURE_EMU_HONEST | FEATURE_EXT_KEYS | FEATURE_DURABLE | FEATURE_SND_STRMS; #if defined(EMU_DEBUG) //enable debug features if compiled in debug mode diff --git a/src/emulator.h b/src/emulator.h index 0426398..09e1556 100644 --- a/src/emulator.h +++ b/src/emulator.h @@ -21,7 +21,9 @@ extern "C" { //define EMU_BIG_ENDIAN on big endian systems //to enable degguging define EMU_DEBUG, all options below do nothing unless EMU_DEBUG is defined //to enable sandbox debugging define EMU_SANDBOX +//to enable memory access logging define EMU_SANDBOX_LOG_MEMORY_ACCESSES //to enable opcode level debugging define EMU_SANDBOX_OPCODE_LEVEL_DEBUG +//to enable flow control logging define EMU_SANDBOX_LOG_JUMPS, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must also be defined for this to work //to log all API calls define EMU_SANDBOX_LOG_APIS, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must also be defined for this to work //debug diff --git a/src/flx68000.c b/src/flx68000.c index 37c057b..19c59d9 100755 --- a/src/flx68000.c +++ b/src/flx68000.c @@ -278,8 +278,10 @@ bool flx68000IsSupervisor(void){ void flx68000BusError(uint32_t address, bool isWrite){ #if !defined(EMU_NO_SAFETY) - //never call outsize of a 68k opcode, behavior is undefined due to longjmp - m68ki_trigger_bus_error(address, isWrite ? MODE_WRITE : MODE_READ, FLAG_S | m68ki_get_address_space()); + if(!(palmEmuFeatures.info & FEATURE_DURABLE)){ + //never call outsize of a 68k opcode, behavior is undefined due to longjmp + m68ki_trigger_bus_error(address, isWrite ? MODE_WRITE : MODE_READ, FLAG_S | m68ki_get_address_space()); + } #endif } diff --git a/src/sed1376.c b/src/sed1376.c index b23a0dc..505007d 100644 --- a/src/sed1376.c +++ b/src/sed1376.c @@ -6,7 +6,6 @@ #include "hardwareRegisters.h" #include "flx68000.h"//for flx68000GetPc() #include "specs/sed1376RegisterSpec.h" -#include "debug/sandbox.h" //the SED1376 has only 16 address lines(17 if you count the line that switches between registers and framebuffer) and 16 data lines, the most you can read at once is 16 bits, registers are 8 bits @@ -178,10 +177,6 @@ bool sed1376PowerSaveEnabled(void){ uint8_t sed1376GetRegister(uint8_t address){ //returning 0x00 on power save mode is done in the sed1376ReadXX functions - - if(sandboxRunning()) - debugLog("SED1376 register read from 0x%02X, PC 0x%08X.\n", address, flx68000GetPc()); - switch(address){ case LUT_READ_LOC: case LUT_WRITE_LOC: @@ -217,10 +212,6 @@ uint8_t sed1376GetRegister(uint8_t address){ } void sed1376SetRegister(uint8_t address, uint8_t value){ - - if(sandboxRunning()) - debugLog("SED1376 register write 0x%02X to 0x%02X, PC 0x%08X.\n", value, address, flx68000GetPc()); - switch(address){ case PWR_SAVE_CFG: //bit 7 must always be set, timing hack diff --git a/src/specs/emuFeatureRegisterSpec.h b/src/specs/emuFeatureRegisterSpec.h index b90fce2..b6d41b5 100644 --- a/src/specs/emuFeatureRegisterSpec.h +++ b/src/specs/emuFeatureRegisterSpec.h @@ -19,7 +19,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define FEATURE_EMU_HONEST 0x00000040/*tell the OS that its running in an emu, does nothing else*/ #define FEATURE_EXT_KEYS 0x00000080/*enables the OS 5 buttons, left, right and select*/ #define FEATURE_DEBUG 0x00000100/*enables the debug commands, used to call Palm OS functions like native C functions*/ -/*FEATURE_UNUSED 0x00000200*/ +#define FEATURE_DURABLE 0x00000200/*ignore behavior that would crash a real device*/ /*FEATURE_UNUSED 0x00000400*/ #define FEATURE_SND_STRMS 0x00000800/*enables OS 5 audio streams*/ /*new features go here*/ diff --git a/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h b/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h index b90fce2..b6d41b5 100644 --- a/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h +++ b/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h @@ -19,7 +19,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define FEATURE_EMU_HONEST 0x00000040/*tell the OS that its running in an emu, does nothing else*/ #define FEATURE_EXT_KEYS 0x00000080/*enables the OS 5 buttons, left, right and select*/ #define FEATURE_DEBUG 0x00000100/*enables the debug commands, used to call Palm OS functions like native C functions*/ -/*FEATURE_UNUSED 0x00000200*/ +#define FEATURE_DURABLE 0x00000200/*ignore behavior that would crash a real device*/ /*FEATURE_UNUSED 0x00000400*/ #define FEATURE_SND_STRMS 0x00000800/*enables OS 5 audio streams*/ /*new features go here*/ diff --git a/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h b/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h index b90fce2..b6d41b5 100644 --- a/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h +++ b/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h @@ -19,7 +19,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define FEATURE_EMU_HONEST 0x00000040/*tell the OS that its running in an emu, does nothing else*/ #define FEATURE_EXT_KEYS 0x00000080/*enables the OS 5 buttons, left, right and select*/ #define FEATURE_DEBUG 0x00000100/*enables the debug commands, used to call Palm OS functions like native C functions*/ -/*FEATURE_UNUSED 0x00000200*/ +#define FEATURE_DURABLE 0x00000200/*ignore behavior that would crash a real device*/ /*FEATURE_UNUSED 0x00000400*/ #define FEATURE_SND_STRMS 0x00000800/*enables OS 5 audio streams*/ /*new features go here*/ diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 5dcd8b6..3887da0 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -49,7 +49,7 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ oldArmRegisters[3] = armv5GetRegister(14); oldArmRegisters[4] = armv5GetRegister(15); - armv5SetRegister(0, 0x0000000);/*emulStateP is unusesd*/ + armv5SetRegister(0, 0xBADC0DE);/*emulStateP is unused*/ armv5SetRegister(1, (uint32_t)userDataP); armv5SetRegister(2, (uint32_t)armCall68kFunc); @@ -62,6 +62,7 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ /*ARM tried to call a 68k function or has finished executing*/ if(armv5GetRegister(0)){ /*call function*/ + /*uint32_t emulStateP = armv5GetRegister(0);*/ uint32_t function = armv5GetRegister(1); uint32_t stackBlob = armv5GetRegister(2); uint32_t stackBlobSizeAndWantA0 = armv5GetRegister(3); @@ -79,7 +80,10 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ } */ /*debugLog("Called 68k function:0x%08lX\n", function);*/ - debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); + /* + debugLog("ARM calling 68k: emulStateP:0x%08lX, function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", emulStateP, function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); + */ + debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); /*API call, convert to address first*/ if(function <= kPceNativeTrapNoMask) From 79af40b61f43e15525c6691fa70cdeba1fa7e62b Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 18:11:27 -0700 Subject: [PATCH 20/47] Attempt to block 32 bit alignment requirement This didnt work so it will be reverted right after this commit. --- src/armv5/CPU.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/armv5/CPU.c b/src/armv5/CPU.c index 055b00d..585506f 100755 --- a/src/armv5/CPU.c +++ b/src/armv5/CPU.c @@ -100,7 +100,7 @@ static _INLINE_ void cpuPrvSetPC(ArmCpu* cpu, UInt32 pc){ cpu->regs[15] = pc &~ 1UL; cpu->CPSR &=~ ARM_SR_T; if(pc & 1) cpu->CPSR |= ARM_SR_T; - //else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); + //else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address");//with 32 bit alignment restrictions } static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolean specialPC){ @@ -109,7 +109,8 @@ static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolea ret = cpu->regs[reg]; if(reg == 15) ret += (wasT) ? 2 : 4; - if(wasT && specialPC) ret &=~ 3UL; + //if(wasT && specialPC) ret &=~ 3UL;//with 32 bit alignment restrictions + if(wasT && specialPC) ret &=~ 1UL;//without 32 bit alignment restrictions return ret; } @@ -2353,8 +2354,15 @@ static Err cpuPrvCycleThumb(ArmCpu* cpu){ case 3: // BX if(instrT == 0x4778){ //special handing for thumb's "BX PC" as aparently docs are wrong on it - - cpuPrvSetPC(cpu, (cpu->regs[15] + 2) &~ 3UL); + //with 32 bit alignment restrictions + //cpuPrvSetPC(cpu, (cpu->regs[15] + 2) &~ 3UL); + + //without 32 bit alignment restrictions + { + UInt32 oldA1 = cpu->regs[15] & 2UL; + cpuPrvSetPC(cpu, ((cpu->regs[15] + 2) &~ 3UL) | oldA1); + } + goto instr_done; } @@ -2558,7 +2566,16 @@ static Err cpuPrvCycleThumb(ArmCpu* cpu){ case 1: //BLX(1)_suffix instr = cpu->regs[15]; - cpu->regs[15] = (cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL; + + //with 32 bit alignment restrictions + //cpu->regs[15] = (cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL; + + //without 32 bit alignment restrictions + { + UInt32 oldA1 = cpu->regs[15] & 2UL; + cpu->regs[15] = ((cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL) | oldA1; + } + cpu->regs[14] = instr | 1UL; cpu->CPSR &=~ ARM_SR_T; goto instr_done; From 81f0521165e4b49a1b2eb44d1ae41126dc47c8b3 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 18:11:41 -0700 Subject: [PATCH 21/47] Revert "Attempt to block 32 bit alignment requirement" This reverts commit 79af40b61f43e15525c6691fa70cdeba1fa7e62b. --- src/armv5/CPU.c | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/src/armv5/CPU.c b/src/armv5/CPU.c index 585506f..055b00d 100755 --- a/src/armv5/CPU.c +++ b/src/armv5/CPU.c @@ -100,7 +100,7 @@ static _INLINE_ void cpuPrvSetPC(ArmCpu* cpu, UInt32 pc){ cpu->regs[15] = pc &~ 1UL; cpu->CPSR &=~ ARM_SR_T; if(pc & 1) cpu->CPSR |= ARM_SR_T; - //else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address");//with 32 bit alignment restrictions + //else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); } static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolean specialPC){ @@ -109,8 +109,7 @@ static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolea ret = cpu->regs[reg]; if(reg == 15) ret += (wasT) ? 2 : 4; - //if(wasT && specialPC) ret &=~ 3UL;//with 32 bit alignment restrictions - if(wasT && specialPC) ret &=~ 1UL;//without 32 bit alignment restrictions + if(wasT && specialPC) ret &=~ 3UL; return ret; } @@ -2354,15 +2353,8 @@ static Err cpuPrvCycleThumb(ArmCpu* cpu){ case 3: // BX if(instrT == 0x4778){ //special handing for thumb's "BX PC" as aparently docs are wrong on it - //with 32 bit alignment restrictions - //cpuPrvSetPC(cpu, (cpu->regs[15] + 2) &~ 3UL); - - //without 32 bit alignment restrictions - { - UInt32 oldA1 = cpu->regs[15] & 2UL; - cpuPrvSetPC(cpu, ((cpu->regs[15] + 2) &~ 3UL) | oldA1); - } - + + cpuPrvSetPC(cpu, (cpu->regs[15] + 2) &~ 3UL); goto instr_done; } @@ -2566,16 +2558,7 @@ static Err cpuPrvCycleThumb(ArmCpu* cpu){ case 1: //BLX(1)_suffix instr = cpu->regs[15]; - - //with 32 bit alignment restrictions - //cpu->regs[15] = (cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL; - - //without 32 bit alignment restrictions - { - UInt32 oldA1 = cpu->regs[15] & 2UL; - cpu->regs[15] = ((cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL) | oldA1; - } - + cpu->regs[15] = (cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL; cpu->regs[14] = instr | 1UL; cpu->CPSR &=~ ARM_SR_T; goto instr_done; From 1b407a449710415255d716a66d33ede1b3974076 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 18:53:50 -0700 Subject: [PATCH 22/47] Make new patch for unaligned access since disabling it completely broke things --- src/armv5.c | 23 ++++++++++++++++++++--- src/armv5/CPU.c | 2 +- src/debug/sandbox.c | 4 ++-- src/debug/sandbox.h | 2 +- src/flx68000.c | 2 +- src/specs/emuFeatureRegisterSpec.h | 2 +- tools/palm/muExpansionDriver/armv5.c | 8 +++++++- tools/palm/muExpansionDriver/patcher.c | 2 -- tools/palm/muExpansionDriver/traps.c | 8 ++++++++ 9 files changed, 41 insertions(+), 12 deletions(-) diff --git a/src/armv5.c b/src/armv5.c index 58e3f99..36f5c85 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -21,7 +21,24 @@ static ArmCpu armv5Cpu; static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 size, Boolean write, Boolean privileged, UInt8* fsr){ //just gonna have ARM and m68k share the same bus for now, ARM may want fonts/bitmaps from ROM - //no safety check is needed, they are done in the m68k memory accessors called from here + //Fake ARM 32 bit alignment convention + //0x00000000<->0x7FFFFFFF Normal memory access + //0x80000000<->0xFFFFFFFF Mirrored range, realAddress = address - 0x80000000 + 0x00000002 + + //this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the m68k, + //but it allows 16 bit aligned data to be executed from the m68k stack and works as a + //temporary measure until I get MemChunkNew patched correctly + +#if !defined(EMU_NO_SAFETY) + //size is not a power of two or address isnt aligned to size + if(size & (size - 1) || vaddr & (size - 1)){ + debugLog("ARM attempted unaligned access: address:0x%08X, size:%d\n", vaddr, size); + return false; + } +#endif + + if(vaddr & 0x80000000) + vaddr ^= 0x80000002; if(write){ switch(size){ @@ -77,7 +94,7 @@ static void armv5SetFaultAddr(struct ArmCpu* cpu, UInt32 adr, UInt8 faultStatus) } void armv5Reset(void){ - cpuInit(&armv5Cpu, 0x00000000/*PC, set by 68k while emulating*/, armv5MemoryAccess, armv5EmulErr, armv5Hypercall, armv5SetFaultAddr); + cpuInit(&armv5Cpu, 0x00000000/*PC, set by m68k while emulating*/, armv5MemoryAccess, armv5EmulErr, armv5Hypercall, armv5SetFaultAddr); armv5ServiceRequest = false; } @@ -251,7 +268,7 @@ int32_t armv5Execute(int32_t cycles){ sandboxSetCpuArch(SANDBOX_CPU_ARCH_ARMV5); #endif - //execution aborts on hypercall to request things from the 68k + //execution aborts on hypercall to request things from the m68k while(cycles > 0 && !armv5ServiceRequest){ cpuCycleNoIrqs(&armv5Cpu); cycles -= ARMV5_CYCLES_PER_OPCODE; diff --git a/src/armv5/CPU.c b/src/armv5/CPU.c index 055b00d..b535622 100755 --- a/src/armv5/CPU.c +++ b/src/armv5/CPU.c @@ -100,7 +100,7 @@ static _INLINE_ void cpuPrvSetPC(ArmCpu* cpu, UInt32 pc){ cpu->regs[15] = pc &~ 1UL; cpu->CPSR &=~ ARM_SR_T; if(pc & 1) cpu->CPSR |= ARM_SR_T; - //else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); + else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); } static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolean specialPC){ diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 0f1a549..73195bb 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -3,7 +3,7 @@ #if defined(EMU_DEBUG) && defined(EMU_SANDBOX) -//this wrappers 68k code and allows calling it for tests, this should be useful for determining if hardware accesses are correct +//this wrappers m68k code and allows calling it for tests, this should be useful for determining if hardware accesses are correct //Note: when running a test the emulator runs at native speed and no clocks are emulated #include #include @@ -48,7 +48,7 @@ typedef struct{ static bool sandboxActive;//used to "log out" of the emulator once a test has finished -static bool sandboxControlHandoff;//used for functions that depend on timing, hands full control to the 68k +static bool sandboxControlHandoff;//used for functions that depend on timing, hands full control to the m68k static uint8_t sandboxCurrentCpuArch; static local_cpu_state_t sandboxOldFunctionCpuState; static mem_region_t sandboxWatchRegions[SANDBOX_MAX_WATCH_REGIONS];//code locations in m68k address space to be sandboxed diff --git a/src/debug/sandbox.h b/src/debug/sandbox.h index 0b59a52..54ea069 100644 --- a/src/debug/sandbox.h +++ b/src/debug/sandbox.h @@ -32,7 +32,7 @@ uint32_t sandboxCommand(uint32_t command, void* data); void sandboxOnOpcodeRun(void); void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value); bool sandboxRunning(void); -void sandboxReturn(void);//should only be called called by 68k code +void sandboxReturn(void);//should only be called called by m68k code uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type); void sandboxClearWatchRegion(uint16_t index); void sandboxSetCpuArch(uint8_t arch); diff --git a/src/flx68000.c b/src/flx68000.c index 19c59d9..b0ab6c9 100755 --- a/src/flx68000.c +++ b/src/flx68000.c @@ -279,7 +279,7 @@ bool flx68000IsSupervisor(void){ void flx68000BusError(uint32_t address, bool isWrite){ #if !defined(EMU_NO_SAFETY) if(!(palmEmuFeatures.info & FEATURE_DURABLE)){ - //never call outsize of a 68k opcode, behavior is undefined due to longjmp + //never call outsize of a m68k opcode, behavior is undefined due to longjmp m68ki_trigger_bus_error(address, isWrite ? MODE_WRITE : MODE_READ, FLAG_S | m68ki_get_address_space()); } #endif diff --git a/src/specs/emuFeatureRegisterSpec.h b/src/specs/emuFeatureRegisterSpec.h index b6d41b5..b2e6569 100644 --- a/src/specs/emuFeatureRegisterSpec.h +++ b/src/specs/emuFeatureRegisterSpec.h @@ -53,7 +53,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from m68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ #define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ #define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ diff --git a/tools/palm/muExpansionDriver/armv5.c b/tools/palm/muExpansionDriver/armv5.c index cfc90f3..a4d9e38 100644 --- a/tools/palm/muExpansionDriver/armv5.c +++ b/tools/palm/muExpansionDriver/armv5.c @@ -7,7 +7,13 @@ void armv5SetStack(uint8_t* location, uint32_t size){ - armv5SetRegister(13, (uint32_t)location + size - sizeof(uint32_t)); + uint32_t firstStackEntry = (uint32_t)location + size - 1; + + /*must be 32 bit aligned, m68k only enforces 16 bit aligned even for 32 bit access so MemPtrNew may return a word aligned address*/ + while((firstStackEntry & 0x3) != 0) + firstStackEntry--; + + armv5SetRegister(13, firstStackEntry); } void armv5StackPush(uint32_t value){ diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 20685fa..1b609f9 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -93,8 +93,6 @@ static void installPceNativeCallHandler(uint32_t armStackSize){ if(oldArmStack) MemChunkFree(oldArmStack); - /*normally must have 32 bit aligned size and start, but I diasbled 32 bit alignment in the ARM core*/ - armStackSize &= 0xFFFFFFFC; armStackStart = MemChunkNew(0, armStackSize, memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); armv5SetStack(armStackStart, armStackSize); setGlobalVar(ARM_STACK_START, (uint32_t)armStackStart); diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 3887da0..d46b2db 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -39,6 +39,14 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ /*R0 = 0 is execution finished, R0 = 1 is run function*/ /*when R0 = 1, R1 = function to execute, R2 = stack blob, R3 = stack blob size and want A0*/ + /*Fake ARM 32 bit alignment convention*/ + /*0x00000000<->0x7FFFFFFF Normal memory access*/ + /*0x80000000<->0xFFFFFFFF Mirrored range, realAddress = address - 0x80000000 + 0x00000002*/ + + /*this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the m68k,*/ + /*but it allows 16 bit aligned data to be executed from the m68k stack and works as a*/ + /*temporary measure until I get MemChunkNew patched correctly*/ + debugLog("Called ARM function:0x%08lX\n", (uint32_t)nativeFuncP); /*save old ARM state, needed if this function is called recursively*/ From f11fdcdf1883c527f08f56c39970fbf53a008a9e Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 21:28:15 -0700 Subject: [PATCH 23/47] ARM actually ran so I will just commit this There is still severe issues with 32 bit alignment. --- src/armv5.c | 3 +++ .../hwTestSuite/specs/emuFeatureRegisterSpec.h | 2 +- tools/palm/muExpansionDriver/armv5.c | 7 +++++++ tools/palm/muExpansionDriver/armv5.h | 1 + .../specs/emuFeatureRegisterSpec.h | 2 +- tools/palm/muExpansionDriver/traps.c | 14 +++++++------- 6 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/armv5.c b/src/armv5.c index 36f5c85..fdf4c33 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -29,6 +29,8 @@ static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 siz //but it allows 16 bit aligned data to be executed from the m68k stack and works as a //temporary measure until I get MemChunkNew patched correctly + //while executing wont support non 32 bit alignment regular accesses can for now + /* #if !defined(EMU_NO_SAFETY) //size is not a power of two or address isnt aligned to size if(size & (size - 1) || vaddr & (size - 1)){ @@ -36,6 +38,7 @@ static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 siz return false; } #endif + */ if(vaddr & 0x80000000) vaddr ^= 0x80000002; diff --git a/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h b/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h index b6d41b5..b2e6569 100644 --- a/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h +++ b/tools/palm/hwTestSuite/specs/emuFeatureRegisterSpec.h @@ -53,7 +53,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from m68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ #define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ #define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ diff --git a/tools/palm/muExpansionDriver/armv5.c b/tools/palm/muExpansionDriver/armv5.c index a4d9e38..20a1e8d 100644 --- a/tools/palm/muExpansionDriver/armv5.c +++ b/tools/palm/muExpansionDriver/armv5.c @@ -16,6 +16,13 @@ void armv5SetStack(uint8_t* location, uint32_t size){ armv5SetRegister(13, firstStackEntry); } +uint32_t* armv5ValidatePointer(uint32_t* address){ + /*patches 16 bit alignment to 32 bit alignment using a special memory range*/ + if((uint32_t)address & 0x00000002) + return (uint32_t*)((uint32_t)address ^ 0x80000002); + return address; +} + void armv5StackPush(uint32_t value){ uint32_t stackPtr = armv5GetRegister(13); diff --git a/tools/palm/muExpansionDriver/armv5.h b/tools/palm/muExpansionDriver/armv5.h index 3d0f252..38b7eb7 100644 --- a/tools/palm/muExpansionDriver/armv5.h +++ b/tools/palm/muExpansionDriver/armv5.h @@ -5,6 +5,7 @@ #include void armv5SetStack(uint8_t* location, uint32_t size); +uint32_t* armv5ValidatePointer(uint32_t* address); void armv5StackPush(uint32_t value); uint32_t armv5StackPop(void); void armv5SetRegister(uint8_t reg, uint32_t value); diff --git a/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h b/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h index b6d41b5..b2e6569 100644 --- a/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h +++ b/tools/palm/muExpansionDriver/specs/emuFeatureRegisterSpec.h @@ -53,7 +53,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from m68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ #define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ #define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index d46b2db..d6bb1c1 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -58,11 +58,11 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ oldArmRegisters[4] = armv5GetRegister(15); armv5SetRegister(0, 0xBADC0DE);/*emulStateP is unused*/ - armv5SetRegister(1, (uint32_t)userDataP); - armv5SetRegister(2, (uint32_t)armCall68kFunc); + armv5SetRegister(1, (uint32_t)armv5ValidatePointer(userDataP)); + armv5SetRegister(2, (uint32_t)armv5ValidatePointer(armCall68kFunc)); - armv5SetRegister(14, (uint32_t)armExitFunc);/*set link register to return location*/ - armv5SetRegister(15, (uint32_t)nativeFuncP);/*set program counter to function*/ + armv5SetRegister(14, (uint32_t)armv5ValidatePointer(armExitFunc));/*set link register to return location*/ + armv5SetRegister(15, (uint32_t)armv5ValidatePointer((uint32_t*)nativeFuncP));/*set program counter to function*/ while(true){ armv5Execute(100);/*run 100 opcodes, returns instantly with cycles remaining when service is needed*/ @@ -70,7 +70,7 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ /*ARM tried to call a 68k function or has finished executing*/ if(armv5GetRegister(0)){ /*call function*/ - /*uint32_t emulStateP = armv5GetRegister(0);*/ + uint32_t emulStateP = armv5GetRegister(0); uint32_t function = armv5GetRegister(1); uint32_t stackBlob = armv5GetRegister(2); uint32_t stackBlobSizeAndWantA0 = armv5GetRegister(3); @@ -88,10 +88,10 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ } */ /*debugLog("Called 68k function:0x%08lX\n", function);*/ - /* debugLog("ARM calling 68k: emulStateP:0x%08lX, function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", emulStateP, function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); - */ + /* debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); + */ /*API call, convert to address first*/ if(function <= kPceNativeTrapNoMask) From f166dd173b7e84e18fa6766bb0e7a4bb972f5387 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 22:04:44 -0700 Subject: [PATCH 24/47] Add alignment info --- src/debug/sandbox.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 73195bb..0ef6500 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -833,6 +833,23 @@ uint32_t sandboxCommand(uint32_t command, void* data){ IDs be assigned to these heaps. Subsequent storage heaps would be assigned IDs in sequential order, as always beginning with RAM heaps, followed by ROM heaps. */ + + //this looks like the code that ensures heap alignment sizes are correct, if I force everything to a multiple of 4 that may fix ARM behavior + /* + ROM:10020D04 moveq #1,d0 ; Move Quick + ROM:10020D06 and.l size(a6),d0 ; Check if size is a multiple of 2 + ROM:10020D0A addq.w #2,sp ; Add Quick + ROM:10020D0C beq.s loc_10020D16 ; Skip adding extra byte if already aligned + ROM:10020D0E moveq #9,d0 ; Size is not 16 bit aligned, align and add 8 bytes + ROM:10020D10 add.l size(a6),d0 ; Add requested size + ROM:10020D14 bra.s loc_10020D1C ; Branch Always + ROM:10020D16 ; --------------------------------------------------------------------------- + ROM:10020D16 + ROM:10020D16 loc_10020D16: ; CODE XREF: PrvChunkNew_10020CBC+50↑j + ROM:10020D16 move.l size(a6),d0 ; Set requested size + ROM:10020D1A addq.l #8,d0 ; Add 8 bytes(currently dont know what there for) + ROM:10020D1C + */ } break; From 6c144a3e8595136ef6caffa29042dad63c718578 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 22:25:41 -0700 Subject: [PATCH 25/47] Add OS patch --- .gitignore | 4 ++-- .../blobs/patchMemChunkNew.X68 | 20 ++++++++++++++++++ .../blobs/patchMemChunkNew.func | Bin 0 -> 14 bytes 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 create mode 100644 tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func diff --git a/.gitignore b/.gitignore index babdda9..e77998e 100644 --- a/.gitignore +++ b/.gitignore @@ -19,8 +19,8 @@ /tools/palm/muExpansionDriver/*.grc /tools/palm/muExpansionDriver/*.prc /tools/palm/muExpansionDriver/muExpDriver -/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.S68 -/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.L68 +/tools/palm/muExpansionDriver/blobs/*.S68 +/tools/palm/muExpansionDriver/blobs/*.L68 /tools/desktop/build-BufferGraphViewer-* /tools/desktop/build-MakePalmBitmap-* /tools/desktop/export16BitImageProperly/convert \ No newline at end of file diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 new file mode 100644 index 0000000..795a6ac --- /dev/null +++ b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 @@ -0,0 +1,20 @@ +*----------------------------------------------------------- +* Title :patchMemChunkNew +* Written by :meepingsnesroms +*----------------------------------------------------------- + ORG $1000 +START: ; first instruction of program + +validateSize: + and.l #3, d0 + beq sizeClean + add.l #1, d0 + bra validateSize +sizeClean: + + END START ; last line of source + +*~Font name~Courier New~ +*~Font size~10~ +*~Tab type~1~ +*~Tab size~4~ diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func new file mode 100644 index 0000000000000000000000000000000000000000..27809dd760650b0a50b1e59f99b8b6b273946d61 GIT binary patch literal 14 VcmX@Ghk=2CIh}!lEvO;k6960q1Q7rL literal 0 HcmV?d00001 From d3540e3f77fab1346b63825b19c4df3a263acf62 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 8 Apr 2019 22:53:21 -0700 Subject: [PATCH 26/47] Fix OS patch --- .../muExpansionDriver/blobs/patchMemChunkNew.X68 | 2 ++ .../muExpansionDriver/blobs/patchMemChunkNew.func | Bin 14 -> 18 bytes 2 files changed, 2 insertions(+) diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 index 795a6ac..15a3b0d 100644 --- a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 +++ b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 @@ -5,6 +5,7 @@ ORG $1000 START: ; first instruction of program + move.l $A(a6), d0 validateSize: and.l #3, d0 beq sizeClean @@ -14,6 +15,7 @@ sizeClean: END START ; last line of source + *~Font name~Courier New~ *~Font size~10~ *~Tab type~1~ diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func index 27809dd760650b0a50b1e59f99b8b6b273946d61..61fcd1056c1c1a47a2d7ba45c14da3f49cc80fe2 100644 GIT binary patch literal 18 ZcmY$;W8gZlhk=2CIh}!lEvO;k696IY1Ze;O literal 14 VcmX@Ghk=2CIh}!lEvO;k6960q1Q7rL From 07af2b45ec4326b0ba47a10dc6ec736574825973 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 9 Apr 2019 00:28:19 -0700 Subject: [PATCH 27/47] Fix MemChunkNew patches again --- .../muExpansionDriver/blobs/patchMemChunkNew.X68 | 13 +++++++------ .../muExpansionDriver/blobs/patchMemChunkNew.func | Bin 18 -> 24 bytes 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 index 15a3b0d..35cdf61 100644 --- a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 +++ b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 @@ -6,12 +6,13 @@ START: ; first instruction of program move.l $A(a6), d0 -validateSize: - and.l #3, d0 - beq sizeClean - add.l #1, d0 - bra validateSize -sizeClean: + and.l #$FFFFFFFC, d0 + cmp.l $A(a6), d0 + beq done + addq.l #4, d0 +done: + addq.l #8, d0 + addq.w #2, sp END START ; last line of source diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func b/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func index 61fcd1056c1c1a47a2d7ba45c14da3f49cc80fe2..82e6b5fbc6e48f291a63eeeefd27ad67186ffcb8 100644 GIT binary patch literal 24 gcmY$;W8gZl=l}oze>SXR;7Vs;V2Nl5XbABK0EONO>;M1& literal 18 ZcmY$;W8gZlhk=2CIh}!lEvO;k696IY1Ze;O From 432233d8f134dce20d8971d2f0f48cdabdf8ba64 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 9 Apr 2019 11:07:03 -0700 Subject: [PATCH 28/47] It kinda works still --- src/debug/sandbox.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 0ef6500..4f7bfe4 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -626,6 +626,9 @@ void sandboxReset(void){ //log all register accesses //sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); + //patch OS + sandboxCommand(SANDBOX_CMD_PATCH_OS, NULL); + //monitor for strange jumps sandboxSetWatchRegion(0x00000000, 0xFFFFFFFE, SANDBOX_WATCH_CODE); } @@ -850,6 +853,16 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10020D1A addq.l #8,d0 ; Add 8 bytes(currently dont know what there for) ROM:10020D1C */ + + //align memory chunks to 4 instead of 2, 24 / 0x18 bytes + //patchOsRom(0x20D04, "202E000AC0BC0000000367000006528060F25080544F4E71"); + patchOsRom(0x20D04, "202E000AC0BCFFFFFFFC50805080544F4E714E714E714E71");//adds an extra 4 bytes regardless + //patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true + //this seems to be successfuly aligning things, its not :( + + //align by 2, patch test + //patchOsRom(0x20D04, "202E000AC0BC0000000167000006528060F25080544F4E71"); + //patchOsRom(0x20D04, "202E000AC0BCFFFFFFFE50805080544F4E714E714E714E71"); } break; From f2233197e45fec2543bc617104fdd6cf2ea605cb Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 09:51:26 -0700 Subject: [PATCH 29/47] Add sandbox frame callback, make memory alignment test --- src/armv5.c | 14 +-- src/debug/sandbox.c | 136 +++++++++++++++++++++------ src/debug/sandbox.h | 6 +- src/emulator.c | 4 + src/flx68000.c | 4 +- src/specs/emuFeatureRegisterSpec.h | 2 +- tools/palm/muExpansionDriver/armv5.c | 11 ++- tools/palm/muExpansionDriver/armv5.h | 1 + tools/palm/muExpansionDriver/traps.c | 55 ++++++----- 9 files changed, 162 insertions(+), 71 deletions(-) diff --git a/src/armv5.c b/src/armv5.c index fdf4c33..4b8542d 100755 --- a/src/armv5.c +++ b/src/armv5.c @@ -19,14 +19,14 @@ static ArmCpu armv5Cpu; static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 size, Boolean write, Boolean privileged, UInt8* fsr){ - //just gonna have ARM and m68k share the same bus for now, ARM may want fonts/bitmaps from ROM + //just gonna have ARM and 68k share the same bus for now, ARM may want fonts/bitmaps from ROM //Fake ARM 32 bit alignment convention - //0x00000000<->0x7FFFFFFF Normal memory access - //0x80000000<->0xFFFFFFFF Mirrored range, realAddress = address - 0x80000000 + 0x00000002 + //0x0XXXXXXX<->0x1XXXXXXX Normal memory access + //0x20000000<->0x3XXXXXXX Mirrored range, realAddress = address - 0x20000000 + 0x00000002 //this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the m68k, - //but it allows 16 bit aligned data to be executed from the m68k stack and works as a + //but it allows 16 bit aligned data to be executed from the 68k stack and works as a //temporary measure until I get MemChunkNew patched correctly //while executing wont support non 32 bit alignment regular accesses can for now @@ -40,8 +40,8 @@ static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 siz #endif */ - if(vaddr & 0x80000000) - vaddr ^= 0x80000002; + if(vaddr & 0x20000000) + vaddr ^= 0x20000002; if(write){ switch(size){ @@ -97,7 +97,7 @@ static void armv5SetFaultAddr(struct ArmCpu* cpu, UInt32 adr, UInt8 faultStatus) } void armv5Reset(void){ - cpuInit(&armv5Cpu, 0x00000000/*PC, set by m68k while emulating*/, armv5MemoryAccess, armv5EmulErr, armv5Hypercall, armv5SetFaultAddr); + cpuInit(&armv5Cpu, 0x00000000/*PC, set by 68k while emulating*/, armv5MemoryAccess, armv5EmulErr, armv5Hypercall, armv5SetFaultAddr); armv5ServiceRequest = false; } diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 4f7bfe4..758af3a 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -3,7 +3,7 @@ #if defined(EMU_DEBUG) && defined(EMU_SANDBOX) -//this wrappers m68k code and allows calling it for tests, this should be useful for determining if hardware accesses are correct +//this wrappers 68k code and allows calling it for tests, this should be useful for determining if hardware accesses are correct //Note: when running a test the emulator runs at native speed and no clocks are emulated #include #include @@ -25,6 +25,8 @@ #define SANDBOX_MAX_UNLOGGED_JUMP_SIZE 0xFFFFFFFF #define SANDBOX_MAX_WATCH_REGIONS 1000 +#define SANDBOX_SECONDS_TO_FRAMES(x) ((x) * EMU_FPS) + typedef struct{ void* hostPointer; @@ -51,7 +53,8 @@ static bool sandboxActive;//used to "log out" of the emulator once static bool sandboxControlHandoff;//used for functions that depend on timing, hands full control to the m68k static uint8_t sandboxCurrentCpuArch; static local_cpu_state_t sandboxOldFunctionCpuState; -static mem_region_t sandboxWatchRegions[SANDBOX_MAX_WATCH_REGIONS];//code locations in m68k address space to be sandboxed +static uint64_t sandboxFramesRan; +static mem_region_t sandboxWatchRegions[SANDBOX_MAX_WATCH_REGIONS];//code locations in 68k address space to be sandboxed static uint16_t sandboxWatchRegionsActive;//number of used sandboxWatchRegions entrys @@ -69,6 +72,17 @@ static uint32_t getCurrentCpuPreviousPc(void){ return sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? m68k_get_reg(NULL, M68K_REG_PPC) : armv5GetRegister(15) & 0xFFFFFFFE; } +uint32_t getRandomRange(uint32_t start, uint32_t end){ + static bool seeded = false; + + if(!seeded){ + srand(time(NULL)); + seeded = true; + } + + return (uint32_t)rand() % (end + 1 - start) + start; +} + static char* takeStackDump(uint32_t bytes){ char* textBytes = malloc(bytes * 2); uint32_t textBytesOffset = 0; @@ -166,6 +180,8 @@ bool validExecutionAddress(uint32_t address){ return true; if(address >= chips[CHIP_DX_RAM].start && address < chips[CHIP_DX_RAM].start + chips[CHIP_DX_RAM].lineSize) return true; + if(sandboxActive && address >= 0xFFFFFE00)//used to run custom code when in sandbox mode + return true; return false; } @@ -401,6 +417,72 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ return true; } +static void checkMemoryAlignment(uint16_t heap){ + uint32_t memPtrs[100]; + uint8_t index; + uint16_t error; + + memset(memPtrs, 0x00, sizeof(memPtrs)); + + //get randomly sized memory regions + for(index = 0; index < 100; index++){ + memPtrs[index] = sandboxCallGuestFunction(false, 0x00000000, MemChunkNew, "p(wlw)", heap, getRandomRange(1, 100), 0x0200/*memNewChunkFlagNonMovable*/); + if(!memPtrs[index]){ + debugLog("Memory test: Failed to allocate memory\n"); + goto failed; + } + } + + //check alignment + for(index = 0; index < 100; index++){ + if(memPtrs[index] & 0x00000003){ + debugLog("Memory test: Memory allocations are not 32 bit aligned:0x%08X\n", memPtrs[index]); + goto failed; + } + } + + //resize memory + for(index = 0; index < 100; index++){ + error = sandboxCallGuestFunction(false, 0x00000000, MemPtrResize, "w(pl)", memPtrs[index], getRandomRange(1, 100)); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Failed to resize memory:0x%04X\n", error); + goto failed; + } + } + + //check alignment again + for(index = 0; index < 100; index++){ + if(memPtrs[index] & 0x00000003){ + debugLog("Memory test: Memory misaligned by resize:0x%08X\n", memPtrs[index]); + goto failed; + } + } + + //shuffle memory + error = sandboxCallGuestFunction(false, 0x00000000, MemHeapScramble, "w(w)", heap); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Unable to scramble heap:0x%04X\n", error); + goto failed; + } + + //check alignment again + for(index = 0; index < 100; index++){ + if(memPtrs[index] & 0x00000003){ + debugLog("Memory test: Memory misaligned by defragment:0x%08X\n", memPtrs[index]); + goto failed; + } + } + + debugLog("Memory test: Memory aligned correctly\n"); + + failed: + + //free pointers + for(index = 0; index < 100; index++) + if(memPtrs[index]) + sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", memPtrs[index]); +} + static uint32_t sandboxGetStackFrameSize(const char* prototype){ const char* params = prototype + 2; @@ -607,28 +689,17 @@ void sandboxInit(void){ void sandboxReset(void){ sandboxActive = false; sandboxControlHandoff = false; + sandboxFramesRan = 0; memset(sandboxWatchRegions, 0x00, sizeof(sandboxWatchRegions)); sandboxWatchRegionsActive = 0; //patch OS here if needed - //debug patches - //sandboxCommand(SANDBOX_PATCH_OS, NULL); - - //add memory region monitors - /* - if(pc >= 0x100A07DC && pc <= 0x100ADB3C){ - //the SD slot driver - return true; - } - */ + sandboxCommand(SANDBOX_CMD_PATCH_OS, NULL); //log all register accesses //sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); - //patch OS - sandboxCommand(SANDBOX_CMD_PATCH_OS, NULL); - //monitor for strange jumps sandboxSetWatchRegion(0x00000000, 0xFFFFFFFE, SANDBOX_WATCH_CODE); } @@ -639,6 +710,7 @@ uint32_t sandboxStateSize(void){ size += sizeof(uint8_t) * 3;//sandboxActive / sandboxControlHandoff / sandboxCurrentCpuArch size += sizeof(uint32_t) * 4;//sandboxOldFunctionCpuState.(sp/pc/a0/d0) size += sizeof(uint16_t);//sandboxOldFunctionCpuState.sr + size += sizeof(uint64_t);//sandboxFramesRan size += sizeof(uint32_t) * 2 * SANDBOX_MAX_WATCH_REGIONS;//sandboxWatchRegions.(address/size) size += sizeof(uint8_t) * SANDBOX_MAX_WATCH_REGIONS;//sandboxWatchRegions.type size += sizeof(uint16_t);//sandboxWatchRegionsActive @@ -666,6 +738,8 @@ void sandboxSaveState(uint8_t* data){ offset += sizeof(uint32_t); writeStateValue32(data + offset, sandboxOldFunctionCpuState.d0); offset += sizeof(uint32_t); + writeStateValue64(data + offset, sandboxFramesRan); + offset += sizeof(uint64_t); for(index = 0; index < SANDBOX_MAX_WATCH_REGIONS; index++){ writeStateValue32(data + offset, sandboxWatchRegions[index].address); offset += sizeof(uint32_t); @@ -698,6 +772,8 @@ void sandboxLoadState(uint8_t* data){ offset += sizeof(uint32_t); sandboxOldFunctionCpuState.d0 = readStateValue32(data + offset); offset += sizeof(uint32_t); + sandboxFramesRan = readStateValue64(data + offset); + offset += sizeof(uint64_t); for(index = 0; index < SANDBOX_MAX_WATCH_REGIONS; index++){ sandboxWatchRegions[index].address = readStateValue32(data + offset); offset += sizeof(uint32_t); @@ -721,20 +797,6 @@ uint32_t sandboxCommand(uint32_t command, void* data){ switch(command){ case SANDBOX_CMD_PATCH_OS:{ - //this will not be in the v1.0 release - //remove parts of the OS that cause lockups, yeah its bad - - //remove ErrDisplayFileLineMsg from HwrIRQ2Handler, device locks on USB polling without this - //this is fixed, leaving it here for reference - //patchOsRom(0x83652, "4E714E71");//nop; nop - - //make SysSetTrapAddress/SysGetTrapAddress support traps > ScrDefaultPaletteState 0xA459 - //up to final OS 5.3 trap DmSyncDatabase 0xA476 - //SysSetTrapAddress_1001AE36: - //SysGetTrapAddress_1001AE7C: - //patchOsRom(0x1AE42, "0C410477");//cmpi.w 0x477, d1 - //patchOsRom(0x1AE8A, "0C42A477");//cmpi.w 0xA477, d2 - //double dynamic heap size, verified working //HwrCalcDynamicRAMSize_10005CC6: //HwrCalcDynamicRAMSize_10083B0A: @@ -881,6 +943,12 @@ uint32_t sandboxCommand(uint32_t command, void* data){ } break; + case SANDBOX_CMD_TEST_MEMORY_ALIGNMENT:{ + checkMemoryAlignment(0);//RAM heap + checkMemoryAlignment(1);//storage heap + } + break; + default: break; } @@ -890,6 +958,15 @@ uint32_t sandboxCommand(uint32_t command, void* data){ return result; } +void sandboxOnFrameRun(void){ + //run at the end of every frame + sandboxFramesRan++; + + if(sandboxFramesRan == SANDBOX_SECONDS_TO_FRAMES(10)){ + sandboxCommand(SANDBOX_CMD_TEST_MEMORY_ALIGNMENT, NULL); + } +} + void sandboxOnOpcodeRun(void){ if(sandboxRunning()){ #if defined(EMU_SANDBOX_LOG_JUMPS) @@ -1135,6 +1212,7 @@ uint32_t sandboxStateSize(void){return 0;} void sandboxSaveState(uint8_t* data){} void sandboxLoadState(uint8_t* data){} uint32_t sandboxCommand(uint32_t command, void* data){return 0;} +void sandboxOnFrameRun(void){} void sandboxOnOpcodeRun(void){} void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value){} bool sandboxRunning(void){return false;} diff --git a/src/debug/sandbox.h b/src/debug/sandbox.h index 54ea069..606cf48 100644 --- a/src/debug/sandbox.h +++ b/src/debug/sandbox.h @@ -7,7 +7,8 @@ enum{ SANDBOX_CMD_PATCH_OS = 0, SANDBOX_CMD_DEBUG_INSTALL_APP, - SANDBOX_CMD_REGISTER_WATCH_ENABLE + SANDBOX_CMD_REGISTER_WATCH_ENABLE, + SANDBOX_CMD_TEST_MEMORY_ALIGNMENT }; enum{ @@ -29,10 +30,11 @@ uint32_t sandboxStateSize(void); void sandboxSaveState(uint8_t* data); void sandboxLoadState(uint8_t* data); uint32_t sandboxCommand(uint32_t command, void* data); +void sandboxOnFrameRun(void); void sandboxOnOpcodeRun(void); void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t value); bool sandboxRunning(void); -void sandboxReturn(void);//should only be called called by m68k code +void sandboxReturn(void);//should only be called called by 68k code uint16_t sandboxSetWatchRegion(uint32_t address, uint32_t size, uint8_t type); void sandboxClearWatchRegion(uint16_t index); void sandboxSetCpuArch(uint8_t arch); diff --git a/src/emulator.c b/src/emulator.c index 01c5f3f..b45a93a 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -733,4 +733,8 @@ void emulatorRunFrame(void){ memcpy(palmFramebuffer, sed1376Framebuffer, 160 * 160 * sizeof(uint16_t)); memcpy(palmFramebuffer + 160 * 160, silkscreen160x60, 160 * 60 * sizeof(uint16_t)); } + +#if defined(EMU_SANDBOX) + sandboxOnFrameRun(); +#endif } diff --git a/src/flx68000.c b/src/flx68000.c index b0ab6c9..50ff2b8 100755 --- a/src/flx68000.c +++ b/src/flx68000.c @@ -42,7 +42,7 @@ void flx68000PcLongJump(uint32_t newPc){ memBase = dataBufferHost - dataBufferGuest - windowSize * ((newPc - dataBufferGuest) / windowSize); } -//everything must be 16 bit aligned(accept 8 bit accesses) due to m68k unaligned access rules, +//everything must be 16 bit aligned(accept 8 bit accesses) due to 68k unaligned access rules, //32 bit reads are 2 16 bit reads because on some platforms 32 bit reads that arnt on 32 bit boundrys will crash the program #if defined(EMU_BIG_ENDIAN) uint16_t m68k_read_immediate_16(uint32_t address){ @@ -279,7 +279,7 @@ bool flx68000IsSupervisor(void){ void flx68000BusError(uint32_t address, bool isWrite){ #if !defined(EMU_NO_SAFETY) if(!(palmEmuFeatures.info & FEATURE_DURABLE)){ - //never call outsize of a m68k opcode, behavior is undefined due to longjmp + //never call outsize of a 68k opcode, behavior is undefined due to longjmp m68ki_trigger_bus_error(address, isWrite ? MODE_WRITE : MODE_READ, FLAG_S | m68ki_get_address_space()); } #endif diff --git a/src/specs/emuFeatureRegisterSpec.h b/src/specs/emuFeatureRegisterSpec.h index b2e6569..b6d41b5 100644 --- a/src/specs/emuFeatureRegisterSpec.h +++ b/src/specs/emuFeatureRegisterSpec.h @@ -53,7 +53,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ #define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from m68k routines*/ +#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ #define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ #define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ #define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ diff --git a/tools/palm/muExpansionDriver/armv5.c b/tools/palm/muExpansionDriver/armv5.c index 20a1e8d..59f215c 100644 --- a/tools/palm/muExpansionDriver/armv5.c +++ b/tools/palm/muExpansionDriver/armv5.c @@ -17,9 +17,16 @@ void armv5SetStack(uint8_t* location, uint32_t size){ } uint32_t* armv5ValidatePointer(uint32_t* address){ - /*patches 16 bit alignment to 32 bit alignment using a special memory range*/ + /*patches 16 bit alignment to 32 bit alignment using a special address bit*/ if((uint32_t)address & 0x00000002) - return (uint32_t*)((uint32_t)address ^ 0x80000002); + return (uint32_t*)((uint32_t)address ^ 0x20000002); + return address; +} + +uint32_t* armv5InvalidatePointer(uint32_t* address){ + /*puts address bits back to normal*/ + if((uint32_t)address & 0x20000000) + return (uint32_t*)((uint32_t)address ^ 0x20000002); return address; } diff --git a/tools/palm/muExpansionDriver/armv5.h b/tools/palm/muExpansionDriver/armv5.h index 38b7eb7..e7ed677 100644 --- a/tools/palm/muExpansionDriver/armv5.h +++ b/tools/palm/muExpansionDriver/armv5.h @@ -6,6 +6,7 @@ void armv5SetStack(uint8_t* location, uint32_t size); uint32_t* armv5ValidatePointer(uint32_t* address); +uint32_t* armv5InvalidatePointer(uint32_t* address); void armv5StackPush(uint32_t value); uint32_t armv5StackPop(void); void armv5SetRegister(uint8_t reg, uint32_t value); diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index d6bb1c1..0aab6ec 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -12,20 +12,35 @@ /*cant use normal global variables in this file!!!*/ /*functions in this file are called directly by the Palm OS trap dispatch, this means they can be called when the app isnt loaded and the globals are just a random data buffer*/ +#if 0 +static const SECTION(".text") ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ +static const SECTION(".text") ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ +static const SECTION(".text") ALIGN(2) uint8_t m68kCallWithBlobFunc[] = { + 0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, + 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, + 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0A, 0x34, 0x91, + 0x54, 0x89, 0x54, 0x8A, 0x60, 0xF2, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, + 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, + 0x4E, 0x5E, 0x4E, 0x75 + +};/*68k asm blob*/ +#endif UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ /*these arnt set as "static" because the globals dont work here*/ +#if 1 const ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ const ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ const ALIGN(2) uint8_t m68kCallWithBlobFunc[] = { - 0x4e, 0x56, 0x00, 0x00, 0x48, 0xe7, 0x60, 0x70, 0x26, 0x6e, 0x00, 0x08, - 0x22, 0x6e, 0x00, 0x0c, 0x22, 0x2e, 0x00, 0x10, 0x34, 0x2e, 0x00, 0x14, - 0x24, 0x4f, 0x95, 0xc1, 0xbf, 0xca, 0x67, 0x00, 0x00, 0x0a, 0x34, 0x91, - 0x54, 0x89, 0x54, 0x8a, 0x60, 0xf2, 0x9f, 0xc1, 0x4e, 0x93, 0xdf, 0xc1, - 0x4a, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4c, 0xdf, 0x0e, 0x06, - 0x4e, 0x5e, 0x4e, 0x75 + 0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, + 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, + 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0A, 0x34, 0x91, + 0x54, 0x89, 0x54, 0x8A, 0x60, 0xF2, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, + 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, + 0x4E, 0x5E, 0x4E, 0x75 - };/*m68k asm blob*/ + };/*68k asm blob*/ +#endif uint32_t oldArmRegisters[5]; uint32_t returnValue; @@ -40,11 +55,11 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ /*when R0 = 1, R1 = function to execute, R2 = stack blob, R3 = stack blob size and want A0*/ /*Fake ARM 32 bit alignment convention*/ - /*0x00000000<->0x7FFFFFFF Normal memory access*/ - /*0x80000000<->0xFFFFFFFF Mirrored range, realAddress = address - 0x80000000 + 0x00000002*/ + /*0x0XXXXXXX<->0x1XXXXXXX Normal memory access*/ + /*0x20000000<->0x3XXXXXXX Mirrored range, realAddress = address - 0x20000000 + 0x00000002*/ - /*this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the m68k,*/ - /*but it allows 16 bit aligned data to be executed from the m68k stack and works as a*/ + /*this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the 68k,*/ + /*but it allows 16 bit aligned data to be executed from the 68k stack and works as a*/ /*temporary measure until I get MemChunkNew patched correctly*/ debugLog("Called ARM function:0x%08lX\n", (uint32_t)nativeFuncP); @@ -70,28 +85,12 @@ UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ /*ARM tried to call a 68k function or has finished executing*/ if(armv5GetRegister(0)){ /*call function*/ - uint32_t emulStateP = armv5GetRegister(0); uint32_t function = armv5GetRegister(1); uint32_t stackBlob = armv5GetRegister(2); uint32_t stackBlobSizeAndWantA0 = armv5GetRegister(3); uint32_t (*m68kCallWithBlobFuncPtr)(uint32_t functionAddress, uint32_t stackBlob, uint32_t stackBlobSize, uint16_t returnA0) = (uint32_t (*)(uint32_t, uint32_t, uint32_t, uint16_t))m68kCallWithBlobFunc; - /*debug checks, I think these where preventing the callback to 68k code MemPtrNew???*/ - /* - if(true){ - uint32_t index; - uint32_t end = stackBlobSizeAndWantA0 & ~kPceNativeWantA0; - - debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); - for(index = 0; index < end; index++) - debugLog("Stack byte:0x%02X\n", ((uint8_t*)stackBlob)[index]); - } - */ - /*debugLog("Called 68k function:0x%08lX\n", function);*/ - debugLog("ARM calling 68k: emulStateP:0x%08lX, function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", emulStateP, function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); - /* - debugLog("ARM calling 68k function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); - */ + debugLog("ARM calling 68k: function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); /*API call, convert to address first*/ if(function <= kPceNativeTrapNoMask) From 1ec53c904ac3afa606dd9015489d2834dbd041c6 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 10:51:11 -0700 Subject: [PATCH 30/47] Memory alignment tests are working Shuffling memory is causing misalignment but allocation seems to always be 32 bit aligned now. --- src/debug/sandbox.c | 160 +++++++++++++++++++++++++++++++++----------- 1 file changed, 122 insertions(+), 38 deletions(-) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 758af3a..f957c39 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -417,7 +417,7 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ return true; } -static void checkMemoryAlignment(uint16_t heap){ +static void checkMemoryAlignmentPointer(uint16_t heap){ uint32_t memPtrs[100]; uint8_t index; uint16_t error; @@ -441,22 +441,7 @@ static void checkMemoryAlignment(uint16_t heap){ } } - //resize memory - for(index = 0; index < 100; index++){ - error = sandboxCallGuestFunction(false, 0x00000000, MemPtrResize, "w(pl)", memPtrs[index], getRandomRange(1, 100)); - if(error != 0x0000/*errNone*/){ - debugLog("Memory test: Failed to resize memory:0x%04X\n", error); - goto failed; - } - } - - //check alignment again - for(index = 0; index < 100; index++){ - if(memPtrs[index] & 0x00000003){ - debugLog("Memory test: Memory misaligned by resize:0x%08X\n", memPtrs[index]); - goto failed; - } - } + //non moveable memory wont resize //shuffle memory error = sandboxCallGuestFunction(false, 0x00000000, MemHeapScramble, "w(w)", heap); @@ -483,6 +468,119 @@ static void checkMemoryAlignment(uint16_t heap){ sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", memPtrs[index]); } +static void checkMemoryAlignmentHandle(uint16_t heap){ + uint32_t memHandles[100]; + uint32_t memPtrs[100]; + uint8_t index; + uint16_t error; + + //a handle is just a pointer with bit 31 set, when the pointer is moved a look up table entry is set to the new address and used for future operations + + memset(memHandles, 0x00, sizeof(memHandles)); + memset(memPtrs, 0x00, sizeof(memPtrs)); + + //get randomly sized memory regions + for(index = 0; index < 100; index++){ + memHandles[index] = sandboxCallGuestFunction(false, 0x00000000, MemChunkNew, "p(wlw)", heap, getRandomRange(1, 100), 0x0000); + if(!memHandles[index]){ + debugLog("Memory test: Failed to allocate memory\n"); + goto failed; + } + memHandles[index] |= 0x80000000;//tell the OS this is a handle, this is all MemHandleNew does is allocate memory normally and set that bit + } + + //update pointer list + for(index = 0; index < 100; index++){ + memPtrs[index] = sandboxCallGuestFunction(false, 0x00000000, MemHandleLock, "p(l)", memHandles[index]); + if(!memPtrs[index]){ + debugLog("Memory test: Failed to lock handle\n"); + goto failed; + } + error = sandboxCallGuestFunction(false, 0x00000000, MemHandleUnlock, "w(l)", memHandles[index]); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Failed to unlock handle\n"); + goto failed; + } + } + + //check alignment + for(index = 0; index < 100; index++){ + if(memPtrs[index] & 0x00000003){ + debugLog("Memory test: Memory allocations are not 32 bit aligned:0x%08X\n", memPtrs[index]); + goto failed; + } + } + + //resize memory + for(index = 0; index < 100; index++){ + error = sandboxCallGuestFunction(false, 0x00000000, MemHandleResize, "w(ll)", memHandles[index], getRandomRange(1, 100)); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Failed to resize memory:0x%04X\n", error); + goto failed; + } + } + + //update pointer list + for(index = 0; index < 100; index++){ + memPtrs[index] = sandboxCallGuestFunction(false, 0x00000000, MemHandleLock, "p(l)", memHandles[index]); + if(!memPtrs[index]){ + debugLog("Memory test: Failed to lock handle\n"); + goto failed; + } + error = sandboxCallGuestFunction(false, 0x00000000, MemHandleUnlock, "w(l)", memHandles[index]); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Failed to unlock handle\n"); + goto failed; + } + } + + //check alignment again + for(index = 0; index < 100; index++){ + if(memPtrs[index] & 0x00000003){ + debugLog("Memory test: Memory misaligned by resize:0x%08X\n", memPtrs[index]); + goto failed; + } + } + + //shuffle memory + error = sandboxCallGuestFunction(false, 0x00000000, MemHeapScramble, "w(w)", heap); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Unable to scramble heap:0x%04X\n", error); + goto failed; + } + + //update pointer list + for(index = 0; index < 100; index++){ + memPtrs[index] = sandboxCallGuestFunction(false, 0x00000000, MemHandleLock, "p(l)", memHandles[index]); + if(!memPtrs[index]){ + debugLog("Memory test: Failed to lock handle\n"); + goto failed; + } + error = sandboxCallGuestFunction(false, 0x00000000, MemHandleUnlock, "w(l)", memHandles[index]); + if(error != 0x0000/*errNone*/){ + debugLog("Memory test: Failed to unlock handle\n"); + goto failed; + } + } + + //check alignment again + for(index = 0; index < 100; index++){ + if(memPtrs[index] & 0x00000003){ + debugLog("Memory test: Memory misaligned by defragment:0x%08X\n", memPtrs[index]); + goto failed; + } + } + + debugLog("Memory test: Memory aligned correctly\n"); + + failed: + + //free handles + for(index = 0; index < 100; index++) + if(memHandles[index]) + sandboxCallGuestFunction(false, 0x00000000, MemHandleFree, "w(l)", memHandles[index]); +} + static uint32_t sandboxGetStackFrameSize(const char* prototype){ const char* params = prototype + 2; @@ -876,16 +974,6 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10014914 move.w #$1000,(word_28E).w ; Move Data from Source to Destination */ - //may be able to use these to set the border colors like in OS 5 - /* - RAM:00001758 dc.l UIColorInit_10074672 - RAM:0000175C dc.l UIColorGetTableEntryIndex_100746F6 - RAM:00001760 dc.l UIColorGetTableEntryRGB_1007472A - RAM:00001760 ; DATA XREF: ROM:101D66A1↓o - RAM:00001764 dc.l UIColorSetTableEntry_10074762 - RAM:00001768 off_1768: dc.l UIColorPushTable_100747B0 - */ - //another road block surfaces /* When a Palm Powered handheld is presented with multiple dynamic heaps, @@ -916,15 +1004,9 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10020D1C */ - //align memory chunks to 4 instead of 2, 24 / 0x18 bytes - //patchOsRom(0x20D04, "202E000AC0BC0000000367000006528060F25080544F4E71"); - patchOsRom(0x20D04, "202E000AC0BCFFFFFFFC50805080544F4E714E714E714E71");//adds an extra 4 bytes regardless - //patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true - //this seems to be successfuly aligning things, its not :( - - //align by 2, patch test - //patchOsRom(0x20D04, "202E000AC0BC0000000167000006528060F25080544F4E71"); - //patchOsRom(0x20D04, "202E000AC0BCFFFFFFFE50805080544F4E714E714E714E71"); + //patch PrvChunkNew to 32 bit alignment, this alone does not fix 32 bit alignment issues + patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true + //when moving memory around some 16 bit aligned pointers still show up } break; @@ -944,8 +1026,10 @@ uint32_t sandboxCommand(uint32_t command, void* data){ break; case SANDBOX_CMD_TEST_MEMORY_ALIGNMENT:{ - checkMemoryAlignment(0);//RAM heap - checkMemoryAlignment(1);//storage heap + checkMemoryAlignmentPointer(0);//RAM heap + checkMemoryAlignmentPointer(1);//storage heap + checkMemoryAlignmentHandle(0);//RAM heap + checkMemoryAlignmentHandle(1);//storage heap } break; From 8cd5dcb446c5df9ede541f9f22d0bcb6d8cd8331 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 11:04:40 -0700 Subject: [PATCH 31/47] Locate another memory alignment check --- src/debug/sandbox.c | 19 +++++++++++++++++- ...chMemChunkNew.X68 => patchPrvChunkNew.X68} | 2 +- ...MemChunkNew.func => patchPrvChunkNew.func} | Bin 3 files changed, 19 insertions(+), 2 deletions(-) rename tools/palm/muExpansionDriver/blobs/{patchMemChunkNew.X68 => patchPrvChunkNew.X68} (93%) rename tools/palm/muExpansionDriver/blobs/{patchMemChunkNew.func => patchPrvChunkNew.func} (100%) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index f957c39..8319645 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -987,7 +987,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ IDs in sequential order, as always beginning with RAM heaps, followed by ROM heaps. */ - //this looks like the code that ensures heap alignment sizes are correct, if I force everything to a multiple of 4 that may fix ARM behavior + //PrvChunkNew alignment code /* ROM:10020D04 moveq #1,d0 ; Move Quick ROM:10020D06 and.l size(a6),d0 ; Check if size is a multiple of 2 @@ -1004,6 +1004,23 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10020D1C */ + //PrvPtrResize alignment code + /* + ROM:1002123C moveq #1,d0 ; Move Quick + ROM:1002123E and.l arg_4(a6),d0 ; AND Logical + ROM:10021242 addq.w #8,sp ; Add Quick + ROM:10021244 beq.s loc_1002124E ; Branch if Equal + ROM:10021246 moveq #9,d0 ; Move Quick + ROM:10021248 add.l arg_4(a6),d0 ; Add + ROM:1002124C bra.s loc_10021254 ; Branch Always + ROM:1002124E ; --------------------------------------------------------------------------- + ROM:1002124E + ROM:1002124E loc_1002124E: ; CODE XREF: PrvPtrResize_100211F6+4E↑j + ROM:1002124E move.l arg_4(a6),d0 ; Move Data from Source to Destination + ROM:10021252 addq.l #8,d0 ; Add Quick + ROM:10021254 + */ + //patch PrvChunkNew to 32 bit alignment, this alone does not fix 32 bit alignment issues patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true //when moving memory around some 16 bit aligned pointers still show up diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 similarity index 93% rename from tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 rename to tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 index 35cdf61..d517612 100644 --- a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.X68 +++ b/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 @@ -1,5 +1,5 @@ *----------------------------------------------------------- -* Title :patchMemChunkNew +* Title :patchPrvChunkNew * Written by :meepingsnesroms *----------------------------------------------------------- ORG $1000 diff --git a/tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func b/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.func similarity index 100% rename from tools/palm/muExpansionDriver/blobs/patchMemChunkNew.func rename to tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.func From 1b538a0bfee48e5a2737158425e2763fbc161a04 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 11:38:08 -0700 Subject: [PATCH 32/47] Some ASM updates --- src/debug/sandbox.c | 3 +++ tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 | 1 + 2 files changed, 4 insertions(+) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 8319645..7596fa5 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -1024,6 +1024,9 @@ uint32_t sandboxCommand(uint32_t command, void* data){ //patch PrvChunkNew to 32 bit alignment, this alone does not fix 32 bit alignment issues patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true //when moving memory around some 16 bit aligned pointers still show up + + //patch PrvPtrResize to 32 bit alignment, this alone does not fix 32 bit alignment issues + //patchOsRom(0x2123C, "NEED REAL PATCH");//adds an extra 4 bytes if & 0x00000003 is true } break; diff --git a/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 index d517612..2d95591 100644 --- a/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 +++ b/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 @@ -5,6 +5,7 @@ ORG $1000 START: ; first instruction of program + ; Patch to address 0x20D04 of palmos41-en-m515.rom move.l $A(a6), d0 and.l #$FFFFFFFC, d0 cmp.l $A(a6), d0 From 2270e8f112bc5fa44724da6f854819e8c50a8cb1 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 11:41:44 -0700 Subject: [PATCH 33/47] List other functions that may need to be patched --- src/debug/sandbox.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 7596fa5..4af6566 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -1027,6 +1027,10 @@ uint32_t sandboxCommand(uint32_t command, void* data){ //patch PrvPtrResize to 32 bit alignment, this alone does not fix 32 bit alignment issues //patchOsRom(0x2123C, "NEED REAL PATCH");//adds an extra 4 bytes if & 0x00000003 is true + + //other functions that may need to be patched are: + //PrvCompactHeap_10021A12 + //PrvMoveChunk_10021C3E } break; From 65db73b129f1d842ffec533f31db6eb18db6e147 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 12:33:58 -0700 Subject: [PATCH 34/47] Patch another memory function to 32 bit alignment --- src/debug/sandbox.c | 2 +- .../{ => osPatches}/patchPrvChunkNew.X68 | 0 .../{ => osPatches}/patchPrvChunkNew.func | Bin .../blobs/osPatches/patchPrvPtrResize.L68 | 32 ++++++++++++++++++ .../blobs/osPatches/patchPrvPtrResize.S68 | 3 ++ .../blobs/osPatches/patchPrvPtrResize.X68 | 25 ++++++++++++++ .../blobs/osPatches/patchPrvPtrResize.func | Bin 0 -> 24 bytes 7 files changed, 61 insertions(+), 1 deletion(-) rename tools/palm/muExpansionDriver/blobs/{ => osPatches}/patchPrvChunkNew.X68 (100%) rename tools/palm/muExpansionDriver/blobs/{ => osPatches}/patchPrvChunkNew.func (100%) create mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 create mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 create mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 create mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.func diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 4af6566..f19d536 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -1026,7 +1026,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ //when moving memory around some 16 bit aligned pointers still show up //patch PrvPtrResize to 32 bit alignment, this alone does not fix 32 bit alignment issues - //patchOsRom(0x2123C, "NEED REAL PATCH");//adds an extra 4 bytes if & 0x00000003 is true + patchOsRom(0x2123C, "202E000CC0BCFFFFFFFCB0AE000C6700000458805080504F");//adds an extra 4 bytes if & 0x00000003 is true //other functions that may need to be patched are: //PrvCompactHeap_10021A12 diff --git a/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.X68 similarity index 100% rename from tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.X68 rename to tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.X68 diff --git a/tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.func b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.func similarity index 100% rename from tools/palm/muExpansionDriver/blobs/patchPrvChunkNew.func rename to tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.func diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 new file mode 100644 index 0000000..8a94242 --- /dev/null +++ b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 @@ -0,0 +1,32 @@ +00001000 Starting Address +Assembler used: EASy68K Editor/Assembler v5.16.01 +Created On: 4/11/2019 12:27:03 + +00000000 1 *----------------------------------------------------------- +00000000 2 * Title :patchPrvPtrResize +00000000 3 * Written by :meepingsnesroms +00000000 4 *----------------------------------------------------------- +00001000 5 ORG $1000 +00001000 6 START: ; first instruction of program +00001000 7 +00001000 8 ; Patch to address 0x2123C of palmos41-en-m515.rom +00001000 202E 000C 9 move.l $C(a6), d0 +00001004 C0BC FFFFFFFC 10 and.l #$FFFFFFFC, d0 +0000100A B0AE 000C 11 cmp.l $C(a6), d0 +0000100E 6700 0004 12 beq done +00001012 5880 13 addq.l #4, d0 +00001014 14 done: +00001014 5080 15 addq.l #8, d0 +00001016 504F 16 addq.w #8, sp +00001018 17 +00001018 18 END START ; last line of source + +No errors detected +No warnings generated + + +SYMBOL TABLE INFORMATION +Symbol-name Value +------------------------- +DONE 1014 +START 1000 diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 new file mode 100644 index 0000000..819fe61 --- /dev/null +++ b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 @@ -0,0 +1,3 @@ +S021000036384B50524F47202020323043524541544544204259204541535936384B6D +S11B1000202E000CC0BCFFFFFFFCB0AE000C6700000458805080504FE9 +S804001000EB diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 new file mode 100644 index 0000000..a98b18d --- /dev/null +++ b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 @@ -0,0 +1,25 @@ +*----------------------------------------------------------- +* Title :patchPrvPtrResize +* Written by :meepingsnesroms +*----------------------------------------------------------- + ORG $1000 +START: ; first instruction of program + + ; Patch to address 0x2123C of palmos41-en-m515.rom + move.l $C(a6), d0 + and.l #$FFFFFFFC, d0 + cmp.l $C(a6), d0 + beq done + addq.l #4, d0 +done: + addq.l #8, d0 + addq.w #8, sp + + END START ; last line of source + + + +*~Font name~Courier New~ +*~Font size~10~ +*~Tab type~1~ +*~Tab size~4~ diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.func b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.func new file mode 100644 index 0000000000000000000000000000000000000000..120e2a693eb27ef01566e2e5e8b0ddf39eb3e195 GIT binary patch literal 24 gcmY$;W8gWk=l}oze>SXR;7Mm-V2Nl5XbA8J0EQL`>;M1& literal 0 HcmV?d00001 From 71af4b89a55f00248e3a01ef6856eef4963c708b Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 13:01:17 -0700 Subject: [PATCH 35/47] Update sandbox.c --- src/debug/sandbox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index f19d536..e81dd5a 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -444,7 +444,7 @@ static void checkMemoryAlignmentPointer(uint16_t heap){ //non moveable memory wont resize //shuffle memory - error = sandboxCallGuestFunction(false, 0x00000000, MemHeapScramble, "w(w)", heap); + error = sandboxCallGuestFunction(false, 0x00000000, MemHeapCompact, "w(w)", heap); if(error != 0x0000/*errNone*/){ debugLog("Memory test: Unable to scramble heap:0x%04X\n", error); goto failed; @@ -543,7 +543,7 @@ static void checkMemoryAlignmentHandle(uint16_t heap){ } //shuffle memory - error = sandboxCallGuestFunction(false, 0x00000000, MemHeapScramble, "w(w)", heap); + error = sandboxCallGuestFunction(false, 0x00000000, MemHeapCompact, "w(w)", heap); if(error != 0x0000/*errNone*/){ debugLog("Memory test: Unable to scramble heap:0x%04X\n", error); goto failed; @@ -1028,6 +1028,8 @@ uint32_t sandboxCommand(uint32_t command, void* data){ //patch PrvPtrResize to 32 bit alignment, this alone does not fix 32 bit alignment issues patchOsRom(0x2123C, "202E000CC0BCFFFFFFFCB0AE000C6700000458805080504F");//adds an extra 4 bytes if & 0x00000003 is true + //may need to patch 0x7FFFFFFE's to 0x7FFFFFFC's + //other functions that may need to be patched are: //PrvCompactHeap_10021A12 //PrvMoveChunk_10021C3E From e1a9162cc944c3c959bac788a8dc498ad0642601 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Thu, 11 Apr 2019 15:15:28 -0700 Subject: [PATCH 36/47] Locate another potential alignment check --- src/debug/sandbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index e81dd5a..b59baa6 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -1021,6 +1021,16 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10021254 */ + //PrvMoveChunk alignment code???(not sure yet) + /* + ROM:10021C82 sub.l d0,d7 ; Subtract + ROM:10021C84 move.l d7,d5 ; Move Data from Source to Destination + ROM:10021C86 moveq #1,d0 ; Set bitmask + ROM:10021C88 and.l d7,d0 ; Check if bit 0 of d7 is set + ROM:10021C8A beq.s loc_10021C8E ; If bit 0 of d7 is set add 1 to d5 + ROM:10021C8C addq.l #1,d5 ; 16 bit align ??? + */ + //patch PrvChunkNew to 32 bit alignment, this alone does not fix 32 bit alignment issues patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true //when moving memory around some 16 bit aligned pointers still show up From 4c27b1abb109e893ec900a75a74d2260748ffbb4 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sun, 14 Apr 2019 21:05:52 -0700 Subject: [PATCH 37/47] Print chunk misalignment details on fail --- src/debug/sandbox.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index b59baa6..5b0d886 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -417,6 +417,16 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ return true; } +static void printChunkHeader(uint32_t pointer){ + uint32_t address = pointer - 8; + uint32_t headerLong1 = m68k_read_memory_32(address); + uint32_t totalSize = headerLong1 & 0x00FFFFFF; + uint8_t extraBytes = headerLong1 >> 24 & 0x0F; + uint32_t userRequestedSize = totalSize - 8 - extraBytes; + + debugLog("Chunk header: address:0x%08X, totalSize:0x%08X, userSize:0x%08X, extraBytes:0x%02X\n", address, totalSize, userRequestedSize, extraBytes); +} + static void checkMemoryAlignmentPointer(uint16_t heap){ uint32_t memPtrs[100]; uint8_t index; @@ -437,6 +447,7 @@ static void checkMemoryAlignmentPointer(uint16_t heap){ for(index = 0; index < 100; index++){ if(memPtrs[index] & 0x00000003){ debugLog("Memory test: Memory allocations are not 32 bit aligned:0x%08X\n", memPtrs[index]); + printChunkHeader(memPtrs[index]); goto failed; } } @@ -454,6 +465,7 @@ static void checkMemoryAlignmentPointer(uint16_t heap){ for(index = 0; index < 100; index++){ if(memPtrs[index] & 0x00000003){ debugLog("Memory test: Memory misaligned by defragment:0x%08X\n", memPtrs[index]); + printChunkHeader(memPtrs[index]); goto failed; } } @@ -507,6 +519,7 @@ static void checkMemoryAlignmentHandle(uint16_t heap){ for(index = 0; index < 100; index++){ if(memPtrs[index] & 0x00000003){ debugLog("Memory test: Memory allocations are not 32 bit aligned:0x%08X\n", memPtrs[index]); + printChunkHeader(memPtrs[index]); goto failed; } } @@ -538,6 +551,7 @@ static void checkMemoryAlignmentHandle(uint16_t heap){ for(index = 0; index < 100; index++){ if(memPtrs[index] & 0x00000003){ debugLog("Memory test: Memory misaligned by resize:0x%08X\n", memPtrs[index]); + printChunkHeader(memPtrs[index]); goto failed; } } @@ -567,6 +581,7 @@ static void checkMemoryAlignmentHandle(uint16_t heap){ for(index = 0; index < 100; index++){ if(memPtrs[index] & 0x00000003){ debugLog("Memory test: Memory misaligned by defragment:0x%08X\n", memPtrs[index]); + printChunkHeader(memPtrs[index]); goto failed; } } @@ -1031,6 +1046,19 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10021C8C addq.l #1,d5 ; 16 bit align ??? */ + //size extra bits are not being set when chuncks are allocated + + //PrvChunkNew derives size extra from total size - requested size, so its already safe, PrvPtrResize does the same + /* + ROM:10020FFA setSizeExtra: ; CODE XREF: PrvChunkNew_10020CBC+312↑j + ROM:10020FFA move.l d3,d0 ; Move Data from Source to Destination + ROM:10020FFC sub.l size(a6),d0 ; Subtract + ROM:10021000 subq.l #8,d0 ; Subtract Quick + ROM:10021002 andi.b #$F,d0 ; AND Immediate + ROM:10021006 andi.b #$F0,(a2) ; AND Immediate + ROM:1002100A or.b d0,(a2) ; Inclusive-OR Logical + */ + //patch PrvChunkNew to 32 bit alignment, this alone does not fix 32 bit alignment issues patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true //when moving memory around some 16 bit aligned pointers still show up From efc3b9ca77f9106b4ee9c17a28d7a13719db3afe Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sun, 14 Apr 2019 22:36:20 -0700 Subject: [PATCH 38/47] Fix consistncy of REG_PPC, it is now always the start address of the last opcode executed Before there was an inconsistancy where it would be set to the current opcode when exiting the loop, that causes weird side effects and is completely unneeded since it will just be set the next time the loop starts anyway. --- qtBuildSystem/Mu/Mu.pro | 2 +- src/debug/sandbox.c | 10 +++++++--- src/m68k/m68kcpu.c | 3 --- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/qtBuildSystem/Mu/Mu.pro b/qtBuildSystem/Mu/Mu.pro index 88738ae..3af01ae 100644 --- a/qtBuildSystem/Mu/Mu.pro +++ b/qtBuildSystem/Mu/Mu.pro @@ -65,7 +65,7 @@ CONFIG(debug, debug|release){ # DEFINES += EMU_SANDBOX_LOG_MEMORY_ACCESSES # checks all reads and writes to memory and logs certain events DEFINES += EMU_SANDBOX_OPCODE_LEVEL_DEBUG # for breakpoints DEFINES += EMU_SANDBOX_LOG_JUMPS # log large jumps - # DEFINES += EMU_SANDBOX_LOG_APIS # for printing sysTrap* calls, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must be on too + DEFINES += EMU_SANDBOX_LOG_APIS # for printing sysTrap* calls, EMU_SANDBOX_OPCODE_LEVEL_DEBUG must be on too macx|linux-g++{ # also check for any buffer overflows and memory leaks # -fsanitize=undefined,leak diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 5b0d886..b6dc91a 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -199,7 +199,7 @@ void log68kJumps(void){ static void logApiCalls(void){ uint32_t programCounter = m68k_get_reg(NULL, M68K_REG_PPC); - uint16_t instruction = m68k_get_reg(NULL, M68K_REG_IR); + uint16_t instruction = m68k_read_memory_16(programCounter); if(instruction == 0x4E4F/*Trap F/API call opcode*/){ uint16_t trap = m68k_read_memory_16(programCounter + 2); @@ -814,7 +814,7 @@ void sandboxReset(void){ //sandboxCommand(SANDBOX_CMD_REGISTER_WATCH_ENABLE, NULL); //monitor for strange jumps - sandboxSetWatchRegion(0x00000000, 0xFFFFFFFE, SANDBOX_WATCH_CODE); + //sandboxSetWatchRegion(0x00000000, 0xFFFFFFFE, SANDBOX_WATCH_CODE); } uint32_t sandboxStateSize(void){ @@ -1046,7 +1046,7 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:10021C8C addq.l #1,d5 ; 16 bit align ??? */ - //size extra bits are not being set when chuncks are allocated + //size extra bits are not being set when chunks are allocated //PrvChunkNew derives size extra from total size - requested size, so its already safe, PrvPtrResize does the same /* @@ -1059,6 +1059,10 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:1002100A or.b d0,(a2) ; Inclusive-OR Logical */ + //PrvPtrResize is likely moving the chunk in front forwards if its small enough and leaving the data in place to save the opcodes needed to copy the data elsewhere + //if this is true then a resize of existing size + 2 will push the next chunk forward by 2 misaligning it + //could also be moving the header backwards by 2 if its willing to shift all the data manualy or corrupt the data + //patch PrvChunkNew to 32 bit alignment, this alone does not fix 32 bit alignment issues patchOsRom(0x20D04, "202E000AC0BCFFFFFFFCB0AE000A6700000458805080544F");//adds an extra 4 bytes if & 0x00000003 is true //when moving memory around some 16 bit aligned pointers still show up diff --git a/src/m68k/m68kcpu.c b/src/m68k/m68kcpu.c index bedf633..6b4adfb 100755 --- a/src/m68k/m68kcpu.c +++ b/src/m68k/m68kcpu.c @@ -677,9 +677,6 @@ int32_t m68k_execute(int32_t num_cycles) m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */ } while(GET_CYCLES() > 0); - /* set previous PC to current PC for the next entry into the loop */ - REG_PPC = REG_PC; - /* ASG: update cycles */ USE_CYCLES(CPU_INT_CYCLES); CPU_INT_CYCLES = 0; From 8eae0b1ddd89f5007d332a0e8037f680e0d32c4a Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 15 Apr 2019 12:00:54 -0700 Subject: [PATCH 39/47] Update unimplementedHardware.txt --- bugs/unimplementedHardware.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bugs/unimplementedHardware.txt b/bugs/unimplementedHardware.txt index acc8571..909f5dc 100644 --- a/bugs/unimplementedHardware.txt +++ b/bugs/unimplementedHardware.txt @@ -53,6 +53,9 @@ ADS7846 channels can't be read in single reference mode in hwTestSuite MakePalmBitmap: +Other: +Support for Silkyboard 2 silkscreen:https://archive.org/details/tucows_228076_SILKYBOARD_II + Fixed: (Feature)need to add FEATURE_DURABLE which will ignore CPU errors, increasing stability at the cost of bugginess From 84c0c40f36a705de788d73e94b43d414cc86240e Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 15 Apr 2019 13:00:50 -0700 Subject: [PATCH 40/47] Set up FEATURE_DURABLE in GUI, fix settings icon not scaling --- qtBuildSystem/Mu/mainwindow.cpp | 8 ++-- qtBuildSystem/Mu/settingsmanager.cpp | 5 +++ qtBuildSystem/Mu/settingsmanager.h | 1 + qtBuildSystem/Mu/settingsmanager.ui | 57 ++++++++++++++++------------ roadmap.txt | 8 ++-- 5 files changed, 47 insertions(+), 32 deletions(-) diff --git a/qtBuildSystem/Mu/mainwindow.cpp b/qtBuildSystem/Mu/mainwindow.cpp index c23f257..041e043 100644 --- a/qtBuildSystem/Mu/mainwindow.cpp +++ b/qtBuildSystem/Mu/mainwindow.cpp @@ -107,11 +107,12 @@ MainWindow::MainWindow(QWidget* parent) : ui->power->installEventFilter(this); ui->ctrlBtn->installEventFilter(this); + ui->reset->installEventFilter(this); + ui->stateManager->installEventFilter(this); + ui->screenshot->installEventFilter(this); + ui->settings->installEventFilter(this); ui->install->installEventFilter(this); ui->debugger->installEventFilter(this); - ui->screenshot->installEventFilter(this); - ui->stateManager->installEventFilter(this); - ui->reset->installEventFilter(this); //hide onscreen keys if needed ui->up->setHidden(hideOnscreenKeys); @@ -182,6 +183,7 @@ uint32_t MainWindow::getEmuFeatureList(){ features |= settings->value("featureHleApis", false).toBool() ? FEATURE_HLE_APIS : 0; features |= settings->value("featureEmuHonest", false).toBool() ? FEATURE_EMU_HONEST : 0; features |= settings->value("featureExtraKeys", false).toBool() ? FEATURE_EXT_KEYS : 0; + features |= settings->value("featureDurable", false).toBool() ? FEATURE_DURABLE : 0; features |= settings->value("featureSoundStreams", false).toBool() ? FEATURE_SND_STRMS : 0; //lazy debug overrides diff --git a/qtBuildSystem/Mu/settingsmanager.cpp b/qtBuildSystem/Mu/settingsmanager.cpp index 87b46c0..f0b9c4c 100644 --- a/qtBuildSystem/Mu/settingsmanager.cpp +++ b/qtBuildSystem/Mu/settingsmanager.cpp @@ -31,6 +31,7 @@ SettingsManager::SettingsManager(QWidget* parent) : ui->featureHleApis->setChecked(settings->value("featureHleApis", false).toBool()); ui->featureEmuHonest->setChecked(settings->value("featureEmuHonest", false).toBool()); ui->featureExtraKeys->setChecked(settings->value("featureExtraKeys", false).toBool()); + ui->featureDurable->setChecked(settings->value("featureDurable", false).toBool()); ui->featureSoundStreams->setChecked(settings->value("featureSoundStreams", false).toBool()); setKeySelectorState(-1); @@ -174,3 +175,7 @@ void SettingsManager::on_featureExtraKeys_toggled(bool checked){ void SettingsManager::on_featureSoundStreams_toggled(bool checked){ settings->setValue("featureSoundStreams", checked); } + +void SettingsManager::on_featureDurable_toggled(bool checked){ + settings->setValue("featureDurable", checked); +} diff --git a/qtBuildSystem/Mu/settingsmanager.h b/qtBuildSystem/Mu/settingsmanager.h index 1ab18c3..4b1e0f8 100644 --- a/qtBuildSystem/Mu/settingsmanager.h +++ b/qtBuildSystem/Mu/settingsmanager.h @@ -52,6 +52,7 @@ private slots: void on_featureEmuHonest_toggled(bool checked); void on_featureExtraKeys_toggled(bool checked); void on_featureSoundStreams_toggled(bool checked); + void on_featureDurable_toggled(bool checked); private: Ui::SettingsManager* ui; diff --git a/qtBuildSystem/Mu/settingsmanager.ui b/qtBuildSystem/Mu/settingsmanager.ui index 80e1be0..95dcea4 100644 --- a/qtBuildSystem/Mu/settingsmanager.ui +++ b/qtBuildSystem/Mu/settingsmanager.ui @@ -30,8 +30,8 @@ 0 0 - 629 - 433 + 630 + 417 @@ -239,24 +239,10 @@ - - + + - Tell Programs Their Emulated - - - - - - - HLE APIs(Speed Hack) - - - - - - - Resizeable Display(HiRes Mode) + Sync Real Time Clock @@ -267,6 +253,13 @@ + + + + Tell Programs Their Emulated + + + @@ -281,10 +274,17 @@ - - + + - Sync Real Time Clock + PWM Audio Streams(OS 5) + + + + + + + HLE APIs(Speed Hack) @@ -295,10 +295,17 @@ - - + + - PWM Audio Streams(OS 5) + Resizeable Display(HiRes Mode) + + + + + + + Ignore Invalid Behavior diff --git a/roadmap.txt b/roadmap.txt index 317930b..c17fb4c 100644 --- a/roadmap.txt +++ b/roadmap.txt @@ -29,11 +29,11 @@ Emu Hwr Driver: v1.0.0 to v2.0.0(*** ** 2019 - *** ** 2019) Core: -*ARM opcode support, most apps that use ARM code work, as long as no OS 5.1.* APIs are used +*ARM opcode support, most apps that use ARM code work, as long as no OS 5.1.* APIs are used(partialy done, alignment broken) Emu Hwr Driver: -*ARM CPU is exported to OS 4 with custom PceNativeCall -*can set fake version number to prevent tripping compatibility checks +*ARM CPU is exported to OS 4 with custom PceNativeCall(already done) +*can set fake version number to prevent tripping compatibility checks(already done) ------------------------------------------ v1.0.0 to v1.1.0(Feb 25 2019 - Easter 2019) @@ -41,4 +41,4 @@ v1.0.0 to v1.1.0(Feb 25 2019 - Easter 2019) Qt GUI: *can now set the feature bits *can now set the resource directory -*keyboard support +*keyboard mapping support From 180a8ba97f8e205c7d5d6d2d7c54754e07758d3e Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 15 Apr 2019 13:10:32 -0700 Subject: [PATCH 41/47] Add new feature bits to RetroArch port, update chunk info print format --- libretroBuildSystem/libretro.c | 12 ++++++++++++ src/debug/sandbox.c | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/libretroBuildSystem/libretro.c b/libretroBuildSystem/libretro.c index 5d90e2e..4908108 100644 --- a/libretroBuildSystem/libretro.c +++ b/libretroBuildSystem/libretro.c @@ -120,6 +120,16 @@ static void check_variables(bool booting){ if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) if (!strcmp(var.value, "enabled")) emuFeatures |= FEATURE_EXT_KEYS; + + var.key = "palm_emu_feature_durable"; + if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) + if (!strcmp(var.value, "enabled")) + emuFeatures |= FEATURE_DURABLE; + + var.key = "palm_emu_feature_snd_strms"; + if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) + if (!strcmp(var.value, "enabled")) + emuFeatures |= FEATURE_SND_STRMS; } var.key = "palm_emu_use_joystick_as_mouse"; @@ -186,6 +196,8 @@ void retro_set_environment(retro_environment_t cb){ { "palm_emu_feature_hle_apis", "HLE API Implementations; disabled|enabled" }, { "palm_emu_feature_emu_honest", "Is Emulator(for test programs); disabled|enabled" }, { "palm_emu_feature_ext_keys", "Left, Right, Center Keys; disabled|enabled" }, + { "palm_emu_feature_durable", "Ignore Invalid Behavior; disabled|enabled" }, + { "palm_emu_feature_snd_strms", "Palm OS 5 PWM Streams; disabled|enabled" }, { "palm_emu_use_joystick_as_mouse", "Use Left Joystick As Mouse; disabled|enabled" }, { 0 } }; diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index b6dc91a..3466059 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -424,7 +424,7 @@ static void printChunkHeader(uint32_t pointer){ uint8_t extraBytes = headerLong1 >> 24 & 0x0F; uint32_t userRequestedSize = totalSize - 8 - extraBytes; - debugLog("Chunk header: address:0x%08X, totalSize:0x%08X, userSize:0x%08X, extraBytes:0x%02X\n", address, totalSize, userRequestedSize, extraBytes); + debugLog("Chunk header: address:0x%08X, totalSize:%d(0x%08X), userSize:%d(0x%08X), extraBytes:%d(0x%02X)\n", address, totalSize, totalSize, userRequestedSize, userRequestedSize, extraBytes, extraBytes); } static void checkMemoryAlignmentPointer(uint16_t heap){ @@ -1059,6 +1059,9 @@ uint32_t sandboxCommand(uint32_t command, void* data){ ROM:1002100A or.b d0,(a2) ; Inclusive-OR Logical */ + //current suspect functions are PrvCreateFreeChunk and PrvUseFreeChunk + //also merging chunks may cause some kind of issue + //PrvPtrResize is likely moving the chunk in front forwards if its small enough and leaving the data in place to save the opcodes needed to copy the data elsewhere //if this is true then a resize of existing size + 2 will push the next chunk forward by 2 misaligning it //could also be moving the header backwards by 2 if its willing to shift all the data manualy or corrupt the data From 6df973a77c45a7c2a0a9dc93aa6409011cf42d82 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Wed, 17 Apr 2019 13:03:38 -0700 Subject: [PATCH 42/47] Remove ARM stuff from core --- libretroBuildSystem/libretro.c | 46 +- qtBuildSystem/Mu/Mu.pro | 8 - qtBuildSystem/Mu/emuwrapper.cpp | 12 - qtBuildSystem/Mu/emuwrapper.h | 3 - qtBuildSystem/Mu/mainwindow.cpp | 42 - qtBuildSystem/Mu/mainwindow.h | 4 - qtBuildSystem/Mu/mainwindow.ui | 337 ++-- qtBuildSystem/Mu/settingsmanager.cpp | 45 - qtBuildSystem/Mu/settingsmanager.h | 9 - qtBuildSystem/Mu/settingsmanager.ui | 133 +- src/armv5.c | 297 --- src/armv5.h | 20 - src/armv5/CPU.c | 2745 -------------------------- src/armv5/CPU.h | 173 -- src/armv5/icache.c | 140 -- src/armv5/icache.h | 45 - src/armv5/math64.h | 25 - src/armv5/types.h | 44 - src/debug/sandbox.c | 25 +- src/emulator.c | 91 +- src/emulator.h | 3 - src/expansionHardware.c | 107 - src/makefile.all | 5 +- src/memoryAccess.h | 1 - src/specs/emuFeatureRegisterSpec.h | 29 +- tools/desktop/muStyle.xml | 40 + 26 files changed, 259 insertions(+), 4170 deletions(-) delete mode 100755 src/armv5.c delete mode 100755 src/armv5.h delete mode 100755 src/armv5/CPU.c delete mode 100755 src/armv5/CPU.h delete mode 100755 src/armv5/icache.c delete mode 100755 src/armv5/icache.h delete mode 100755 src/armv5/math64.h delete mode 100755 src/armv5/types.h create mode 100644 tools/desktop/muStyle.xml diff --git a/libretroBuildSystem/libretro.c b/libretroBuildSystem/libretro.c index 4908108..4e78661 100644 --- a/libretroBuildSystem/libretro.c +++ b/libretroBuildSystem/libretro.c @@ -81,26 +81,11 @@ static void check_variables(bool booting){ if(booting){ emuFeatures = FEATURE_ACCURATE; - var.key = "palm_emu_feature_ram_huge"; - if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) - if (!strcmp(var.value, "enabled")) - emuFeatures |= FEATURE_RAM_HUGE; - var.key = "palm_emu_feature_fast_cpu"; if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) if (!strcmp(var.value, "enabled")) emuFeatures |= FEATURE_FAST_CPU; - var.key = "palm_emu_feature_hybrid_cpu"; - if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) - if (!strcmp(var.value, "enabled")) - emuFeatures |= FEATURE_HYBRID_CPU; - - var.key = "palm_emu_feature_custom_fb"; - if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) - if (!strcmp(var.value, "enabled")) - emuFeatures |= FEATURE_CUSTOM_FB; - var.key = "palm_emu_feature_synced_rtc"; if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) if (!strcmp(var.value, "enabled")) @@ -111,25 +96,10 @@ static void check_variables(bool booting){ if (!strcmp(var.value, "enabled")) emuFeatures |= FEATURE_HLE_APIS; - var.key = "palm_emu_feature_emu_honest"; - if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) - if (!strcmp(var.value, "enabled")) - emuFeatures |= FEATURE_EMU_HONEST; - - var.key = "palm_emu_feature_ext_keys"; - if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) - if (!strcmp(var.value, "enabled")) - emuFeatures |= FEATURE_EXT_KEYS; - var.key = "palm_emu_feature_durable"; if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) if (!strcmp(var.value, "enabled")) emuFeatures |= FEATURE_DURABLE; - - var.key = "palm_emu_feature_snd_strms"; - if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) - if (!strcmp(var.value, "enabled")) - emuFeatures |= FEATURE_SND_STRMS; } var.key = "palm_emu_use_joystick_as_mouse"; @@ -178,8 +148,8 @@ void retro_get_system_av_info(struct retro_system_av_info *info){ info->geometry.base_width = 160; info->geometry.base_height = 220; - info->geometry.max_width = 480; - info->geometry.max_height = 480; + info->geometry.max_width = 160; + info->geometry.max_height = 220; info->geometry.aspect_ratio = 160.0 / 220.0; } @@ -188,16 +158,10 @@ void retro_set_environment(retro_environment_t cb){ struct retro_vfs_interface_info vfs_getter = { 1, NULL }; struct retro_led_interface led_getter; struct retro_variable vars[] = { - { "palm_emu_feature_ram_huge", "128mb RAM; disabled|enabled" }, { "palm_emu_feature_fast_cpu", "Custom CPU Speeds; disabled|enabled" }, - { "palm_emu_feature_hybrid_cpu", "ARM Instruction Set; disabled|enabled" }, - { "palm_emu_feature_custom_fb", "Custom Resolution; disabled|enabled" }, { "palm_emu_feature_synced_rtc", "Force Match System Clock; disabled|enabled" }, { "palm_emu_feature_hle_apis", "HLE API Implementations; disabled|enabled" }, - { "palm_emu_feature_emu_honest", "Is Emulator(for test programs); disabled|enabled" }, - { "palm_emu_feature_ext_keys", "Left, Right, Center Keys; disabled|enabled" }, { "palm_emu_feature_durable", "Ignore Invalid Behavior; disabled|enabled" }, - { "palm_emu_feature_snd_strms", "Palm OS 5 PWM Streams; disabled|enabled" }, { "palm_emu_use_joystick_as_mouse", "Use Left Joystick As Mouse; disabled|enabled" }, { 0 } }; @@ -205,11 +169,8 @@ void retro_set_environment(retro_environment_t cb){ { 0, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_LEFT, RETRO_DEVICE_ID_ANALOG_X, "Touchscreen Mouse X" }, { 0, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_LEFT, RETRO_DEVICE_ID_ANALOG_Y, "Touchscreen Mouse Y" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R2, "Touchscreen Mouse Click" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT, "Dpad Left" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP, "Dpad Up" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN, "Dpad Down" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_RIGHT, "Dpad Right" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R, "Dpad Middle" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START, "Power" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A, "Calender" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B, "Address Book" }, @@ -298,10 +259,7 @@ void retro_run(void){ //dpad palmInput.buttonUp = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP); - palmInput.buttonRight = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_RIGHT); palmInput.buttonDown = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN); - palmInput.buttonLeft = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT); - palmInput.buttonCenter = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R); //app buttons palmInput.buttonCalendar = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A); diff --git a/qtBuildSystem/Mu/Mu.pro b/qtBuildSystem/Mu/Mu.pro index 3af01ae..91b45ca 100644 --- a/qtBuildSystem/Mu/Mu.pro +++ b/qtBuildSystem/Mu/Mu.pro @@ -106,9 +106,6 @@ SOURCES += \ ../../src/m68k/m68kopdm.c \ ../../src/m68k/m68kopnz.c \ ../../src/m68k/m68kops.c \ - ../../src/armv5/CPU.c \ - ../../src/armv5/icache.c \ - ../../src/armv5.c \ ../../src/expansionHardware.c \ settingsmanager.cpp @@ -145,11 +142,6 @@ HEADERS += \ ../../src/specs/pdiUsbD12CommandSpec.h \ ../../src/specs/emuFeatureRegisterSpec.h \ ../../src/specs/sdCardCommandSpec.h \ - ../../src/armv5/CPU.h \ - ../../src/armv5/math64.h \ - ../../src/armv5/types.h \ - ../../src/armv5/icache.h \ - ../../src/armv5.h \ ../../src/expansionHardware.h \ ../../src/sdCardAccessors.c.h \ ../../src/sdCardCrcTables.c.h \ diff --git a/qtBuildSystem/Mu/emuwrapper.cpp b/qtBuildSystem/Mu/emuwrapper.cpp index e8699c2..acb7ed5 100644 --- a/qtBuildSystem/Mu/emuwrapper.cpp +++ b/qtBuildSystem/Mu/emuwrapper.cpp @@ -342,18 +342,6 @@ void EmuWrapper::setKeyValue(uint8_t key, bool pressed){ emuInput.buttonDown = pressed; break; - case BUTTON_LEFT: - emuInput.buttonLeft = pressed; - break; - - case BUTTON_RIGHT: - emuInput.buttonRight = pressed; - break; - - case BUTTON_CENTER: - emuInput.buttonCenter = pressed; - break; - case BUTTON_CALENDAR: emuInput.buttonCalendar = pressed; break; diff --git a/qtBuildSystem/Mu/emuwrapper.h b/qtBuildSystem/Mu/emuwrapper.h index 5024f9d..6bda8f3 100644 --- a/qtBuildSystem/Mu/emuwrapper.h +++ b/qtBuildSystem/Mu/emuwrapper.h @@ -32,9 +32,6 @@ public: enum{ BUTTON_UP = 0, BUTTON_DOWN, - BUTTON_LEFT, - BUTTON_RIGHT, - BUTTON_CENTER, BUTTON_CALENDAR, BUTTON_ADDRESS, BUTTON_TODO, diff --git a/qtBuildSystem/Mu/mainwindow.cpp b/qtBuildSystem/Mu/mainwindow.cpp index 041e043..7da60d8 100644 --- a/qtBuildSystem/Mu/mainwindow.cpp +++ b/qtBuildSystem/Mu/mainwindow.cpp @@ -95,9 +95,6 @@ MainWindow::MainWindow(QWidget* parent) : ui->up->installEventFilter(this); ui->down->installEventFilter(this); - ui->left->installEventFilter(this); - ui->right->installEventFilter(this); - ui->center->installEventFilter(this); ui->calendar->installEventFilter(this); ui->addressBook->installEventFilter(this); @@ -117,9 +114,6 @@ MainWindow::MainWindow(QWidget* parent) : //hide onscreen keys if needed ui->up->setHidden(hideOnscreenKeys); ui->down->setHidden(hideOnscreenKeys); - ui->left->setHidden(hideOnscreenKeys); - ui->right->setHidden(hideOnscreenKeys); - ui->center->setHidden(hideOnscreenKeys); ui->calendar->setHidden(hideOnscreenKeys); ui->addressBook->setHidden(hideOnscreenKeys); @@ -175,21 +169,10 @@ void MainWindow::createHomeDirectoryTree(const QString& path){ uint32_t MainWindow::getEmuFeatureList(){ uint32_t features = FEATURE_ACCURATE; - features |= settings->value("feature128mbRam", false).toBool() ? FEATURE_RAM_HUGE : 0; features |= settings->value("featureFastCpu", false).toBool() ? FEATURE_FAST_CPU : 0; - features |= settings->value("featureHybridCpu", false).toBool() ? FEATURE_HYBRID_CPU : 0; - features |= settings->value("featureCustomFb", false).toBool() ? FEATURE_CUSTOM_FB : 0; features |= settings->value("featureSyncedRtc", false).toBool() ? FEATURE_SYNCED_RTC : 0; features |= settings->value("featureHleApis", false).toBool() ? FEATURE_HLE_APIS : 0; - features |= settings->value("featureEmuHonest", false).toBool() ? FEATURE_EMU_HONEST : 0; - features |= settings->value("featureExtraKeys", false).toBool() ? FEATURE_EXT_KEYS : 0; features |= settings->value("featureDurable", false).toBool() ? FEATURE_DURABLE : 0; - features |= settings->value("featureSoundStreams", false).toBool() ? FEATURE_SND_STRMS : 0; - - //lazy debug overrides - //features = FEATURE_EXT_KEYS | FEATURE_EMU_HONEST | FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_DEBUG | FEATURE_SND_STRMS; - //features = FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_DEBUG; - //features = FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_DEBUG; return features; } @@ -209,9 +192,6 @@ void MainWindow::redraw(){ //update current keys ui->up->setHidden(hideOnscreenKeys); ui->down->setHidden(hideOnscreenKeys); - ui->left->setHidden(hideOnscreenKeys); - ui->right->setHidden(hideOnscreenKeys); - ui->center->setHidden(hideOnscreenKeys); ui->calendar->setHidden(hideOnscreenKeys); ui->addressBook->setHidden(hideOnscreenKeys); @@ -334,22 +314,6 @@ void MainWindow::on_down_released(){ emu.setKeyValue(EmuWrapper::BUTTON_DOWN, false); } -void MainWindow::on_left_pressed(){ - emu.setKeyValue(EmuWrapper::BUTTON_LEFT, true); -} - -void MainWindow::on_left_released(){ - emu.setKeyValue(EmuWrapper::BUTTON_LEFT, false); -} - -void MainWindow::on_right_pressed(){ - emu.setKeyValue(EmuWrapper::BUTTON_RIGHT, true); -} - -void MainWindow::on_right_released(){ - emu.setKeyValue(EmuWrapper::BUTTON_RIGHT, false); -} - //emu control void MainWindow::on_ctrlBtn_clicked(){ if(!emu.isInited()){ @@ -368,12 +332,6 @@ void MainWindow::on_ctrlBtn_clicked(){ ui->power->setEnabled(true); - if(enabledFeatures & FEATURE_EXT_KEYS){ - ui->left->setEnabled(true); - ui->right->setEnabled(true); - ui->center->setEnabled(true); - } - ui->screenshot->setEnabled(true); ui->install->setEnabled(true); ui->stateManager->setEnabled(true); diff --git a/qtBuildSystem/Mu/mainwindow.h b/qtBuildSystem/Mu/mainwindow.h index 10e28af..acb802e 100644 --- a/qtBuildSystem/Mu/mainwindow.h +++ b/qtBuildSystem/Mu/mainwindow.h @@ -64,10 +64,6 @@ private slots: void on_up_released(); void on_down_pressed(); void on_down_released(); - void on_left_pressed(); - void on_left_released(); - void on_right_pressed(); - void on_right_released(); //frontend buttons void on_ctrlBtn_clicked(); diff --git a/qtBuildSystem/Mu/mainwindow.ui b/qtBuildSystem/Mu/mainwindow.ui index 42a183a..c7eb673 100644 --- a/qtBuildSystem/Mu/mainwindow.ui +++ b/qtBuildSystem/Mu/mainwindow.ui @@ -94,8 +94,25 @@ 0 - - + + + + + 0 + 0 + + + + + + + + :/buttons/images/play.svg:/buttons/images/play.svg + + + + + false @@ -107,7 +124,102 @@ - :/buttons/images/addressBook.svg:/buttons/images/addressBook.svg + :/buttons/images/notes.svg:/buttons/images/notes.svg + + + + + + + false + + + + 0 + 0 + + + + + :/buttons/images/reset.svg:/buttons/images/reset.svg + + + + + + + QFrame::Box + + + LED + + + Qt::AlignCenter + + + + + + + false + + + + 0 + 0 + + + + + :/buttons/images/stateManager.svg:/buttons/images/stateManager.svg + + + + + + + false + + + + 0 + 0 + + + + + :/buttons/images/calendar.svg:/buttons/images/calendar.svg + + + + + + + + 0 + 0 + + + + + :/buttons/images/settingsManager.svg:/buttons/images/settingsManager.svg + + + + + + + false + + + + 0 + 0 + + + + + :/buttons/images/up.svg:/buttons/images/up.svg @@ -128,8 +240,8 @@ - - + + false @@ -141,28 +253,45 @@ - :/buttons/images/right.svg:/buttons/images/right.svg + :/buttons/images/debugger.svg:/buttons/images/debugger.svg - - + + + + false + 0 0 - - - - :/buttons/images/play.svg:/buttons/images/play.svg + :/buttons/images/addressBook.svg:/buttons/images/addressBook.svg - + + + + false + + + + 0 + 0 + + + + + :/buttons/images/install.svg:/buttons/images/install.svg + + + + false @@ -191,105 +320,7 @@ - - - - QFrame::Box - - - LED - - - Qt::AlignCenter - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/notes.svg:/buttons/images/notes.svg - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/left.svg:/buttons/images/left.svg - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/stateManager.svg:/buttons/images/stateManager.svg - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/up.svg:/buttons/images/up.svg - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/center.svg:/buttons/images/center.svg - - - - + false @@ -306,23 +337,6 @@ - - - - false - - - - 0 - 0 - - - - - :/buttons/images/calendar.svg:/buttons/images/calendar.svg - - - @@ -340,71 +354,6 @@ - - - - false - - - - 0 - 0 - - - - - :/buttons/images/reset.svg:/buttons/images/reset.svg - - - - - - - - 0 - 0 - - - - - :/buttons/images/settingsManager.svg:/buttons/images/settingsManager.svg - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/install.svg:/buttons/images/install.svg - - - - - - - false - - - - 0 - 0 - - - - - :/buttons/images/debugger.svg:/buttons/images/debugger.svg - - - diff --git a/qtBuildSystem/Mu/settingsmanager.cpp b/qtBuildSystem/Mu/settingsmanager.cpp index f0b9c4c..abaee31 100644 --- a/qtBuildSystem/Mu/settingsmanager.cpp +++ b/qtBuildSystem/Mu/settingsmanager.cpp @@ -23,16 +23,10 @@ SettingsManager::SettingsManager(QWidget* parent) : ui->homeDirectory->setText(settings->value("resourceDirectory", "").toString()); ui->showOnscreenKeys->setChecked(!settings->value("hideOnscreenKeys", false).toBool()); - ui->feature128mbRam->setChecked(settings->value("feature128mbRam", false).toBool()); ui->featureFastCpu->setChecked(settings->value("featureFastCpu", false).toBool()); - ui->featureHybridCpu->setChecked(settings->value("featureHybridCpu", false).toBool()); - ui->featureCustomFb->setChecked(settings->value("featureCustomFb", false).toBool()); ui->featureSyncedRtc->setChecked(settings->value("featureSyncedRtc", false).toBool()); ui->featureHleApis->setChecked(settings->value("featureHleApis", false).toBool()); - ui->featureEmuHonest->setChecked(settings->value("featureEmuHonest", false).toBool()); - ui->featureExtraKeys->setChecked(settings->value("featureExtraKeys", false).toBool()); ui->featureDurable->setChecked(settings->value("featureDurable", false).toBool()); - ui->featureSoundStreams->setChecked(settings->value("featureSoundStreams", false).toBool()); setKeySelectorState(-1); updateButtonKeys(); @@ -66,9 +60,6 @@ void SettingsManager::setKeySelectorState(int8_t key){ void SettingsManager::updateButtonKeys(){ ui->selectUpKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_UP) + "Key", '\0').toInt()).toString()); ui->selectDownKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_DOWN) + "Key", '\0').toInt()).toString()); - ui->selectLeftKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_LEFT) + "Key", '\0').toInt()).toString()); - ui->selectRightKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_RIGHT) + "Key", '\0').toInt()).toString()); - ui->selectCenterKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_CENTER) + "Key", '\0').toInt()).toString()); ui->selectCalendarKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_CALENDAR) + "Key", '\0').toInt()).toString()); ui->selectAddressBookKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_ADDRESS) + "Key", '\0').toInt()).toString()); ui->selectTodoKey->setText(QKeySequence(settings->value("palmButton" + QString::number(EmuWrapper::BUTTON_TODO) + "Key", '\0').toInt()).toString()); @@ -99,18 +90,6 @@ void SettingsManager::on_selectDownKey_clicked(){ setKeySelectorState(EmuWrapper::BUTTON_DOWN); } -void SettingsManager::on_selectLeftKey_clicked(){ - setKeySelectorState(EmuWrapper::BUTTON_LEFT); -} - -void SettingsManager::on_selectRightKey_clicked(){ - setKeySelectorState(EmuWrapper::BUTTON_RIGHT); -} - -void SettingsManager::on_selectCenterKey_clicked(){ - setKeySelectorState(EmuWrapper::BUTTON_CENTER); -} - void SettingsManager::on_selectCalendarKey_clicked(){ setKeySelectorState(EmuWrapper::BUTTON_CALENDAR); } @@ -140,22 +119,10 @@ void SettingsManager::on_clearKeyBind_clicked(){ } } -void SettingsManager::on_feature128mbRam_toggled(bool checked){ - settings->setValue("feature128mbRam", checked); -} - void SettingsManager::on_featureFastCpu_toggled(bool checked){ settings->setValue("featureFastCpu", checked); } -void SettingsManager::on_featureHybridCpu_toggled(bool checked){ - settings->setValue("featureHybridCpu", checked); -} - -void SettingsManager::on_featureCustomFb_toggled(bool checked){ - settings->setValue("featureCustomFb", checked); -} - void SettingsManager::on_featureSyncedRtc_toggled(bool checked){ settings->setValue("featureSyncedRtc", checked); } @@ -164,18 +131,6 @@ void SettingsManager::on_featureHleApis_toggled(bool checked){ settings->setValue("featureHleApis", checked); } -void SettingsManager::on_featureEmuHonest_toggled(bool checked){ - settings->setValue("featureEmuHonest", checked); -} - -void SettingsManager::on_featureExtraKeys_toggled(bool checked){ - settings->setValue("featureExtraKeys", checked); -} - -void SettingsManager::on_featureSoundStreams_toggled(bool checked){ - settings->setValue("featureSoundStreams", checked); -} - void SettingsManager::on_featureDurable_toggled(bool checked){ settings->setValue("featureDurable", checked); } diff --git a/qtBuildSystem/Mu/settingsmanager.h b/qtBuildSystem/Mu/settingsmanager.h index 4b1e0f8..6ddbe78 100644 --- a/qtBuildSystem/Mu/settingsmanager.h +++ b/qtBuildSystem/Mu/settingsmanager.h @@ -33,9 +33,6 @@ private slots: void on_selectUpKey_clicked(); void on_selectDownKey_clicked(); - void on_selectLeftKey_clicked(); - void on_selectRightKey_clicked(); - void on_selectCenterKey_clicked(); void on_selectCalendarKey_clicked(); void on_selectAddressBookKey_clicked(); void on_selectTodoKey_clicked(); @@ -43,15 +40,9 @@ private slots: void on_selectPowerKey_clicked(); void on_clearKeyBind_clicked(); - void on_feature128mbRam_toggled(bool checked); void on_featureFastCpu_toggled(bool checked); - void on_featureHybridCpu_toggled(bool checked); - void on_featureCustomFb_toggled(bool checked); void on_featureSyncedRtc_toggled(bool checked); void on_featureHleApis_toggled(bool checked); - void on_featureEmuHonest_toggled(bool checked); - void on_featureExtraKeys_toggled(bool checked); - void on_featureSoundStreams_toggled(bool checked); void on_featureDurable_toggled(bool checked); private: diff --git a/qtBuildSystem/Mu/settingsmanager.ui b/qtBuildSystem/Mu/settingsmanager.ui index 95dcea4..eca4b5c 100644 --- a/qtBuildSystem/Mu/settingsmanager.ui +++ b/qtBuildSystem/Mu/settingsmanager.ui @@ -59,7 +59,7 @@ - Set Keyboard Keys: + Set Palm m515 Keyboard Map: @@ -72,8 +72,8 @@ - - + + 0 @@ -85,7 +85,7 @@ - :/buttons/images/addressBook.svg:/buttons/images/addressBook.svg + :/buttons/images/notes.svg:/buttons/images/notes.svg @@ -100,7 +100,7 @@ - + MAXSIZE @@ -111,24 +111,7 @@ - - - - - 0 - 0 - - - - MAXSIZE - - - - :/buttons/images/calendar.svg:/buttons/images/calendar.svg - - - - + @@ -145,23 +128,6 @@ - - - - - 0 - 0 - - - - MAXSIZE - - - - :/buttons/images/notes.svg:/buttons/images/notes.svg - - - @@ -180,35 +146,36 @@ - + + + + 0 + 0 + + MAXSIZE - :/buttons/images/left.svg:/buttons/images/left.svg + :/buttons/images/addressBook.svg:/buttons/images/addressBook.svg - - + + + + + 0 + 0 + + MAXSIZE - :/buttons/images/right.svg:/buttons/images/right.svg - - - - - - - MAXSIZE - - - - :/buttons/images/center.svg:/buttons/images/center.svg + :/buttons/images/calendar.svg:/buttons/images/calendar.svg @@ -239,34 +206,6 @@ - - - - Sync Real Time Clock - - - - - - - ARM Instruction Set(OS 5) - - - - - - - Tell Programs Their Emulated - - - - - - - 128MB RAM - - - @@ -274,38 +213,24 @@ - - - - PWM Audio Streams(OS 5) - - - - + HLE APIs(Speed Hack) - - + + - Extra Dpad Keys(OS 5) - - - - - - - Resizeable Display(HiRes Mode) + Ignore Invalid Behavior - + - Ignore Invalid Behavior + Sync Real Time Clock diff --git a/src/armv5.c b/src/armv5.c deleted file mode 100755 index 4b8542d..0000000 --- a/src/armv5.c +++ /dev/null @@ -1,297 +0,0 @@ -#include -#include - -#include "emulator.h" -#include "hardwareRegisters.h" -#include "memoryAccess.h" -#include "portability.h" -#include "armv5/CPU.h" -#include "m68k/m68k.h" -#include "debug/sandbox.h" - - -#define ARMV5_CYCLES_PER_OPCODE 2 - - -bool armv5ServiceRequest; - -static ArmCpu armv5Cpu; - - -static Boolean armv5MemoryAccess(ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 size, Boolean write, Boolean privileged, UInt8* fsr){ - //just gonna have ARM and 68k share the same bus for now, ARM may want fonts/bitmaps from ROM - - //Fake ARM 32 bit alignment convention - //0x0XXXXXXX<->0x1XXXXXXX Normal memory access - //0x20000000<->0x3XXXXXXX Mirrored range, realAddress = address - 0x20000000 + 0x00000002 - - //this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the m68k, - //but it allows 16 bit aligned data to be executed from the 68k stack and works as a - //temporary measure until I get MemChunkNew patched correctly - - //while executing wont support non 32 bit alignment regular accesses can for now - /* -#if !defined(EMU_NO_SAFETY) - //size is not a power of two or address isnt aligned to size - if(size & (size - 1) || vaddr & (size - 1)){ - debugLog("ARM attempted unaligned access: address:0x%08X, size:%d\n", vaddr, size); - return false; - } -#endif - */ - - if(vaddr & 0x20000000) - vaddr ^= 0x20000002; - - if(write){ - switch(size){ - case 1: - m68k_write_memory_8(vaddr, *(uint8_t*)buf); - return true; - - case 2: - m68k_write_memory_16(vaddr, SWAP_16(*(uint16_t*)buf)); - return true; - - case 4: - m68k_write_memory_32(vaddr, SWAP_32(*(uint32_t*)buf)); - return true; - - default: - debugLog("Invalid ARMv5 write: address:0x%08X, size:%d\n", vaddr, size * 8); - return false; - } - } - else{ - switch(size){ - case 1: - *(uint8_t*)buf = m68k_read_memory_8(vaddr); - return true; - - case 2: - *(uint16_t*)buf = SWAP_16(m68k_read_memory_16(vaddr)); - return true; - - case 4: - *(uint32_t*)buf = SWAP_32(m68k_read_memory_32(vaddr)); - return true; - - default: - debugLog("Invalid ARMv5 read: address:0x%08X, size:%d\n", vaddr, size * 8); - return false; - } - } -} - -static Boolean armv5Hypercall(ArmCpu* cpu){ - armv5ServiceRequest = true; - return true; -} - -static void armv5EmulErr(ArmCpu* cpu, const char* errStr){ - debugLog("%s\n", errStr); -} - -static void armv5SetFaultAddr(struct ArmCpu* cpu, UInt32 adr, UInt8 faultStatus){ - //TODO -} - -void armv5Reset(void){ - cpuInit(&armv5Cpu, 0x00000000/*PC, set by 68k while emulating*/, armv5MemoryAccess, armv5EmulErr, armv5Hypercall, armv5SetFaultAddr); - armv5ServiceRequest = false; -} - -uint32_t armv5StateSize(void){ - uint32_t size = 0; - - //armv5Cpu - size += sizeof(uint32_t) * 16;//armv5Cpu.regs - size += sizeof(uint32_t) * 2;//armv5Cpu.CPSR / armv5Cpu.SPSR - size += sizeof(uint32_t) * 3 * 6;//armv5Cpu.bank_(usr/svc/abt/und/irq/fiq) - size += sizeof(uint32_t) * 5;//armv5Cpu.extra_regs - size += sizeof(uint16_t) * 3;//armv5Cpu.waiting(Irqs/Fiqs) / armv5Cpu.CPAR - size += sizeof(uint32_t);//armv5Cpu.vectorBase - - //variables - size += sizeof(uint8_t);//armv5ServiceRequest - - return size; -} - -void armv5SaveState(uint8_t* data){ - uint32_t offset = 0; - uint8_t index; - - //armv5Cpu - for(index = 0; index < 16; index++){ - writeStateValue32(data + offset, armv5Cpu.regs[index]); - offset += sizeof(uint32_t); - } - writeStateValue32(data + offset, armv5Cpu.CPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.SPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_usr.R13); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_usr.R14); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_usr.SPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_svc.R13); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_svc.R14); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_svc.SPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_abt.R13); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_abt.R14); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_abt.SPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_und.R13); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_und.R14); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_und.SPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_irq.R13); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_irq.R14); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_irq.SPSR); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_fiq.R13); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_fiq.R14); - offset += sizeof(uint32_t); - writeStateValue32(data + offset, armv5Cpu.bank_fiq.SPSR); - offset += sizeof(uint32_t); - for(index = 0; index < 5; index++){ - writeStateValue32(data + offset, armv5Cpu.extra_regs[index]); - offset += sizeof(uint32_t); - } - writeStateValue16(data + offset, armv5Cpu.waitingIrqs); - offset += sizeof(uint16_t); - writeStateValue16(data + offset, armv5Cpu.waitingFiqs); - offset += sizeof(uint16_t); - writeStateValue16(data + offset, armv5Cpu.CPAR); - offset += sizeof(uint16_t); - writeStateValue32(data + offset, armv5Cpu.vectorBase); - offset += sizeof(uint32_t); - - //variables - writeStateValue8(data + offset, armv5ServiceRequest); - offset += sizeof(uint8_t); -} - -void armv5LoadState(uint8_t* data){ - uint32_t offset = 0; - uint8_t index; - - //armv5Cpu - for(index = 0; index < 16; index++){ - armv5Cpu.regs[index] = readStateValue32(data + offset); - offset += sizeof(uint32_t); - } - armv5Cpu.CPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_usr.R13 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_usr.R14 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_usr.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_svc.R13 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_svc.R14 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_svc.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_abt.R13 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_abt.R14 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_abt.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_und.R13 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_und.R14 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_und.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_irq.R13 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_irq.R14 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_irq.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_fiq.R13 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_fiq.R14 = readStateValue32(data + offset); - offset += sizeof(uint32_t); - armv5Cpu.bank_fiq.SPSR = readStateValue32(data + offset); - offset += sizeof(uint32_t); - for(index = 0; index < 5; index++){ - armv5Cpu.extra_regs[index] = readStateValue32(data + offset); - offset += sizeof(uint32_t); - } - armv5Cpu.waitingIrqs = readStateValue16(data + offset); - offset += sizeof(uint16_t); - armv5Cpu.waitingFiqs = readStateValue16(data + offset); - offset += sizeof(uint16_t); - armv5Cpu.CPAR = readStateValue16(data + offset); - offset += sizeof(uint16_t); - armv5Cpu.vectorBase = readStateValue32(data + offset); - offset += sizeof(uint32_t); - - //variables - armv5ServiceRequest = readStateValue8(data + offset); - offset += sizeof(uint8_t); -} - -uint32_t armv5GetRegister(uint8_t reg){ - return cpuGetRegExternal(&armv5Cpu, reg); -} - -void armv5SetRegister(uint8_t reg, uint32_t value){ - cpuSetReg(&armv5Cpu, reg, value); -} - -int32_t armv5Execute(int32_t cycles){ -#if defined(EMU_DEBUG) - uint32_t ranOpcodes = 0; -#endif - - armv5ServiceRequest = false; - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) - sandboxSetCpuArch(SANDBOX_CPU_ARCH_ARMV5); -#endif - - //execution aborts on hypercall to request things from the m68k - while(cycles > 0 && !armv5ServiceRequest){ - cpuCycleNoIrqs(&armv5Cpu); - cycles -= ARMV5_CYCLES_PER_OPCODE; - -#if defined(EMU_DEBUG) - ranOpcodes++; -#endif - } - -#if defined(EMU_DEBUG) - debugLog("%d ARM opcodes have been ran\n", ranOpcodes); -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) - sandboxSetCpuArch(SANDBOX_CPU_ARCH_M68K); -#endif - - return cycles; -} - -uint32_t armv5GetPc(void){ - return cpuGetRegExternal(&armv5Cpu, 15/*pc*/); -} diff --git a/src/armv5.h b/src/armv5.h deleted file mode 100755 index d59649d..0000000 --- a/src/armv5.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef ARMV5_H -#define ARMV5_H - -#include -#include - -extern bool armv5ServiceRequest; - -void armv5Reset(void); -uint32_t armv5StateSize(void); -void armv5SaveState(uint8_t* data); -void armv5LoadState(uint8_t* data); - -uint32_t armv5GetRegister(uint8_t reg); -void armv5SetRegister(uint8_t reg, uint32_t value); -int32_t armv5Execute(int32_t cycles);//returns cycles left - -uint32_t armv5GetPc(void);//only for debugging - -#endif diff --git a/src/armv5/CPU.c b/src/armv5/CPU.c deleted file mode 100755 index b535622..0000000 --- a/src/armv5/CPU.c +++ /dev/null @@ -1,2745 +0,0 @@ -/* - TODO: - - -verify DSP adds, subtracts, multiplies - -MCR/MRC to R15 is special - handle it - - TOTOv6: - -Endianness support (incl for pagetable lookups) - -*/ - - -#include "CPU.h" -#include "math64.h" - - - -#define ARM_MODE_2_REG 0x0F -#define ARM_MODE_2_WORD 0x10 -#define ARM_MODE_2_LOAD 0x20 -#define ARM_MODE_2_T 0x40 -#define ARM_MODE_2_INV 0x80 - -#define ARM_MODE_3_REG 0x0F //flag for actual reg number used -#define ARM_MODE_3_TYPE 0x30 //flag for the below 4 types -#define ARM_MODE_3_H 0x00 -#define ARM_MODE_3_SH 0x10 -#define ARM_MODE_3_SB 0x20 -#define ARM_MODE_3_D 0x30 -#define ARM_MODE_3_LOAD 0x40 -#define ARM_MODE_3_INV 0x80 - -#define ARM_MODE_4_REG 0x0F -#define ARM_MODE_4_INC 0x10 //incr or decr -#define ARM_MODE_4_BFR 0x20 //before or after -#define ARM_MODE_4_WBK 0x40 //writeback? -#define ARM_MODE_4_S 0x80 //S bit set? - -#define ARM_MODE_5_REG 0x0F -#define ARM_MODE_5_ADD_BEFORE 0x10 //add value before? -#define ARM_MODE_5_ADD_AFTER 0x20 //add value after? -#define ARM_MODE_5_IS_OPTION 0x40 //is value option (as opposed to offset) -#define ARM_MODE_5_RR 0x80 //MCRR or MRCC instrs - - -#ifdef ARM_V6 - - #define ARM_CPSR_UND_AND (~(ARM_SR_M | ARM_SR_E)) - #define ARM_CPSR_UND_ORR (ARM_SR_I | ARM_SR_MODE_UND | (cpu->EEE ? ARM_SR_E : 0)) - - #define ARM_CPSR_SWI_AND (~(ARM_SR_M | ARM_SR_E)) - #define ARM_CPSR_SWI_ORR (ARM_SR_I | ARM_SR_MODE_SVC | (cpu->EEE ? ARM_SR_E : 0)) - - #define ARM_CPSR_PAB_AND (~(ARM_SR_M | ARM_SR_E)) - #define ARM_CPSR_PAB_ORR (ARM_SR_I | ARM_SR_A | ARM_SR_MODE_ABT | (cpu->EEE ? ARM_SR_E : 0)) - - #define ARM_CPSR_DAB_AND (~(ARM_SR_M | ARM_SR_E)) - #define ARM_CPSR_DAB_ORR (ARM_SR_I | ARM_SR_A | ARM_SR_MODE_ABT | (cpu->EEE ? ARM_SR_E : 0)) - - #define ARM_CPSR_IRQ_AND (~(ARM_SR_M | ARM_SR_E)) - #define ARM_CPSR_IRQ_ORR (ARM_SR_I | ARM_SR_A | ARM_SR_MODE_IRQ | (cpu->EEE ? ARM_SR_E : 0)) - - #define ARM_CPSR_FIQ_AND (~(ARM_SR_M | ARM_SR_E)) - #define ARM_CPSR_FIQ_ORR (ARM_SR_I | ARM_SR_A | ARM_SR_F | ARM_SR_MODE_IRQ | (cpu->EEE ? ARM_SR_E : 0)) - - -#else - - #define ARM_CPSR_UND_AND (~ARM_SR_M) - #define ARM_CPSR_UND_ORR (ARM_SR_I | ARM_SR_MODE_UND) - - #define ARM_CPSR_SWI_AND (~ARM_SR_M) - #define ARM_CPSR_SWI_ORR (ARM_SR_I | ARM_SR_MODE_SVC) - - #define ARM_CPSR_PAB_AND (~ARM_SR_M) - #define ARM_CPSR_PAB_ORR (ARM_SR_I | ARM_SR_MODE_ABT) - - #define ARM_CPSR_DAB_AND (~ARM_SR_M) - #define ARM_CPSR_DAB_ORR (ARM_SR_I | ARM_SR_MODE_ABT) - - #define ARM_CPSR_IRQ_AND (~ARM_SR_M) - #define ARM_CPSR_IRQ_ORR (ARM_SR_I | ARM_SR_MODE_IRQ) - - #define ARM_CPSR_FIQ_AND (~ARM_SR_M) - #define ARM_CPSR_FIQ_ORR (ARM_SR_I | ARM_SR_F | ARM_SR_MODE_FIQ) - - -#endif - - - -static _INLINE_ UInt32 cpuPrvROR(UInt32 val, UInt8 ror){ - - if(ror) val = (val >> (UInt32)ror) | (val << (UInt32)(32 - ror)); - - return val; -} - -static _INLINE_ void cpuPrvSetPC(ArmCpu* cpu, UInt32 pc){ - cpu->regs[15] = pc &~ 1UL; - cpu->CPSR &=~ ARM_SR_T; - if(pc & 1) cpu->CPSR |= ARM_SR_T; - else if(pc & 2) cpu->emulErrF(cpu, "Attempt to branch to non-word-aligned ARM address"); -} - -static _INLINE_ UInt32 cpuPrvGetReg(ArmCpu* cpu, UInt8 reg, Boolean wasT, Boolean specialPC){ - - UInt32 ret; - - ret = cpu->regs[reg]; - if(reg == 15) ret += (wasT) ? 2 : 4; - if(wasT && specialPC) ret &=~ 3UL; - - return ret; -} - -static _INLINE_ void cpuPrvSetReg(ArmCpu* cpu, UInt8 reg, UInt32 val){ - - if(reg == 15){ - cpuPrvSetPC(cpu, val); - } - else cpu->regs[reg] = val; -} - -UInt32 cpuGetRegExternal(ArmCpu* cpu, UInt8 reg){ - - if(reg < 16){ // real reg - - return (reg == 15) ? (cpu->regs[15] + ((cpu->CPSR & ARM_SR_T) ? 1 : 0)) : cpu->regs[reg]; - } - else if(reg == ARM_REG_NUM_CPSR){ - - return cpu->CPSR; - } - else if(reg == ARM_REG_NUM_SPSR){ - - return cpu->SPSR; - } - - return 0; -} - -void cpuSetReg(ArmCpu* cpu, UInt8 reg, UInt32 val){ - - cpuPrvSetReg(cpu, reg, val); -} - -#define cpuSetReg _DO_NOT_USE_cpuSetReg_IN_CPU_C_ - -static ArmBankedRegs* cpuPrvModeToBankedRegsPtr(ArmCpu* cpu, UInt8 mode){ - - switch(mode){ - case ARM_SR_MODE_USR: - case ARM_SR_MODE_SYS: - return &cpu->bank_usr; - - case ARM_SR_MODE_FIQ: - return &cpu->bank_fiq; - - case ARM_SR_MODE_IRQ: - return &cpu->bank_irq; - - case ARM_SR_MODE_SVC: - return &cpu->bank_svc; - - case ARM_SR_MODE_ABT: - return &cpu->bank_abt; - - case ARM_SR_MODE_UND: - return &cpu->bank_und; - - default: - cpu->emulErrF(cpu, "Invalid mode passed to cpuPrvModeToBankedRegsPtr()"); - return NULL; - } -} - -static void cpuPrvSwitchToMode(ArmCpu* cpu, UInt8 newMode){ - - ArmBankedRegs *saveTo, *getFrom; - UInt32 tmp; - UInt8 i, curMode; - - curMode = cpu->CPSR & ARM_SR_M; - if(curMode == newMode) return; - - if(curMode == ARM_SR_MODE_FIQ || newMode == ARM_SR_MODE_FIQ){ //bank/unbank the fiq regs - - for(i = 0; i < 5; i++){ - tmp = cpu->extra_regs[i]; - cpu->extra_regs[i] = cpu->regs[i + 8]; - cpu->regs[i + 8] = tmp; - } - } - - saveTo = cpuPrvModeToBankedRegsPtr(cpu, curMode); - getFrom = cpuPrvModeToBankedRegsPtr(cpu, newMode); - - if(saveTo == getFrom) return; //we're done if no regs to switch [this happens if we switch user<->system] - - saveTo->R13 = cpu->regs[13]; - saveTo->R14 = cpu->regs[14]; - saveTo->SPSR = cpu->SPSR; - - cpu->regs[13] = getFrom->R13; - cpu->regs[14] = getFrom->R14; - cpu->SPSR = getFrom->SPSR; - - cpu->CPSR = (cpu->CPSR &~ ARM_SR_M) | newMode; -} - -static void cpuPrvException(ArmCpu* cpu, UInt32 vector_pc, UInt32 lr, UInt32 newCPSR){ - - UInt32 cpsr = cpu->CPSR; - - cpuPrvSwitchToMode(cpu, newCPSR & ARM_SR_M); - cpu->CPSR = newCPSR; - cpu->SPSR = cpsr; - cpu->regs[14] = lr; - cpu->regs[15] = vector_pc; -} - -static void cpuPrvHandleMemErr(ArmCpu* cpu, UInt32 addr, _UNUSED_ UInt8 sz, _UNUSED_ Boolean write, Boolean instrFetch, UInt8 fsr){ - - if(cpu->setFaultAdrF) cpu->setFaultAdrF(cpu, addr, fsr); - - if(instrFetch){ - - //handle prefetch abort - cpuPrvException(cpu, cpu->vectorBase + ARM_VECTOR_OFFT_P_ABT, cpu->regs[15] + 4, ARM_CPSR_PAB_ORR | (cpu->CPSR & ARM_CPSR_PAB_AND)); - } - else{ - //handle data abort - cpuPrvException(cpu, cpu->vectorBase + ARM_VECTOR_OFFT_D_ABT, cpu->regs[15] + ((cpu->CPSR & ARM_SR_T) ? 6 : 4) /* instr + 8*/, ARM_CPSR_DAB_ORR | (cpu->CPSR & ARM_CPSR_DAB_AND)); - } -} - -static _INLINE_ UInt32 cpuPrvArmAdrMode_1(ArmCpu* cpu, UInt32 instr, Boolean* carryOutP, Boolean wasT, Boolean specialPC){ - - UInt32 ret; - UInt8 v, a; - Boolean co = ((cpu->CPSR & ARM_SR_C) != 0); //be default carry out = C flag - - if(instr & 0x02000000UL){ //immed - - v = (instr >> 7) & 0x1E; - ret = cpuPrvROR(instr & 0xFF, v); - if (v) co = ((ret & 0x80000000UL) != 0); - } - else{ - v = (instr >> 5) & 3; //get shift type - ret = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //get Rm - - if(instr & 0x00000010UL){ //reg with reg shift - - a = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); //get the relevant part of Rs, we only care for lower 8 bits (note we use uint8 for this) - - if(a != 0){ //else all is already good - - switch(v){ //perform shifts - - case 0: //LSL - - if(a < 32){ - co = (ret >> (32 - a)) & 1; - ret = ret << a; - } - else if(a == 32){ - co = ret & 1; - ret = 0; - } - else{ // >32 - co = 0; - ret = 0; - } - break; - - case 1: //LSR - - if(a < 32){ - co = (ret >> (a - 1)) & 1; - ret = ret >> a; - } - else if(a == 32){ - co = ret >> 31; - ret = 0; - } - else{ // >32 - co = 0; - ret = 0; - } - break; - - case 2: //ASR - - if(a < 32){ - co = (ret >> (a - 1)) & 1; - ret = ((Int32)ret >> a); - } - else{ // >=32 - if(ret & 0x80000000UL){ - co = 1; - ret = 0xFFFFFFFFUL; - } - else{ - co = 0; - ret = 0; - } - } - break; - - case 3: //ROR - - if(a == 0){ - - //nothing... - } - else{ - a &= 0x1F; - if(a == 0){ - co = ret >> 31; - } - else{ - co = (ret >> (a - 1)) & 1; - ret = cpuPrvROR(ret, a); - } - } - break; - } - } - } - else{ //reg with immed shift - - a = (instr >> 7) & 0x1F; //get imm - - switch(v){ - - case 0: //LSL - - if(a == 0){ - //nothing - } - else{ - co = (ret >> (32 - a)) & 1; - ret = ret << a; - } - break; - - case 1: //LSR - - if(a == 0){ - co = ret >> 31; - ret = 0; - } - else{ - co = (ret >> (a - 1)) & 1; - ret = ret >> a; - } - break; - - case 2: //ASR - - if(a == 0){ - if(ret & 0x80000000UL){ - co = 1; - ret = 0xFFFFFFFFUL; - } - else{ - co = 0; - ret = 0; - } - } - else{ - co = (ret >> (a - 1)) & 1; - if(ret & 0x80000000UL){ - ret = (ret >> a) | (0xFFFFFFFFUL << (32 - a)); - } - else{ - ret = ret >> a; - } - } - break; - - case 3: //ROR or RRX - - if(a == 0){ //RRX - a = co; - co = ret & 1; - ret = ret >> 1; - if(a) ret |= 0x80000000UL; - } - else{ - co = (ret >> (a - 1)) & 1; - ret = cpuPrvROR(ret, a); - } - break; - } - } - } - - *carryOutP = co; - return ret; -} - -/* -idea: - -addbefore is what to add to add to base reg before addressing, addafter is what to add after. we ALWAYS do writeback, but if not requested by instr, it will be zero - -for [Rx, 5] baseReg = x addbefore = 5 addafter = -5 -for [Rx, 5]! baseReg = x addBefore = 0 addafter = 0 -for [Rx], 5 baseReg = x addBefore = 0 addAfter = 5 - -t = T bit (LDR vs LDRT) - -baseReg is returned in return val along with flags: - - -ARM_MODE_2_REG is mask for reg -ARM_MODE_2_WORD is flag for word access -ARM_MODE_2_LOAD is flag for load -ARM_MODE_2_INV is flag for invalid instructions -ARM_MODE_2_T is flag for T - - -*/ -static _INLINE_ UInt8 cpuPrvArmAdrMode_2(ArmCpu* cpu, UInt32 instr, UInt32* addBeforeP, UInt32* addWritebackP, Boolean wasT, Boolean specialPC){ - - UInt32 val; - UInt8 reg, shift; - - reg = (instr >> 16) & 0x0F; - - if(!(instr & 0x02000000UL)){ //immediate - val = instr & 0xFFFUL; - } - else{ //[scaled] register - - if(instr & 0x00000010UL) reg |= ARM_MODE_2_INV; //invalid instrucitons need to be reported - - val = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - shift = (instr >> 7) & 0x1F; - switch((instr >> 5) & 3){ - - case 0: //LSL - val <<= shift; - break; - - case 1: //LSR - val = shift ? (val >> shift) : 0; - break; - - case 2: //ASR - val = shift ? (UInt32)((((Int32)val) >> shift)) : ((val & 0x80000000UL) ? 0xFFFFFFFFUL : 0x00000000UL); - break; - - case 3: //ROR/RRX - if(shift){ - val = cpuPrvROR(val, shift); - } - else{ //RRX - val = val >> 1; - if(cpu->CPSR & ARM_SR_C) val |= 0x80000000UL; - } - } - - } - - if(!(instr & 0x00400000UL)) reg |= ARM_MODE_2_WORD; - if(instr & 0x00100000UL) reg |= ARM_MODE_2_LOAD; - if(!(instr & 0x00800000UL)) val = -val; - if(!(instr & 0x01000000UL)){ - *addBeforeP = 0; - *addWritebackP = val; - - if(instr & 0x00200000UL) reg |= ARM_MODE_2_T; - } - else if(instr & 0x00200000UL){ - *addBeforeP = val; - *addWritebackP = val; - } - else{ - *addBeforeP = val; - *addWritebackP = 0; - } - - return reg; -} - - -/* -same comments as for addr mode 2 apply - -#define ARM_MODE_3_REG 0x0F //flag for actual reg number used -#define ARM_MODE_3_TYPE 0x30 //flag for the below 4 types -#define ARM_MODE_3_H 0x00 -#define ARM_MODE_3_SH 0x10 -#define ARM_MODE_3_SB 0x20 -#define ARM_MODE_3_D 0x30 -#define ARM_MODE_3_LOAD 0x40 -#define ARM_MODE_3_INV 0x80 -*/ - -static _INLINE_ UInt8 cpuPrvArmAdrMode_3(ArmCpu* cpu, UInt32 instr, UInt32* addBeforeP, UInt32* addWritebackP, Boolean wasT, Boolean specialPC){ - - UInt32 val; - UInt8 reg; - Boolean S, H, L; - - reg = (instr >> 16) & 0x0F; - - if(instr & 0x00400000UL){ //immediate - val = ((instr >> 4) & 0xF0) | (instr & 0x0F); - } - else{ - if(instr & 0x00000F00UL) reg |= ARM_MODE_3_INV; //bits 8-11 must be 1 always - val = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - } - - - L = (instr & 0x00100000UL) != 0; - H = (instr & 0x00000020UL) != 0; - S = (instr & 0x00000040UL) != 0; - - if(S && H){ - reg |= ARM_MODE_3_SH; - } - else if(S){ - reg |= ARM_MODE_3_SB; - } - else if(H){ - reg |= ARM_MODE_3_H; - } - else{ - reg |= ARM_MODE_3_INV; //S == 0 && H == 0 is invalid mode 3 operation - } - - if((instr & 0x00000090UL) != 0x00000090UL) reg |= ARM_MODE_3_INV; //bits 4 and 7 must be 1 always - - if(S && !L){ //LDRD/STRD is encoded thusly - - reg = (reg &~ ARM_MODE_3_TYPE) | ARM_MODE_3_D; - L = !H; - } - if(L) reg |= ARM_MODE_3_LOAD; - if(!(instr & 0x00800000UL)) val = -val; - if(!(instr & 0x01000000UL)){ - *addBeforeP = 0; - *addWritebackP = val; - - if(instr & 0x00200000UL) reg |= ARM_MODE_3_INV; //W must be 0 in this case, else unpredictable (in this case - invalid instr) - } - else if(instr & 0x00200000UL){ - *addBeforeP = val; - *addWritebackP = val; - } - else{ - *addBeforeP = val; - *addWritebackP = 0; - } - - return reg; -} - -/* - #define ARM_MODE_4_REG 0x0F - #define ARM_MODE_4_INC 0x10 //incr or decr - #define ARM_MODE_4_BFR 0x20 //after or before - #define ARM_MODE_4_WBK 0x40 //writeback? - #define ARM_MODE_4_S 0x80 //S bit set? -*/ - -static UInt8 cpuPrvArmAdrMode_4(_UNUSED_ ArmCpu* cpu, UInt32 instr, UInt16* regs){ - - UInt8 reg; - - - *regs = instr; - - reg = (instr >> 16) & 0x0F; - if(instr & 0x00400000UL) reg |= ARM_MODE_4_S; - if(instr & 0x00200000UL) reg |= ARM_MODE_4_WBK; - if(instr & 0x00800000UL) reg |= ARM_MODE_4_INC; - if(instr & 0x01000000UL) reg |= ARM_MODE_4_BFR; - - return reg; -} - -/* -#define ARM_MODE_5_REG 0x0F -#define ARM_MODE_5_ADD_BEFORE 0x10 //add value before? -#define ARM_MODE_5_ADD_AFTER 0x20 //add value after? -#define ARM_MODE_5_IS_OPTION 0x40 //is value option (as opposed to offset) -#define ARM_MODE_5_RR 0x80 - -*/ -static _INLINE_ UInt8 cpuPrvArmAdrMode_5(_UNUSED_ ArmCpu* cpu, UInt32 instr, UInt32* valP){ - - UInt32 val; - UInt8 reg; - - - val = instr & 0xFF; - reg = (instr >> 16) & 0x0F; - - if(!(instr & 0x01000000UL)){ //unindexed or postindexed - - if(instr & 0x00200000UL){ //postindexed - - reg |= ARM_MODE_5_ADD_AFTER; - } - else{ //unindexed - - if(!(instr & 0x00800000UL)) reg |= ARM_MODE_5_RR; //U must be 1 for unindexed, else it is MCRR/MRCC - reg |= ARM_MODE_5_IS_OPTION; - } - } - else{ //offset or preindexed - - reg |= ARM_MODE_5_ADD_BEFORE; - - if(instr & 0x00200000UL){ //preindexed - - reg |= ARM_MODE_5_ADD_AFTER; - } - } - - if(!(reg & ARM_MODE_5_IS_OPTION)){ - - val = val << 2; - if(!(instr & 0x00800000UL)) val = -val; - } - - *valP = val; - return reg; -} - -static _INLINE_ void cpuPrvSetPSR(ArmCpu* cpu, UInt8 mask, Boolean privileged, Boolean R, UInt32 val){ - - if(R){ //setting SPSR in sys or usr mode is no harm since they arent used, so just do it without any checks - - cpu->SPSR = val; - } - else{ - - UInt32 newCPSR = cpu->CPSR; - - if(privileged){ - if(mask & 1){ - - cpuPrvSwitchToMode(cpu, val & ARM_SR_M); - newCPSR = (newCPSR & 0xFFFFFF00UL) | (val & 0x000000FFUL); - } - if(mask & 2) newCPSR = (newCPSR & 0xFFFF00FFUL) | (val & 0x0000FF00UL); - if(mask & 4) newCPSR = (newCPSR & 0xFF00FFFFUL) | (val & 0x00FF0000UL); - } - if(mask & 8) newCPSR = (newCPSR & 0x00FFFFFFUL) | (val & 0xFF000000UL); - - cpu->CPSR = newCPSR; - } -} - -static _INLINE_ Boolean cpuPrvSignedAdditionOverflows(UInt32 a, UInt32 b, UInt32 sum){ - - return ((a ^ b ^ 0x80000000UL) & (a ^ sum)) >> 31; -} - -static _INLINE_ Boolean cpuPrvSignedSubtractionOverflows(UInt32 a, UInt32 b, UInt32 diff){ //diff = a - b - - return ((a ^ b) & (a ^ diff)) >> 31; -} - -static _INLINE_ UInt32 cpuPrvMedia_signedSaturate32(UInt32 sign){ - - return (sign & 0x80000000UL) ? 0xFFFFFFFFUL : 0; -} - -#ifdef ARM_V6 - - static _INLINE_ UInt32 cpuPrvMedia_sxtb(UInt8 v){ - - UInt32 r = v; - if(v & 0x80) r |= 0xFFFFFF00UL; - - return r; - } - - static _INLINE_ UInt32 cpuPrvMedia_uxtb(UInt8 v){ - - UInt32 r = v; - - return r; - } - - static _INLINE_ UInt32 cpuPrvMedia_sxth(UInt16 v){ - - UInt32 r = v; - if(v & 0x8000UL) r |= 0xFFFF0000UL; - - return r; - } - - static _INLINE_ UInt32 cpuPrvMedia_uxth(UInt16 v){ - - UInt32 r = v; - - return r; - } - - static _INLINE_ UInt32 cpuPrvMedia_sxt16(UInt32 v){ - - if(v & 0x00800000UL){ - v |= 0xFF000000UL; - } - else{ - v &=~ 0xFF000000UL; - } - - if(v & 0x00000080UL){ - v |= 0x0000FF00UL; - } - else{ - v &=~ 0x0000FF00UL; - } - return v; - } - - static _INLINE_ UInt32 cpuPrvMedia_uxt16(UInt32 v){ - - v &=~ 0xFF00FF00UL; - - return v; - } - - static _INLINE_ UInt32 cpuPrvMedia_dualAdd(UInt32 a, UInt32 b){ //3 ands, 2 ads, 1 sub - - UInt32 sum = a + b; - sum -= (((a & 0xFFFFUL) + (b & 0xFFFFUL)) & 0xFFFF0000UL); //think about it...it should work... - - return sum; - } - - static _INLINE_ UInt32 cpuPrvMedia_SignedSat(UInt32 val, UInt8 from_bits, UInt8 to_bits){ //returns value. [orred with 0x80000000UL to indicate sat was done] - - UInt32 check_mask, top_in; - - if(from_bits <= to_bits) return val; //no saturation needed - - top_in = (1UL << (from_bits - 1)); - check_mask = (1UL << to_bits) - (1UL << from_bits); - - if(val & top_in){ //input was negative - - if((val & check_mask) != check_mask){ //saturate - - val = top_in | 0x80000000UL; - } - } - else{ - - if(val & check_mask){ //saturate - - val = (top_in - 1) | 0x80000000UL; - } - } - - - return val; - } - - static _INLINE_ Boolean cpuPrvMediaInstrs(ArmCpu* cpu, UInt32 instr, Boolean wasT, Boolean specialPC){ - - UInt64 v64; - UInt32 v32a, v32b, v32c, v32d; - Boolean vB = false; - UInt8 v8a, v8b; - UInt16 v16; - - switch((instr >> 20) & 0x1F){ - - case 0: //parrallel addition/subtraction signed - case 1: - case 2: - case 3: - - //TODO - break; - - case 4: //parrallel addition/subtraction unsigned - case 5: - case 6: - case 7: - - //TODO - break; - - case 8: //packing/unpacking/saturation/reversal - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - - v8a = (instr >> 16) & 0x0F; - v8b = (instr >> 5) & 7; - switch((instr >> 20) & 7){ - - case 0: switch(v8b){ - - case 0: //PKH - case 2: - case 4: - case 6: - - v32a = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); //Rn - v32b = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //Rm - v8a = (instr >> 7) & 0x1F; - if(instr & 0x00000040UL){ //ASR - - if(!v8a) v8a = 32; - v32b = (((Int32)v32b) >> v8a); - - v32c = (v32b & 0xFFFFUL) | (v32a & 0xFFFF0000UL); - } - else{ //LSL - - v32b <<= v8a; - v32c = (v32a & 0xFFFFUL) | (v32b & 0xFFFF0000UL); - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32c); - break; - - case 3: //SXTAB16 SXTB16 - - vB = true; //sign extend - goto xt16; - - case 5: //SEL - - v32a = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); //Rn - v32b = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //Rm - - v32c = 0; - if(cpu->CPSR & ARM_SR_GE_0) v32c |= 0x000000FFUL; - if(cpu->CPSR & ARM_SR_GE_1) v32c |= 0x0000FF00UL; - if(cpu->CPSR & ARM_SR_GE_2) v32c |= 0x00FF0000UL; - if(cpu->CPSR & ARM_SR_GE_2) v32c |= 0xFF000000UL; - v32c = (v32a & v32c) | (v32b & ~v32c); - - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32c); - break; - - default: - - return false; - } - break; - - case 2: switch(v8b){ - - case 1: //SSAT16 - - //TODO; - break; - - case 3: //SXTAB SXTB - - vB = true; //sign extend - goto xtb; - - case 0: - case 2: - case 4: - case 6: - - goto ssat; - break; - - default: - - return false; - } - break; - - case 3: switch(v8b){ - - case 1: //REV - - //TODO; - break; - - case 3: //SXTAH SXTH - - vB = true; //sign extend - goto xth; - - case 5: //REV16 - - //TOOD; - break; - - case 0: //SSAT - case 2: - case 4: - case 6: - ssat: - //TODO - break; - - default: - - return false; - } - break; - - case 4: //UXTAB16 UXTB16 - if(v8b != 3) return false; - - vB = false; //not sign extend - xt16: - v32a = (v8a == 15) ? 0 : cpuPrvGetReg(cpu, v8a, wasT, specialPC); //Rn - v32b = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //Rm - v32b = cpuPrvROR(v32b, (instr >> 7) & 0x18); - v32b = vB ? cpuPrvMedia_sxt16(v32b) : cpuPrvMedia_uxt16(v32b); - - v32c = cpuPrvMedia_dualAdd(v32a, v32b); - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32a); - break; - - case 6: switch(v8b){ - - case 1: //USAT16 - - //TODO; - break; - - case 3: //UXTAB UXTB - vB = false; //not sign extend - xtb: - v32a = (v8a == 15) ? 0 : cpuPrvGetReg(cpu, v8a, wasT, specialPC); //Rn - v32b = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC) //Rm - v32b = cpuPrvROR(v32b, (instr >> 7) & 0x18); - v32b = vB ? cpuPrvMedia_sxtb(v32b) : cpuPrvMedia_uxtb(v32b); - - v32a += v32b; - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32a); - break; - - case 0: - case 2: - case 4: - case 6: - - goto usat; - - default: - - return false; - } - break; - - case 7: switch(v8b){ - - case 1: //RBIT - - v32a = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - v32b = 0; - v32c = 0x80000000UL; - v32d = 0x00000001UL; - - //faster ways exist, but this is smaller code - for(v8a = 0; v8a < 32; v8a++, v32c >>= 1, v32d <<= 1) if(v32a & v32c) v32b |= v32d; - - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32b); - break; - - case 3: //UXTAH UXTH - - vB = false; //not sign extend - xth: - v32a = (v8a == 15) ? 0 : cpuPrvGetReg(cpu, v8a, wasT, specialPC); //Rn - v32b = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC) //Rm - v32b = cpuPrvROR(v32b, (instr >> 7) & 0x18); - v32b = vB ? cpuPrvMedia_sxth(v32b) : cpuPrvMedia_uxth(v32b); - - v32a += v32b; - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32a); - break; - - case 5: //REVSH - - //TODO; - break; - - case 0: //USAT - case 2: - case 4: - case 6: - usat: - //TODO; - break; - - default: - - return false; - } - break; - - default: - return false; - } - break; - - case 16: //signed multiplies - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - - v8a = (instr >> 12) & 0x0F; - if((instr & 0x00700000UL) == 0x00000000){ //SMLAD, SMUAD, SMLSD, SMUSD - - v32a = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); //Rm - v32b = cpuPrvGetReg(cpu, (instr >> 0) & 0x0F, wasT, specialPC); //Rn - - if(instr & 0x00000020UL) v32a = cpuPrvROR(v32a, 16); - v32c = (Int32)((Int16)(v32a & 0xFFFFUL)) * (Int32)((Int16)(v32b & 0xFFFFUL)); - v32a = (Int32)((Int16)(v32a >> 16)) * (Int32)((Int16)(v32b >> 16)); - v32b = (v8a == 15) ? 0 : cpuPrvGetReg(cpu, v8a, wasT, specialPC); - - if((instr & 0x000000C0UL) == 0x00000000){ //SMLAD, SMUAD - - //now add them and mark Q flag is we overflow - v32d = v32a + v32c; - vB = cpuPrvSignedAdditionOverflows(v32a, v32c, v32d); - } - else if((instr & 0x000000C0UL) == 0x00000040UL){ //SMLSD, SMUSD - - v32d = v32a - v32c; - vB = cpuPrvSignedSubtractionOverflows(v32a, v32c, v32d); - } - else return false; - - v32a = v32d + v32b; - vB = vB || cpuPrvSignedAdditionOverflows(v32d, v32b, v32a); - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32a); - } - else if((instr & 0x00700000UL) == 0x00400000UL){ //SMLALD, SMLSLD - - v64 = u64_from_halves(cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC), cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC)); - v32a = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); //Rm - v32b = cpuPrvGetReg(cpu, (instr >> 0) & 0x0F, wasT, specialPC); //Rn - - if(instr & 0x00000020UL) v32a = cpuPrvROR(v32a, 16); - v32c = (Int32)((Int16)(v32a & 0xFFFFUL)) * (Int32)((Int16)(v32b & 0xFFFFUL)); - v32a = (Int32)((Int16)(v32a >> 16)) * (Int32)((Int16)(v32b >> 16)); - - if((instr & 0x000000C0UL) == 0x00000000){ //SMLALD - - v64 = u64_add(v64, u64_add(u64_xtnd32(u64_32_to_64(v32a)), u64_xtnd32(u64_32_to_64(v32c)))); - } - else if((instr & 0x000000C0UL) == 0x00000040){ //SMLSLD - - v64 = u64_add(v64, u64_sub(u64_xtnd32(u64_32_to_64(v32a)), u64_xtnd32(u64_32_to_64(v32c)))); - } - else return false; - - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, u64_get_hi(v64)); - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, u64_64_to_32(v64)); - } - else if((instr & 0x00700000UL) == 0x00500000UL){ //SMMLA, SMMUL, SMMLS - - v32a = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); //Rm - v32b = cpuPrvGetReg(cpu, (instr >> 0) & 0x0F, wasT, specialPC); //Rn - v32c = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); //Ra - - v64 = u64_smul3232(v32a, v32b); - - if((instr & 0x000000C0UL) == 0x00000000){ //SMMLA, SMMUL - - if(v8a == 15){ //SMMUL - - //nothing to do here - } - else{ //SMMLA - - v64 = u64_add(v64, u64_shl(u64_32_to_64(v32c), 32)); - } - } - else if((instr & 0x000000C0UL) == 0x000000C0){ //SMMLS - - v64 = u64_sub(v64, u64_shl(u64_32_to_64(v32c), 32)); - } - else return false; - - if(instr & 0x00000010UL) v64 = u64_add(v64, u64_32_to_64(0x80000000UL)); //round if requested - - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, u64_get_hi(v64)); - } - else return false; - - if(vB){ //overflow - - cpu->CPSR |= ARM_SR_Q; - } - break; - - case 24: //USAD8 USADA8 - - if(instr & 0x000000E0UL) return false; - - v32a = ((instr & 0x0000F000UL) == 0x0000F000UL) ? 0 : cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); //Ra - v32b = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //Rn - v32c = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); //Rm - - for(v8a = 0; v8a < 4; v8a++){ - v16 = (v32b & 0xFF) - (v32c & 0xFF); - if(v16 & 0x8000U) v16 = -v16; - v32a += v16; - v32b >>= 8; - v32c >>= 8; - } - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, v32a); - break; - - case 26: - case 27: - - vB = true; //sign extend - goto bitfield_extract; - - case 30: - case 31: - - vB = false; //do not sign extend - bitfield_extract: - - if((instr & 0x00000060UL) == 0x00000040){ //unsigned bitfield extract - - v32a = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - v8a = ((instr >> 16) & 0x1F) + 1; - v8b = (instr >> 7) & 0x1F; - v32a >>= v8b; - v32c = 0xFFFFFFFFUL << v8a; - v32a &=~ v32c; - if(vB){ //sign extend - if(v32a & (1UL << (v8a - 1))) v32a |= v32c; - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32a); - } - else return false; - break; - - case 28: - case 29: - if(instr & 0x00000060UL){ - - return false; - } - else{ //BFC BFI - - v8a = 31 - ((instr >> 16) & 0x1F); - v8b = (instr >> 7) & 0x1F; - v32a = 0xFFFFFFFFUL; - v32a >>= v8b; - v32a <<= v8b + v8a; - v32a >>= v8a; - - v32b = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); - v32b &= ~v32a; - - if((instr & 0x0000000FUL) == 0x0000000F){ //BFC - - //bits already clear - } - else{ //BFI - - v32c = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - v32c >>= v8b; - v32c <<= v8b + v8a; - v32c >>= v8a; - v32b |= v32c; - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32b); - } - break; - - default: - - return false; - } - return true; - } -#endif - -static Err cpuPrvExecInstr(ArmCpu* cpu, UInt32 instr, UInt32 instrPC/* lower bit always clear */, Boolean wasT , Boolean privileged, Boolean specialPC/* for thumb*/){ - - Boolean specialInstr = false, usesUsrRegs, execute = false, L, ok; - UInt8 fsr; - - usesUsrRegs = ((cpu->CPSR & ARM_SR_M) == ARM_SR_MODE_USR) || ((cpu->CPSR & ARM_SR_M) == ARM_SR_MODE_SYS); - - //check condition code - { - switch(instr >> 29UL){ - - case 0: //EQ / NE - execute = (cpu->CPSR & ARM_SR_Z) != 0; - break; - - case 1: //CS / CC - execute = (cpu->CPSR & ARM_SR_C) != 0; - break; - - case 2: //MI/PL - execute = (cpu->CPSR & ARM_SR_N) != 0; - break; - - case 3: //VS/VC - execute = (cpu->CPSR & ARM_SR_V) != 0; - break; - - case 4: //HI/LS - execute = (cpu->CPSR & ARM_SR_C) && !(cpu->CPSR & ARM_SR_Z); - break; - - case 5: //GE/LT - execute = !(cpu->CPSR & ARM_SR_N) == !(cpu->CPSR & ARM_SR_V); //check for N == V - break; - - case 6: //GT/LE - execute = !(cpu->CPSR & ARM_SR_N) == !(cpu->CPSR & ARM_SR_V); //check for N == V - execute = execute && !(cpu->CPSR & ARM_SR_Z); //enforce Z==0 - break; - - case 7: - specialInstr = (instr & 0x10000000UL) != 0; - execute = true; - break; - } - if((instr & 0x10000000UL) && !specialInstr) execute = !execute; //invert for inverted conditions - } - - //execute, if needed - if(execute){ - UInt64 v64; - register UInt32 adr, tmp, v32; - UInt32 m32, x32; //non-register 32-bit val - UInt16 v16; - UInt8 va8, vb8 = 0, vc8; - - switch((instr >> 24) & 0x0F){ - - case 0: - case 1: //data processing immediate shift, register shift and misc instrs and mults - if(specialInstr) goto invalid_instr; - - if((instr & 0x00000090UL) == 0x00000090){ //multiplies, extra load/stores (table 3.2) - - if((instr & 0x00000060UL) == 0x00000000){ //swp[b], mult(acc), mult(acc) long - - if(instr & 0x01000000UL){ //SWB/SWPB - - switch((instr >> 20) & 0x0F){ - - case 0: //SWP - - adr = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); - ok = cpu->memF(cpu, &m32, adr, 4, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 4, false, false, fsr); - goto instr_done; - } - tmp = m32; - m32 = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - ok = cpu->memF(cpu, &m32, adr, 4, true, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 4, true, false, fsr); - goto instr_done; - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, tmp); - break; - - case 4: //SWPB - - adr = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); - ok = cpu->memF(cpu, &vc8, adr, 1, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 1, false, false, fsr); - goto instr_done; - } - va8 = vc8; - vc8 = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - ok = cpu->memF(cpu, &vc8, adr, 1, true, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 1, true, false, fsr); - goto instr_done; - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, va8); - break; - - #ifdef ARM_V6 - - /* about exclusives: these are for SMP. we do not have SMP, so for now they always succeed */ - - case 8: //STREX - - if((instr & 0x00000F00UL) != 0x00000F00UL) goto invalid_instr; - - adr = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); - tmp = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - ok = cpu->memF(cpu, &tmp, adr, 4, true, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 4, true, false, fsr); - goto instr_done; - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, 0); //0 -> success - break; - - - case 9: //LDREX - - if((instr & 0x00000F0FUL) != 0x00000F0FUL) goto invalid_instr; - adr = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); - ok = cpu->memF(cpu, &tmp, adr, 4, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 4, false, false, fsr); - goto instr_done; - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, tmp); - break; - - /* these are a v7/v6K thing - we do not bother - case 10: //STREXD - - //TODO - - - case 11: //LDREXD - - //TODO - - - case 12: //STREXB - - //TODO - - - case 13: //LDREXB - - //TODO - - - case 14: //STREXH - - //TODO - - - case 15: //LDREXH - - //TODO - */ - #endif - default: - goto invalid_instr; - } - - } - else switch((instr >> 20) & 0x0F){ //multiplies - - case 0: //MUL - case 1: - - tmp = 0; - if(instr & 0x0000F000UL) goto invalid_instr; - goto mul32; - - - case 2: //MLA - case 3: - - tmp = cpuPrvGetReg(cpu, (instr >> 12 ) & 0x0F, wasT, specialPC); - mul32: - tmp += cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC) * cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, tmp); - if(instr & 0x00100000UL){ //S - - adr = cpu->CPSR &~ (ARM_SR_Z | ARM_SR_N); - if(!tmp) adr |= ARM_SR_Z; - if(tmp & 0x80000000UL) adr |= ARM_SR_N; - cpu->CPSR = adr; - } - goto instr_done; - - #ifdef ARM_V6 - case 4: //UMAAL - - v64 = u64_32_to_64((instr >> 12) & 0x0F); - v64 = u64_add32(v64, (instr >> 16) & 0x0F); - goto mul64; - - - case 6: //MLS - - tmp = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); - tmp *= cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - tmp = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC) - tmp; - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, tmp); - break; - - #endif - case 8: //UMULL - case 9: - case 12: //SMULL - case 13: - - v64 = u64_zero(); - goto mul64; - - case 10: //UMLAL - case 11: - case 14: //SMLAL - case 15: - - v64 = u64_from_halves(cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC), cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC)); - - mul64: - adr = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); - tmp = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); - - v64 = u64_add(v64, (instr & 0x00400000UL) ? u64_smul3232(adr, tmp) : u64_umul3232(adr, tmp)); - - v32 = u64_get_hi(v64); - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, u64_64_to_32(v64)); - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, v32); - - if(instr & 0x00100000UL){ //S - - adr = cpu->CPSR &~ (ARM_SR_Z | ARM_SR_N); - if(u64_isZero(v64)) adr |= ARM_SR_Z; - if(v32 & 0x80000000UL) adr |= ARM_SR_N; - cpu->CPSR = adr; - } - break; - - default: - goto invalid_instr; - } - } - else{ //load/store signed/unsigned byte/halfword/two_words - - UInt32 store[2] = {0,0}; - UInt8* store8 = (UInt8*)store; - UInt16* store16 = (UInt16*)store; - - va8 = cpuPrvArmAdrMode_3(cpu, instr, &m32, &x32, wasT, specialPC); - tmp = m32; - v32 = x32; - if(va8 & ARM_MODE_3_INV ) goto invalid_instr; - adr = cpuPrvGetReg(cpu, va8 & ARM_MODE_3_REG, wasT, specialPC); - - switch(va8 & ARM_MODE_3_TYPE){ - case ARM_MODE_3_H: - case ARM_MODE_3_SH: - vb8 = 2; - break; - - case ARM_MODE_3_SB: - vb8 = 1; - break; - - case ARM_MODE_3_D: - vb8 = 8; - break; - } - if(va8 & ARM_MODE_3_LOAD){ - - ok = cpu->memF(cpu, store, adr + tmp, vb8, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr + tmp, vb8, false, false, fsr); - goto instr_done; - } - if(vb8 == 1){ - tmp = *store8; - if(tmp & 0x80) tmp |= 0xFFFFFF00UL; //sign-extend - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, tmp); - } - else if(vb8 == 2){ - tmp = *store16; - if(((va8 & ARM_MODE_3_TYPE) == ARM_MODE_3_SH) && (tmp & 0x8000UL)) tmp |= 0xFFFF0000UL; - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, tmp); - } - else{ - cpuPrvSetReg(cpu, ((instr >> 12) & 0x0F) + 0, store[0]); - cpuPrvSetReg(cpu, ((instr >> 12) & 0x0F) + 1, store[1]); - } - if(v32) cpuPrvSetReg(cpu, va8 & ARM_MODE_3_REG, v32 + adr); - } - else{ - if(v32){ - v32 += adr; - va8 |= ARM_MODE_3_INV; //re-use flag to mean writeback - } - if(vb8 == 1){ - *store8 = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); - } - else if(vb8 == 2){ - *store16 = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); - } - else{ - store[0] = cpuPrvGetReg(cpu, ((instr >> 12) & 0x0F) + 0, wasT, specialPC); - store[1] = cpuPrvGetReg(cpu, ((instr >> 12) & 0x0F) + 1, wasT, specialPC); - } - adr += tmp; - ok = cpu->memF(cpu, store, adr, vb8, true, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, vb8, true, false, fsr); - goto instr_done; - } - if(va8 & ARM_MODE_3_INV) cpuPrvSetReg(cpu, va8 & ARM_MODE_3_REG, v32); - } - } - goto instr_done; - } - else if((instr & 0x01900000UL) == 0x01000000UL){ //misc instrs (table 3.3) - - tmp = (instr >> 4) & 0x0F; - - switch(tmp){ - - case 0: //move reg to PSR or move PSR to reg - - if((instr & 0x00BF0FFFUL) == 0x000F0000UL){ //move PSR to reg - - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, (instr & 0x00400000UL) ? cpu->SPSR : cpu->CPSR); //access in user and sys mode is undefined. for us that means returning garbage that is currently in "cpu->SPSR" - } - else if((instr & 0x00B0FFF0UL) == 0x0020F000UL){ //move reg to PSR - - cpuPrvSetPSR(cpu, (instr >> 16) & 0x0F, privileged, (instr & 0x00400000UL) !=0, cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC)); - } - else goto invalid_instr; - goto instr_done; - - case 1: //BLX/BX/BXJ or CLZ - case 3: - - if(instr & 0x00400000UL){ //CLZ - - if((instr & 0x0FFF0FF0UL) != 0x016F0F10UL) goto invalid_instr; - tmp = cpuPrvGetReg(cpu, instr &0xF, wasT, specialPC); - adr = 0x80000000UL; - for(va8 = 0; va8 < 32; va8++, adr >>= 1) if(tmp & adr) break; - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, va8); - } - else{ //BL / BLX / BXJ - - if((instr & 0x0FFFFF00UL) != 0x012FFF00UL) goto invalid_instr; - - if((instr & 0x00000030UL) == 0x00000030UL) cpuPrvSetReg(cpu, 14, instrPC + (wasT ? 3 : 4)); //save return value for BLX - cpuPrvSetPC(cpu, cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC)); - } - goto instr_done; - - case 5: //enhanced DSP adds/subtracts - - if(instr & 0x00000F00UL) goto invalid_instr; - tmp = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //Rm - adr = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); //Rn - vb8 = 0; //used as boolead for if saturation happened - switch((instr >> 21) & 3){ //what op? - - case 0: //QADD - - v32 = tmp + adr; - vb8 = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - if(vb8) v32 = cpuPrvMedia_signedSaturate32(adr); - break; - - case 1: //QSUB - - v32 = tmp - adr; - vb8 = cpuPrvSignedAdditionOverflows(tmp, adr, v32); - if(vb8) v32 = cpuPrvMedia_signedSaturate32(tmp); - break; - case 2: //QDADD - - v32 = adr << 1; - vb8 = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - if(vb8) v32 = cpuPrvMedia_signedSaturate32(adr); - adr = v32; - v32 = tmp + adr; - if(cpuPrvSignedAdditionOverflows(adr, tmp, v32)){ - vb8 = 1; - v32 = cpuPrvMedia_signedSaturate32(adr); - } - break; - - case 3: //QDSUB - - v32 = adr << 1; - vb8 = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - if(vb8) v32 = cpuPrvMedia_signedSaturate32(adr); - adr = v32; - v32 = tmp + adr; - if(cpuPrvSignedAdditionOverflows(adr, tmp, v32)){ - vb8 = 1; - v32 = cpuPrvMedia_signedSaturate32(adr); - } - break; - - default: - v32 = 0; //make compiler happy; - break; - - } - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, v32); //save result - if(vb8) cpu->CPSR |= ARM_SR_Q; - goto instr_done; - - case 7: //soft breakpoint - - cpuPrvException(cpu, cpu->vectorBase + ARM_VECTOR_OFFT_P_ABT, instrPC + 4, ARM_CPSR_PAB_ORR | (cpu->CPSR & ARM_CPSR_PAB_ORR)); - goto instr_done; - - case 8: //enhanced DSP multiplies - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - if((instr & 0x00000090UL) != 0x00000080UL) goto invalid_instr; - tmp = cpuPrvGetReg(cpu, instr & 0x0F, wasT, specialPC); //Rm - adr = cpuPrvGetReg(cpu, (instr >> 8) & 0x0F, wasT, specialPC); //Rs - vb8 = 0; //used as boolead for if saturation happened - va8 = 0; //used as temporary boolean flag - switch((instr >> 21) & 3){ //what op? - case 0: //SMLAxy - if(instr & 0x20) tmp >>= 16; - else tmp &= 0xFFFFUL; - if(tmp & 0x8000UL) tmp |= 0xFFFF0000UL; - - if(instr & 0x40) adr >>= 16; - else adr &= 0xFFFFUL; - if(adr & 0x8000UL) adr |= 0xFFFF0000UL; - - tmp *= adr; - adr = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); //Rn - v32 = tmp + adr; - vb8 = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - break; - - case 1: //SMLAWy/SMULWy - - if(instr & 0x40) adr >>= 16; - else adr &= 0xFFFFUL; - if(adr & 0x8000UL) adr |= 0xFFFF0000UL; - - adr = u64_64_to_32(u64_shr(u64_smul3232(tmp, adr), 16)); //do the multiplication, WAS: adr = (((UInt64)tmp) * ((UInt64)adr)) >> 16; - - if(instr & 0x20){ //SMULWy - - v32 = adr; - if(instr & 0x0000F000UL) goto invalid_instr; - } - else{ //SMLAWy - - tmp = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); //Rn - v32 = adr + tmp; - vb8 = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - } - break; - - case 2: //SMLALxy - - if(instr & 0x20) tmp >>= 16; - else tmp &= 0xFFFFUL; - if(tmp & 0x8000UL) tmp |= 0xFFFF0000UL; - - if(instr & 0x40) adr >>= 16; - else adr &= 0xFFFFUL; - if(adr & 0x8000UL) adr |= 0xFFFF0000UL; - - adr *= tmp; - if(adr & 0x80000000UL) va8 |= 1; //neg - tmp = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); //RdLo - if((tmp + adr) < tmp) va8 |= 2; //carry - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, tmp); - v32 = cpuPrvGetReg(cpu, (instr >> 16) & 0x0F, wasT, specialPC); //RdHi - if(va8 & 2) v32++; - if(va8 & 1) v32--; - break; - - case 3: //SMULxy - - if(instr & 0x0000F000UL) goto invalid_instr; - - if(instr & 0x20) tmp >>= 16; - else tmp &= 0xFFFFUL; - if(tmp & 0x8000UL) tmp |= 0xFFFF0000UL; - - if(instr & 0x40) adr >>= 16; - else adr &= 0xFFFFUL; - if(adr & 0x8000UL) adr |= 0xFFFF0000UL; - - v32 = tmp * adr; - break; - - default: //make compiler happy - - v32 = 0; - break; - } - cpuPrvSetReg(cpu, (instr >> 16) & 0x0F, v32); - if(vb8) cpu->CPSR |= ARM_SR_Q; - goto instr_done; - - default: - goto invalid_instr; - } - } - - goto data_processing; - break; - - case 2: - case 3: //data process immediate val, move imm to SR - - if(specialInstr) goto invalid_instr; - - if((instr & 0x01900000UL) == 0x01000000UL){ //all NON-data-processing instrs in this space are here - - if(instr & 0x00200000UL){ //MSR imm and hints - - if((instr & 0x00400000UL) || (instr & 0x000F0000UL)){ //move imm to PSR - - cpuPrvSetPSR(cpu, (instr >> 16) & 0x0F, privileged, (instr & 0x00400000UL) != 0, cpuPrvROR(instr & 0xFF, ((instr >> 8) & 0x0F) * 2)); - } - else{ - #ifdef ARM_V6 - if((instr & 0x000000F0UL) == 0x000000F0){ //debug hint - - err_str("DEBUG hint 0x"); - err_hex(instr & 0x0F); - err_str(" at 0x"); - err_hex(instrPC); - err_str("\r\n"); - } - else switch(instr){ - - case 0: //NOP - break; - - case 1: //YIELD; - break; - - case 2: //WFE - break; - - case 3: //WFI - break; - - case 4: //SEV - break; - } - goto instr_done; //all hints are treated as valid and do nothing... - #endif - goto invalid_instr; - } - } - else if(instr & 0x00400000UL){ //MOVT (high halfword 16-bit immediate load) - - adr = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC) & 0xFFFFUL; - adr |= ((instr & 0xFFFUL) << 16) | ((instr & 0xF0000UL) << 12); - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, adr); - } - else{ //MOVW (16-bit immediate load) - - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, (instr & 0xFFFUL) | ((instr >> 4) & 0xF000UL)); - } - goto instr_done; - } - -data_processing: //data processing - { - Boolean carryOut, carryIn, V, S, store = true; - S = (instr & 0x00100000UL) != 0; - V = (cpu->CPSR & ARM_SR_V) != 0; - carryIn = (cpu->CPSR & ARM_SR_C) != 0; - tmp = cpuPrvArmAdrMode_1(cpu, instr, &carryOut, wasT, specialPC); - va8 = (instr >> 16) & 0x0F; - - switch((instr >> 21) & 0x0F){ - case 0: //AND - tmp = cpuPrvGetReg(cpu, va8, wasT, specialPC) & tmp; - break; - - case 1: //EOR - - tmp = cpuPrvGetReg(cpu, va8, wasT, specialPC) ^ tmp; - break; - - case 2: //SUB - - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - v32 = adr - tmp; - if(S) V = cpuPrvSignedSubtractionOverflows(adr, tmp, v32); - if(S) carryOut = adr >= tmp; - tmp = v32; - break; - - case 3: //RSB - - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - v32 = tmp - adr; - if(S) V = cpuPrvSignedSubtractionOverflows(tmp, adr, v32); - if(S) carryOut = tmp >= adr; - tmp = v32; - break; - - case 4: //ADD - - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - v32 = adr + tmp; - if(S) V = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - if(S) carryOut = v32 < adr; - tmp = v32; - break; - - case 5: //ADC - - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - if(carryIn){ - v32 = adr + tmp + 1; - if(S) carryOut = v32 <= adr; - } - else{ - v32 = adr + tmp; - if(S) carryOut = v32 < adr; - } - if(S) V = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - tmp = v32; - break; - - case 6: //SBC - - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - if(carryIn){ - - v32 = adr - tmp; - if(S) carryOut = adr >= tmp; - } - else{ - v32 = adr - tmp - 1; - if(S) carryOut = adr > tmp; - } - if(S) V = cpuPrvSignedSubtractionOverflows(adr, tmp, v32); - tmp = v32; - break; - - case 7: //RSC - - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - if(carryIn){ - - v32 = tmp - adr; - if(S) carryOut = tmp >= adr; - } - else{ - v32 = tmp - adr - 1; - if(S) carryOut = tmp > adr; - } - if(S) V = cpuPrvSignedSubtractionOverflows(tmp, adr, v32); - tmp = v32; - break; - - case 8: //TST - if(!S) goto invalid_instr; - store = false; - tmp = cpuPrvGetReg(cpu, va8, wasT, specialPC) & tmp; - break; - - case 9: //TEQ - - if(!S) goto invalid_instr; - store = false; - tmp = cpuPrvGetReg(cpu, va8, wasT, specialPC) ^ tmp; - break; - - case 10: //CMP - - if(!S) goto invalid_instr; - store = false; - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - V = cpuPrvSignedSubtractionOverflows(adr, tmp, adr - tmp); //((adr ^ tmp) & (adr ^ (adr - tmp))) >> 31; - carryOut = adr >= tmp; - tmp = adr - tmp; - break; - - case 11: //CMN - - if(!S) goto invalid_instr; - store = false; - adr = cpuPrvGetReg(cpu, va8, wasT, specialPC); - v32 = adr + tmp; - V = cpuPrvSignedAdditionOverflows(adr, tmp, v32); - carryOut = v32 < adr; - tmp = v32; - break; - - case 12: //ORR - - tmp = cpuPrvGetReg(cpu, va8, wasT, specialPC) | tmp; - break; - - case 13: //MOV - - //tmp already equals tmp - break; - - case 14: //BIC - - tmp = cpuPrvGetReg(cpu, va8, wasT, specialPC) & ~tmp; - break; - - case 15: //MVN - - tmp = ~tmp; - break; - } - vb8 = (instr >> 12) & 0x0F; - if(S){ //update flags or restore CPSR - - if(!usesUsrRegs && vb8 == 15 && store){ - - UInt32 sr; - - sr = cpu->SPSR; - cpuPrvSwitchToMode(cpu, sr & ARM_SR_M); - cpu->CPSR = sr; - cpu->regs[15] = tmp; //do it right here - if we let it use cpuPrvSetReg, it will check lower bit... - store = false; - } - else{ - adr = cpu->CPSR &~ (ARM_SR_Z | ARM_SR_N | ARM_SR_C | ARM_SR_V); - if(!tmp) adr |= ARM_SR_Z; - if(tmp & 0x80000000UL) adr |= ARM_SR_N; - if(carryOut) adr |= ARM_SR_C; - if(V) adr |= ARM_SR_V; - cpu->CPSR = adr; - } - } - if(store){ - if(vb8 == 15){ - cpuPrvSetReg(cpu, vb8, tmp &~ 1UL); - cpu->CPSR &=~ ARM_SR_T; - if(tmp & 1) cpu->CPSR |= ARM_SR_T; - } - else{ - cpu->regs[vb8] = tmp; //not pc - no need for func call cpuPrvSetReg(cpu, vb8, tmp); - } - } - goto instr_done; - } - break; - - case 4: - case 5: //load/stor imm offset - - goto load_store_mode_2; - break; - - case 6: - case 7: //load/store reg offset - - if(instr & 0x00000010UL){ //media and undefined instrs - - #ifdef ARM_V6 - if(cpuPrvMediaInstrs(cpu, instr, wasT, specialPC)) goto instr_done; - #endif - goto invalid_instr; - } - -load_store_mode_2: - if(specialInstr){ //handle PLD - - if((instr & 0x0D70F000UL) == 0x0550F000UL) goto instr_done; //PLD - goto invalid_instr; - } - - va8 = cpuPrvArmAdrMode_2(cpu, instr, &m32, &x32, wasT, specialPC); - tmp = m32; - v32 = x32; - if(va8 & ARM_MODE_2_INV) goto invalid_instr; - if(va8 & ARM_MODE_2_T) privileged = false; - vb8 = (va8 & ARM_MODE_2_WORD) ? 4 : 1; //get operation size - - adr = cpuPrvGetReg(cpu, va8 & ARM_MODE_2_REG, wasT, specialPC); - - if(va8 & ARM_MODE_2_LOAD){ - - ok = cpu->memF(cpu, &m32, adr + tmp, vb8, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr + tmp, vb8, false, false, fsr); - goto instr_done; - } - if(vb8 == 1) m32 = *(UInt8*)&m32; //endian-free way to make it a valid 8-bit value, if need be - tmp = m32; - cpuPrvSetReg(cpu, (instr >> 12) & 0x0F, tmp); - if(v32) cpuPrvSetReg(cpu, va8 & ARM_MODE_2_REG, v32 + adr); - } - else{ - if(v32){ - v32 += adr; - va8 |= ARM_MODE_2_INV; //re-use flag to mean writeack - } - - adr += tmp; - if(vb8 == 1){ - m32 = 0; - *(UInt8*)&m32 = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); - } - else{ - m32 = cpuPrvGetReg(cpu, (instr >> 12) & 0x0F, wasT, specialPC); - } - ok = cpu->memF(cpu, &m32, adr, vb8, true, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, vb8, true, false, fsr); - goto instr_done; - } - if(va8 & ARM_MODE_2_INV) cpuPrvSetReg(cpu, va8 & ARM_MODE_2_REG, v32); - } - - goto instr_done; - - case 8: - case 9: //load/store multiple - - if(specialInstr) goto invalid_instr; - - va8 = cpuPrvArmAdrMode_4(cpu, instr, &v16); - if((va8 & ARM_MODE_4_S) && usesUsrRegs) goto invalid_instr; //no S mode please in modes with no baked regs //or SPSR - L = (instr & 0x00100000UL) != 0; - tmp = adr = cpuPrvGetReg(cpu, va8 & ARM_MODE_4_REG, wasT, specialPC); - - specialInstr = L && (va8 & ARM_MODE_4_S) && (v16 & 0x8000UL) && !usesUsrRegs; //specialInstr = "copyCPSR" - - for(vc8 = 0; vc8 < 16; vc8++){ - - vb8 = (va8 & ARM_MODE_4_INC) ? vc8 : 15 - vc8; - - if(v16 & (1UL << vb8)){ - - UInt32* reg = cpu->regs + vb8; - - if(L){ - if(va8 & ARM_MODE_4_S){ //handle LDM(2) and LDM(3) - - if(v16 & 0x8000UL){ //handle LDM(3) - - /* nothing to do here, we did all we need above in line beginning with "specialInstr=" */ - } - else if(!usesUsrRegs){ //handle LDM(2) - - if(vb8 >= 8 && vb8 <= 12 && (cpu->CPSR & ARM_SR_M) == ARM_SR_MODE_FIQ){ //handle fiq/usr banked regs - - reg = cpu->extra_regs + vb8 - 8; - } - else if(vb8 == 13){ - - reg = &cpu->bank_usr.R13; - } - else if(vb8 == 14){ - - reg = &cpu->bank_usr.R14; - } - } - } - else if(vb8 == 15){ //handle LDM(1)'s use of PC - - /* nothing to do here - all is handled below */ - } - } - else if(va8 & ARM_MODE_4_S){ //handle STM(2)'s access to user regs - - if(!usesUsrRegs){ - - if(vb8 >= 8 && vb8 <= 12 && (cpu->CPSR & ARM_SR_M) == ARM_SR_MODE_FIQ){ //handle fiq/usr banked regs - - reg = cpu->extra_regs + vb8 - 8; - } - else if(vb8 == 13){ - - reg = &cpu->bank_usr.R13; - } - else if(vb8 == 14){ - - reg = &cpu->bank_usr.R14; - } - } - } - if(va8 & ARM_MODE_4_BFR) adr += (va8 & ARM_MODE_4_INC) ? 4L : -4L; - ok = cpu->memF(cpu, reg, adr, 4, !L, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, adr, 4, !L, false, fsr); - if(v16 & (1UL << (va8 & ARM_MODE_4_REG))) cpuPrvSetReg(cpu, va8 & ARM_MODE_4_REG, tmp); - goto instr_done; - } - if(!(va8 & ARM_MODE_4_BFR)) adr += (va8 & ARM_MODE_4_INC) ? 4L : -4L; - } - } - if(va8 & ARM_MODE_4_WBK){ - cpuPrvSetReg(cpu, va8 & ARM_MODE_4_REG, adr); - } - - if(specialInstr){ //process LDM(3) SPSR->CPSR copy - v32 = cpu->SPSR; - cpuPrvSwitchToMode(cpu, v32 & ARM_SR_M); - cpu->CPSR = v32; - } - else if((v16 & 0x8000U) && !(va8 & ARM_MODE_4_S)){ //we just loaded PC - if(cpu->regs[15] & 1){ - cpu->regs[15] &=~ 1UL; - cpu->CPSR |= ARM_SR_T; - } - else{ - cpu->CPSR &=~ ARM_SR_T; - } - } - - goto instr_done; - - case 10: - case 11: //B/BL/BLX(if cond=0b1111) - - tmp = instr & 0x00FFFFFFUL; //get offset - if(tmp & 0x00800000UL) tmp |= 0xFF000000UL; //sign extend - tmp = tmp << (wasT ? 1 : 2); //shift left 2(ARM) or 1(thumb) - tmp += instrPC + (wasT ? 4 : 8); //add where PC would point in an ARM - if(specialInstr){ //handle BLX - if(instr & 0x01000000UL) tmp += 2; - cpu->regs[14] = instrPC + (wasT ? 2 : 4); - if(!(cpu->CPSR & ARM_SR_T)) tmp |= 1UL; //set T flag if needed - } - else{ //not BLX -> differentiate between BL and B - if(instr & 0x01000000UL) cpu->regs[14] = instrPC + (wasT ? 2 : 4); - if(cpu->CPSR & ARM_SR_T) tmp |= 1UL; //keep T flag as needed - } - cpuPrvSetPC(cpu, tmp); - goto instr_done; - - case 12: - case 13: //coprocessor load/store and double register transfers - - va8 = cpuPrvArmAdrMode_5(cpu, instr, &m32); - v32 = m32; - vb8 = (instr >> 8) & 0x0F; - - if(vb8 >= 14){ //cp14 and cp15 are for priviledged users only - if(!privileged) goto invalid_instr; - } - else if(!(cpu->CPAR & (1UL << vb8))) goto invalid_instr; //others are access-controlled by CPAR - - if(va8 & ARM_MODE_5_RR){ //handle MCRR, MRCC - - if(!cpu->coproc[vb8].twoRegF) goto invalid_instr; - if(!cpu->coproc[vb8].twoRegF(cpu, cpu->coproc[vb8].userData, (instr & 0x00100000UL) != 0, (instr >> 4) & 0x0F,(instr >> 12) & 0x0F, (instr >> 16) & 0x0F, instr & 0x0F)) goto invalid_instr; - } - else{ - vc8 = v32; - tmp = adr = cpuPrvGetReg(cpu, va8 & ARM_MODE_5_REG, wasT, specialPC); - tmp += v32; - - if(!cpu->coproc[vb8].memAccess) goto invalid_instr; - if(!cpu->coproc[vb8].memAccess(cpu, cpu->coproc[vb8].userData, specialInstr, (instr & 0x00400000UL) !=0, !(instr & 0x00100000UL), (instr >> 12) & 0x0F, (va8 & ARM_MODE_5_ADD_BEFORE) ? tmp : adr, (va8 & ARM_MODE_5_IS_OPTION) ? &vc8 : NULL)) goto invalid_instr; - if(va8 & ARM_MODE_5_ADD_AFTER) cpuPrvSetReg(cpu, va8 & ARM_MODE_5_REG, tmp); - } - goto instr_done; - - case 14: //coprocessor data processing and register transfers - - vb8 = (instr >> 8) & 0x0F; - - if(vb8 >= 14){ //cp14 and cp15 are for priviledged users only - if(!privileged) goto invalid_instr; - } - else if(!(cpu->CPAR & (1UL << vb8))) goto invalid_instr; //others are access-controlled by CPAR - - if(instr & 0x00000010UL){ //MCR/MRC - - if(!cpu->coproc[vb8].regXfer) goto invalid_instr; - if(!cpu->coproc[vb8].regXfer(cpu, cpu->coproc[vb8].userData, specialInstr, (instr & 0x00100000UL) != 0, (instr >> 21) & 0x07, (instr >> 12) & 0x0F, (instr >> 16) & 0x0F, instr & 0x0F, (instr >> 5) & 0x07)) goto invalid_instr; - } - else{ //CDP - - if(!cpu->coproc[vb8].dataProcessing) goto invalid_instr; - if(!cpu->coproc[vb8].dataProcessing(cpu, cpu->coproc[vb8].userData, specialInstr, (instr >> 20) & 0x0F, (instr >> 12) & 0x0F, (instr >> 16) & 0x0F, instr & 0x0F, (instr >> 5) & 0x07)) goto invalid_instr; - } - goto instr_done; - - case 15: //SWI - - if(specialInstr) goto invalid_instr; - - cpuPrvException(cpu, cpu->vectorBase + ARM_VECTOR_OFFT_SWI, instrPC + (wasT ? 2 : 4), ARM_CPSR_SWI_ORR | (cpu->CPSR & ARM_CPSR_SWI_AND)); - goto instr_done; - } - - invalid_instr: - - if(instr == HYPERCALL_ARM && privileged){ - if(cpu->hypercallF && cpu->hypercallF(cpu)) goto instr_done; - } - - err_str("Invalid instr 0x"); - err_hex(instr); - err_str(" seen at 0x"); - err_hex(instrPC); - err_str(". CPSR=0x"); - err_hex(cpu->CPSR); - err_str("\r\n"); - cpuPrvException(cpu, cpu->vectorBase + ARM_VECTOR_OFFT_UND, instrPC + (wasT ? 2 : 4), ARM_CPSR_UND_ORR | (cpu->CPSR & ARM_CPSR_UND_AND)); - - instr_done:; - } - - return errNone; -} - -static Err cpuPrvCycleArm(ArmCpu* cpu){ - - Boolean privileged, ok; - UInt32 instr, pc; - UInt8 fsr; - - privileged = (cpu->CPSR & ARM_SR_M) != ARM_SR_MODE_USR; - //fetch instruction - { - pc = cpu->regs[15]; - //ok = icacheFetch(&cpu->ic, pc = cpu->regs[15], 4, privileged, &fsr, &instr); - ok = cpu->memF(cpu, &instr, pc, 4, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, cpu->regs[15], 4, false, true, fsr); - return errNone; //exit here so that debugger can see us execute first instr of execption handler - } - cpu->regs[15] += 4; - } - - return cpuPrvExecInstr(cpu, instr, pc, false, privileged, false); -} - - -static Err cpuPrvCycleThumb(ArmCpu* cpu){ - - Boolean privileged, vB, specialPC = false, ok; - UInt32 instr = 0xE0000000UL /*most likely thing*/, pc; - UInt16 instrT, v16; - UInt8 v8, fsr; - - privileged = (cpu->CPSR & ARM_SR_M) != ARM_SR_MODE_USR; - - pc = cpu->regs[15]; - //ok = icacheFetch(&cpu->ic, pc, 2, privileged, &fsr, &instrT); - ok = cpu->memF(cpu, &instrT, pc, 2, false, privileged, &fsr); - if(!ok){ - cpuPrvHandleMemErr(cpu, pc, 2, false, true, fsr); - return errNone; //exit here so that debugger can see us execute first instr of execption handler - } - cpu->regs[15] += 2; - - switch(instrT >> 12){ - - case 0: // LSL(1) LSR(1) ASR(1) ADD(1) SUB(1) ADD(3) SUB(3) - case 1: - if((instrT & 0x1800) != 0x1800){ // LSL(1) LSR(1) ASR(1) - - instr |= 0x01B00000UL | ((instrT & 0x7) << 12) | ((instrT >> 3) & 7) | ((instrT >> 6) & 0x60) | ((instrT << 1) & 0xF80); - } - else{ - vB = (instrT & 0x0200) != 0; // SUB or ADD ? - instr |= ((vB ? 5UL : 9UL) << 20) | (((UInt32)(instrT & 0x38)) << 13) | ((instrT & 0x07) << 12) | ((instrT >> 6) & 0x07); - - if(instrT & 0x0400){ // ADD(1) SUB(1) - - instr |= 0x02000000UL; - } - else{ // ADD(3) SUB(3) - - // nothing to do here - } - } - break; - - case 2: // MOV(1) CMP(1) ADD(2) SUB(2) - case 3: - instr |= instrT & 0x00FF; - switch((instrT >> 11) & 3){ - case 0: // MOV(1) - instr |= 0x03B00000UL | ((instrT & 0x0700) << 4); - break; - - case 1: // CMP(1) - instr |= 0x03500000UL | (((UInt32)(instrT & 0x0700)) << 8); - break; - - case 2: // ADD(2) - instr |= 0x02900000UL | ((instrT & 0x0700) << 4) | (((UInt32)(instrT & 0x0700)) << 8); - break; - - case 3: // SUB(2) - instr |= 0x02500000UL | ((instrT & 0x0700) << 4) | (((UInt32)(instrT & 0x0700)) << 8); - break; - } - break; - - case 4: // LDR(3) ADD(4) CMP(3) MOV(3) BX MVN CMP(2) CMN TST ADC SBC NEG MUL LSL(2) LSR(2) ASR(2) ROR AND EOR ORR BIC - - if(instrT & 0x0800){ // LDR(3) - - instr |= 0x059F0000UL | ((instrT & 0xFF) << 2) | ((instrT & 0x700) << 4); - specialPC = true; - } - else if(instrT & 0x0400){ // ADD(4) CMP(3) MOV(3) BX - - UInt8 vD; - - vD = (instrT & 7) | ((instrT >> 4) & 0x08); - v8 = (instrT >> 3) & 0xF; - - switch((instrT >> 8) & 3){ - - case 0: // ADD(4) - - instr |= 0x00800000UL | (((UInt32)vD) << 16) | (((UInt32)vD) << 12) | v8; - break; - - case 1: // CMP(3) - - instr |= 0x01500000UL | (((UInt32)vD) << 16) | v8; - break; - - case 2: // MOV(3) - - instr |= 0x01A00000UL | (((UInt32)vD) << 12) | v8; - break; - - case 3: // BX - - if(instrT == 0x4778){ //special handing for thumb's "BX PC" as aparently docs are wrong on it - - cpuPrvSetPC(cpu, (cpu->regs[15] + 2) &~ 3UL); - goto instr_done; - } - - instr |= 0x012FFF10UL | ((instrT >> 3) & 0x0F); - break; - } - } - else{ // AND EOR LSL(2) LSR(2) ASR(2) ADC SBC ROR TST NEG CMP(2) CMN ORR MUL BIC MVN (in val_tabl order) - static const UInt32 val_tabl[16] = {0x00100000UL, 0x00300000UL, 0x01B00010UL, 0x01B00030UL, 0x01B00050UL, 0x00B00000UL, 0x00D00000UL, 0x01B00070UL, 0x01100000UL, 0x02700000UL, 0x01500000UL, 0x01700000UL, 0x01900000UL, 0x00100090UL, 0x01D00000UL, 0x01F00000UL}; - - //00 = none - //10 = bit0 val - //11 = bit3 val - //MVN BIC MUL ORR CMN CMP(2) NEG TST ROR SBC ADC ASR(2) LSR(2) LSL(2) EOR AND - - const UInt32 use16 = 0x2AAE280AUL; //0010 1010 1010 1110 0010 1000 0000 1010 - const UInt32 use12 = 0xA208AAAAUL; //1010 0010 0000 1000 1010 1010 1010 1010 - const UInt32 use8 = 0x0800C3F0UL; //0000 1000 0000 0000 1100 0011 1111 0000 - const UInt32 use0 = 0xFFF3BEAFUL; //1111 1111 1111 0011 1011 1110 1010 1111 - UInt8 vals[4] = {0}; - - vals[2] = (instrT & 7); - vals[3] = (instrT >> 3) & 7; - v8 = (instrT >> 6) & 15; - instr |= val_tabl[v8]; - v8 <<= 1; - instr |= ((UInt32)(vals[(use16 >> v8) & 3UL])) << 16; - instr |= ((UInt32)(vals[(use12 >> v8) & 3UL])) << 12; - instr |= ((UInt32)(vals[(use8 >> v8) & 3UL])) << 8; - instr |= ((UInt32)(vals[(use0 >> v8) & 3UL])) << 0; - } - break; - - case 5: // STR(2) STRH(2) STRB(2) LDRSB LDR(2) LDRH(2) LDRB(2) LDRSH (in val_tbl orver) - { - static const UInt32 val_tabl[8] = {0x07800000UL, 0x018000B0UL, 0x07C00000UL, 0x019000D0UL, 0x07900000UL, 0x019000B0UL, 0x07D00000UL, 0x019000F0UL}; - instr |= ((instrT >> 6) & 7) | ((instrT & 7) << 12) | (((UInt32)(instrT & 0x38)) << 13) | val_tabl[(instrT >> 9) & 7]; - } - break; - - case 6: // LDR(1) STR(1) (bit11 set = ldr) - - instr |= ((instrT & 7) << 12) | (((UInt32)(instrT & 0x38)) << 13) | ((instrT >> 4) & 0x7C) | 0x05800000UL; - if(instrT & 0x0800) instr |= 0x00100000UL; - break; - - case 7: // LDRB(1) STRB(1) (bit11 set = ldrb) - - instr |= ((instrT & 7) << 12) | (((UInt32)(instrT & 0x38)) << 13) | ((instrT >> 6) & 0x1F) | 0x05C00000UL; - if(instrT & 0x0800) instr |= 0x00100000UL; - break; - - case 8: // LDRH(1) STRH(1) (bit11 set = ldrh) - - instr |= ((instrT & 7) << 12) | (((UInt32)(instrT & 0x38)) << 13) | ((instrT >> 5) & 0x0E) | ((instrT >> 1) & 0x300) | 0x01C000B0UL; - if(instrT & 0x0800) instr |= 0x00100000UL; - break; - - case 9: // LDR(4) STR(3) (bit11 set = ldr) - - instr |= ((instrT & 0x700) << 4) | ((instrT & 0xFF) << 2) | 0x058D0000UL; - if(instrT & 0x0800) instr |= 0x00100000UL; - break; - - case 10: // ADD(5) ADD(6) (bit11 set = add(6)) - - instr |= ((instrT & 0x700) << 4) | (instrT &0xFF) | 0x028D0F00UL; //encode add to SP, line below sets the bit needed to reference PC instead when needed) - if(!(instrT & 0x0800)) instr |= 0x00020000UL; - else specialPC = true; - break; - - case 11: // ADD(7) SUB(4) PUSH POP BKPT - - if((instrT & 0x0600) == 0x0400){ //PUSH POP - - instr |= (instrT & 0xFF) | 0x000D0000UL; - - if(instrT & 0x0800){ //POP - - if(instrT & 0x0100) instr |= 0x00008000UL; - instr |= 0x08B00000UL; - } - else{ //PUSH - - if(instrT & 0x0100) instr |= 0x00004000UL; - instr |= 0x09200000UL; - } - } - else if(instrT & 0x0100){ - - goto undefined; - } - else switch((instrT >> 9) & 7){ - - case 0: // ADD(7) SUB(4) - - instr |= 0x020DDF00UL | (instrT & 0x7F) | ((instrT & 0x0080) ? 0x00400000UL : 0x00800000UL); - break; - #ifdef ARM_V6 - case 1: //SXTH SXTB UXTH UXTB - - instr |= 0x060F0070UL | ((instrT >> 3) & 7) | ((instrT & 7) << 12); - switch((instrT >> 6) & 3){ - - case 0: //SXTH - instr |= 0x00B00000UL; - break; - - case 1: //SXTB - instr |= 0x00A00000UL; - break; - - case 2: //UXTH - instr |= 0x00F00000UL; - break; - - case 3: //UXTB - instr |= 0x00E00000UL; - break; - } - break; - - case 3: //SETEND, CPY - - if((instrT & 0x00FE) == 0x0050){ //SETEND - - instr |= 0x01010000UL; - if(instrT & 0x0008) instr |= 0x00000200UL; - } - else if((instrT & 0x00E8) == 0x0060){ //CPS - - instr |= 0x01080000UL | ((instrT & 7) << 6); - if(instrT & 0x0010) instr |= 0x00040000UL; - } - else goto undefined; - break; - - case 5: //REV REV16, REVSH - - instr |= 0x060F0F00UL | ((instrT >> 3) & 7) | ((instrT & 7) << 12); - switch((instrT >> 6) & 3){ - - case 0: //REV - instr |= 0x00B00030UL; - break; - - case 1: //REV16 - instr |= 0x00B000B0UL; - break; - - case 2: // ??? - goto undefined; - - case 3: - instr |= 0x00F000B0UL; - break; - } - break; - #endif - case 7: //BKPT - - instr |= 0x01200070UL | (instrT & 0x0F) | ((instrT & 0xF0) << 4); - break; - - default: - - goto undefined; - } - break; - - case 12: // LDMIA STMIA (bit11 set = ldmia) - instr |= 0x08800000UL | (((UInt32)(instrT & 0x700)) << 8) | (instrT & 0xFF); - if(instrT & 0x0800) instr |= 0x00100000UL; - if(!((1UL << ((instrT >> 8) & 0x07)) & instrT)) instr |= 0x00200000UL; //set W bit if needed - break; - - case 13: // B(1), SWI, undefined instr space - v8 = ((instrT >> 8) & 0x0F); - if(v8 == 14){ // undefined instr - goto undefined; - } - else if(v8 == 15){ // SWI - instr |= 0x0F000000UL | (instrT & 0xFF); - } - else{ // B(1) - instr = (((UInt32)v8) << 28) | 0x0A000000UL | (instrT & 0xFF); - if(instrT & 0x80) instr |= 0x00FFFF00UL; - } - break; - - case 14: // B(2) BL BLX(1) undefined instr space - case 15: - v16 = (instrT & 0x7FF); - switch((instrT >> 11) & 3){ - - case 0: //B(2) - - instr |= 0x0A000000UL | v16; - if(instrT & 0x0400) instr |= 0x00FFF800UL; - break; - - case 1: //BLX(1)_suffix - instr = cpu->regs[15]; - cpu->regs[15] = (cpu->regs[14] + 2 + (((UInt32)v16) << 1)) &~ 3UL; - cpu->regs[14] = instr | 1UL; - cpu->CPSR &=~ ARM_SR_T; - goto instr_done; - - case 2: //BLX(1)_prefix BL_prefix - instr = v16; - if(instrT & 0x0400) instr |= 0x000FF800UL; - cpu->regs[14] = cpu->regs[15] + (instr << 12); - goto instr_done; - - case 3: //BL_suffix - instr = cpu->regs[15]; - cpu->regs[15] = cpu->regs[14] + 2 + (((UInt32)v16) << 1); - cpu->regs[14] = instr | 1UL; - goto instr_done; - } - - if(instrT & 0x0800) goto undefined; //avoid BLX_suffix and undefined instr space in there - instr |= 0x0A000000UL | (instrT & 0x7FF); - if(instrT & 0x0400) instr |= 0x00FFF800UL; - break; - } - -instr_execute: - return cpuPrvExecInstr(cpu, instr, pc, true, privileged, specialPC); -instr_done: - return errNone; -undefined: - if(instrT == HYPERCALL_THUMB){ - instr = HYPERCALL_ARM; - goto instr_execute; - } - - instr = 0xE7F000F0UL | (instrT & 0x0F) | ((instrT & 0xFFF0) << 4); //guranteed undefined instr, inside it we store the original thumb instr :)=-) - goto instr_execute; -} - -Err cpuInit(ArmCpu* cpu, UInt32 pc, ArmCpuMemF memF, ArmCpuEmulErr emulErrF, ArmCpuHypercall hypercallF, ArmSetFaultAdrF setFaultAdrF){ - - __mem_zero(cpu, sizeof(ArmCpu)); - - cpu->CPSR = ARM_SR_I | ARM_SR_F | ARM_SR_MODE_SVC; //start w/o interrupts in supervisor mode - cpuPrvSetPC(cpu, pc); - - cpu->memF = memF; - cpu->emulErrF = emulErrF; - cpu->hypercallF = hypercallF; - cpu->setFaultAdrF = setFaultAdrF; - - //icacheInit(&cpu->ic, cpu, memF); - - return errNone; -} - -Err cpuDeinit(_UNUSED_ ArmCpu* cpu){ - - return errNone; -} - -void cpuCycle(ArmCpu* cpu){ - - UInt32 vector, newCPSR; - - if(cpu->waitingFiqs && !(cpu->CPSR & ARM_SR_F)){ - - newCPSR = ARM_CPSR_FIQ_ORR | (cpu->CPSR & ARM_CPSR_FIQ_AND); - vector = cpu->vectorBase + ARM_VECTOR_OFFT_FIQ; - } - else if(cpu->waitingIrqs && !(cpu->CPSR & ARM_SR_I)){ - - newCPSR = ARM_CPSR_IRQ_ORR | (cpu->CPSR & ARM_CPSR_IRQ_AND); - vector = cpu->vectorBase + ARM_VECTOR_OFFT_IRQ; - } -#ifdef ARM_V6 - else if(cpu->impreciseAbtWaiting && !(cpu->CPSR & ARM_SR_A)){ - - newCPSR = ARM_CPSR_DAB_ORR | (cpu->CPSR & ARM_CPSR_DAB_AND); - vector = cpu->vectorBase + ARM_VECTOR_OFFT_D_ABT; - } -#endif - else{ - goto normal; - } - - cpuPrvException(cpu, vector, cpu->regs[15] + 4, newCPSR); - -normal: - - if(cpu->CPSR & ARM_SR_T){ - cpuPrvCycleThumb(cpu); - } - else{ - - cpuPrvCycleArm(cpu); - } -} - -void cpuCycleNoIrqs(ArmCpu* cpu){ - - if(cpu->CPSR & ARM_SR_T){ - cpuPrvCycleThumb(cpu); - } - else{ - - cpuPrvCycleArm(cpu); - } -} - -void cpuIrq(ArmCpu* cpu, Boolean fiq, Boolean raise){ //unraise when acknowledged - - if(fiq){ - if(raise){ - cpu->waitingFiqs++; - } - else if(cpu->waitingFiqs){ - cpu->waitingFiqs--; - } - else{ - cpu->emulErrF(cpu,"Cannot unraise FIQ when none raised"); - } - } - else{ - if(raise){ - cpu->waitingIrqs++; - } - else if(cpu->waitingIrqs){ - cpu->waitingIrqs--; - } - else{ - cpu->emulErrF(cpu,"Cannot unraise IRQ when none raised"); - } - } -} - -void cpuIcacheInval(ArmCpu* cpu){ - - //icacheInval(&cpu->ic); -} - -void cpuIcacheInvalAddr(ArmCpu* cpu, UInt32 addr){ - - //icacheInvalAddr(&cpu->ic, addr); -} - - -void cpuCoprocessorRegister(ArmCpu* cpu, UInt8 cpNum, ArmCoprocessor* coproc){ - - cpu->coproc[cpNum] = *coproc; -} - -void cpuCoprocessorUnregister(ArmCpu* cpu, UInt8 cpNum){ - - ArmCoprocessor cp; - - __mem_zero(&cp, sizeof(ArmCoprocessor)); - - cpu->coproc[cpNum] = cp; -} - -void cpuSetVectorAddr(ArmCpu* cpu, UInt32 adr){ - - cpu->vectorBase = adr; -} - -UInt16 cpuGetCPAR(ArmCpu* cpu){ - - return cpu->CPAR; -} - -void cpuSetCPAR(ArmCpu* cpu, UInt16 cpar){ - - cpu->CPAR = cpar; -} - -#ifdef ARM_V6 - - void cpuSignalImpreciseAbt(ArmCpu* cpu, Boolean raise){ - - cpu->impreciseAbtWaiting = raise; - } - - -#endif - diff --git a/src/armv5/CPU.h b/src/armv5/CPU.h deleted file mode 100755 index b405918..0000000 --- a/src/armv5/CPU.h +++ /dev/null @@ -1,173 +0,0 @@ -#ifndef UARM_CPU_H -#define UARM_CPU_H - - -//#define ARM_V6 //define to allow v6 instructions -//#define THUMB_2 //define to allow Thumb2 - -#include "types.h" - -struct ArmCpu; - -#define ARM_SR_N 0x80000000UL -#define ARM_SR_Z 0x40000000UL -#define ARM_SR_C 0x20000000UL -#define ARM_SR_V 0x10000000UL -#define ARM_SR_Q 0x08000000UL -#ifdef ARM_V6 //V6KT2, but without T2 to be exact (we implement things like MLS, but not Thumb2 or ThumbEE) - #define ARM_SR_J 0x01000000UL - #define ARM_SR_E 0x00000200UL - #define ARM_SR_A 0x00000100UL - #define ARM_SR_GE_0 0x00010000UL - #define ARM_SR_GE_1 0x00020000UL - #define ARM_SR_GE_2 0x00040000UL - #define ARM_SR_GE_3 0x00080000UL - #define ARM_SR_GE_MASK 0x000F0000UL - #define ARM_SR_GE_SHIFT 16 -#endif -#define ARM_SR_I 0x00000080UL -#define ARM_SR_F 0x00000040UL -#define ARM_SR_T 0x00000020UL -#define ARM_SR_M 0x0000001FUL - -#define ARM_SR_MODE_USR 0x00000010UL -#define ARM_SR_MODE_FIQ 0x00000011UL -#define ARM_SR_MODE_IRQ 0x00000012UL -#define ARM_SR_MODE_SVC 0x00000013UL -#define ARM_SR_MODE_ABT 0x00000017UL -#define ARM_SR_MODE_UND 0x0000001BUL -#define ARM_SR_MODE_SYS 0x0000001FUL - -#define ARV_VECTOR_OFFT_RST 0x00000000UL -#define ARM_VECTOR_OFFT_UND 0x00000004UL -#define ARM_VECTOR_OFFT_SWI 0x00000008UL -#define ARM_VECTOR_OFFT_P_ABT 0x0000000CUL -#define ARM_VECTOR_OFFT_D_ABT 0x00000010UL -#define ARM_VECTOR_OFFT_UNUSED 0x00000014UL -#define ARM_VECTOR_OFFT_IRQ 0x00000018UL -#define ARM_VECTOR_OFFT_FIQ 0x0000001CUL - -#define HYPERCALL_ARM 0xF7BBBBBBUL -#define HYPERCALL_THUMB 0xBBBBUL - -//the following are for cpuGetRegExternal() and are generally used for debugging purposes -#define ARM_REG_NUM_CPSR 16 -#define ARM_REG_NUM_SPSR 17 - -struct ArmCpu; - -typedef Boolean (*ArmCoprocRegXferF) (struct ArmCpu* cpu, void* userData, Boolean two/* MCR2/MRC2 ? */, Boolean MRC, UInt8 op1, UInt8 Rx, UInt8 CRn, UInt8 CRm, UInt8 op2); -typedef Boolean (*ArmCoprocDatProcF) (struct ArmCpu* cpu, void* userData, Boolean two/* CDP2 ? */, UInt8 op1, UInt8 CRd, UInt8 CRn, UInt8 CRm, UInt8 op2); -typedef Boolean (*ArmCoprocMemAccsF) (struct ArmCpu* cpu, void* userData, Boolean two /* LDC2/STC2 ? */, Boolean N, Boolean store, UInt8 CRd, UInt32 addr, UInt8* option /* NULL if none */); -typedef Boolean (*ArmCoprocTwoRegF) (struct ArmCpu* cpu, void* userData, Boolean MRRC, UInt8 op, UInt8 Rd, UInt8 Rn, UInt8 CRm); - -typedef Boolean (*ArmCpuMemF) (struct ArmCpu* cpu, void* buf, UInt32 vaddr, UInt8 size, Boolean write, Boolean priviledged, UInt8* fsr); //read/write -typedef Boolean (*ArmCpuHypercall) (struct ArmCpu* cpu); //return true if handled -typedef void (*ArmCpuEmulErr) (struct ArmCpu* cpu, const char* err_str); - -typedef void (*ArmSetFaultAdrF) (struct ArmCpu* cpu, UInt32 adr, UInt8 faultStatus); - -#include "icache.h" - - -/* - - coprocessors: - - 0 - DSP (pxa only) - 0, 1 - WMMX (pxa only) - 11 - VFP (arm standard) - 15 - system control (arm standard) -*/ - - -typedef struct{ - - ArmCoprocRegXferF regXfer; - ArmCoprocDatProcF dataProcessing; - ArmCoprocMemAccsF memAccess; - ArmCoprocTwoRegF twoRegF; - void* userData; - -}ArmCoprocessor; - -typedef struct{ - - UInt32 R13, R14; - UInt32 SPSR; //usr mode doesn't have an SPSR -}ArmBankedRegs; - - - - - - - - -typedef struct ArmCpu{ - - UInt32 regs[16]; //current active regs as per current mode - UInt32 CPSR, SPSR; - - ArmBankedRegs bank_usr; //usr regs when in another mode - ArmBankedRegs bank_svc; //svc regs when in another mode - ArmBankedRegs bank_abt; //abt regs when in another mode - ArmBankedRegs bank_und; //und regs when in another mode - ArmBankedRegs bank_irq; //irq regs when in another mode - ArmBankedRegs bank_fiq; //fiq regs when in another mode - UInt32 extra_regs[5]; //fiq regs when not in fiq mode, usr regs when in fiq mode. R8-12 - - UInt16 waitingIrqs; - UInt16 waitingFiqs; - UInt16 CPAR; - - ArmCoprocessor coproc[16]; //coprocessors - - // various other cpu config options - UInt32 vectorBase; //address of vector base - -#ifdef ARM_V6 - - Boolean EEE; //endianness one exception entry - Boolean impreciseAbtWaiting; -#endif - - ArmCpuMemF memF; - ArmCpuEmulErr emulErrF; - ArmCpuHypercall hypercallF; - ArmSetFaultAdrF setFaultAdrF; - - //icache ic; //not using icache for now - - void* userData; //shared by all callbacks -}ArmCpu; - - -Err cpuInit(ArmCpu* cpu, UInt32 pc, ArmCpuMemF memF, ArmCpuEmulErr emulErrF, ArmCpuHypercall hypercallF, ArmSetFaultAdrF setFaultAdrF); -Err cpuDeinit(ArmCpu* cp); -void cpuCycle(ArmCpu* cpu); -void cpuCycleNoIrqs(ArmCpu* cpu); -void cpuIrq(ArmCpu* cpu, Boolean fiq, Boolean raise); //unraise when acknowledged - -#ifdef ARM_V6 - - void cpuSignalImpreciseAbt(ArmCpu* cpu, Boolean raise); - -#endif - -UInt32 cpuGetRegExternal(ArmCpu* cpu, UInt8 reg); -void cpuSetReg(ArmCpu* cpu, UInt8 reg, UInt32 val); - -void cpuCoprocessorRegister(ArmCpu* cpu, UInt8 cpNum, ArmCoprocessor* coproc); -void cpuCoprocessorUnregister(ArmCpu* cpu, UInt8 cpNum); - -void cpuSetVectorAddr(ArmCpu* cpu, UInt32 adr); - -UInt16 cpuGetCPAR(ArmCpu* cpu); -void cpuSetCPAR(ArmCpu* cpu, UInt16 cpar); - -void cpuIcacheInval(ArmCpu* cpu); -void cpuIcacheInvalAddr(ArmCpu* cpu, UInt32 addr); - - -#endif diff --git a/src/armv5/icache.c b/src/armv5/icache.c deleted file mode 100755 index fa86b45..0000000 --- a/src/armv5/icache.c +++ /dev/null @@ -1,140 +0,0 @@ -#include "types.h" -#include "CPU.h" -#include "icache.h" - -//#define ICACHE_DEBUGGING - - - -#ifdef ICACHE_DEBUGGING - #define _icache_fetch_func icacheFetch_ - #define _icache_test_func icacheFetch -#else - #define _icache_fetch_func icacheFetch - #define _icache_test_func icacheFetch_test -#endif - -void icacheInval(icache* ic){ - - UInt8 i, j; - - for(i = 0; i < ICACHE_BUCKET_NUM; i++){ - for(j = 0; j < ICACHE_BUCKET_SZ; j++) ic->lines[i][j].info = 0; - ic->ptr[i] = 0; - } -} - -void icacheInit(icache* ic, ArmCpu* cpu, ArmCpuMemF memF){ - - ic->cpu = cpu; - ic->memF = memF; - - icacheInval(ic); -} - - -static UInt8 icachePrvHash(UInt32 addr){ - - addr >>= ICACHE_L; - addr &= (1UL << ICACHE_S) - 1UL; - - return addr; -} - -void icacheInvalAddr(icache* ic, UInt32 va){ - - UInt32 off = va % ICACHE_LINE_SZ; - Int8 i, j, bucket; - icacheLine* lines; - - va -= off; - - bucket = icachePrvHash(va); - lines = ic->lines[bucket]; - - for(i = 0, j = ic->ptr[bucket]; (UInt8)i < ICACHE_BUCKET_SZ; i++){ - - if(--j == -1) j = ICACHE_BUCKET_SZ - 1; - - if((lines[j].info & (ICACHE_ADDR_MASK | ICACHE_USED_MASK)) == (va | ICACHE_USED_MASK)){ //found it! - - lines[j].info = 0; - } - } -} - -/* - we cannot have data overlap cachelines since data is self aligned (word on 4-byte boundary, halfwords on2, etc. this is enforced elsewhere -*/ - -Boolean _icache_fetch_func(icache* ic, UInt32 va, UInt8 sz, Boolean priviledged, UInt8* fsrP, void* buf){ - - UInt32 off = va % ICACHE_LINE_SZ; - Int8 i, j, bucket; - icacheLine* lines; - icacheLine* line; - - va -= off; - - bucket = icachePrvHash(va); - lines = ic->lines[bucket]; - - for(i = 0, j = ic->ptr[bucket]; (UInt8)i < ICACHE_BUCKET_SZ; i++){ - - if(--j == -1) j = ICACHE_BUCKET_SZ - 1; - - if((lines[j].info & (ICACHE_ADDR_MASK | ICACHE_USED_MASK)) == (va | ICACHE_USED_MASK)){ //found it! - - if(sz == 4){ - *(UInt32*)buf = *(UInt32*)(lines[j].data + off); - } - else if(sz == 2){ - *(UInt16*)buf = *(UInt16*)(lines[j].data + off); - } - else __mem_copy(buf, lines[j].data + off, sz); - return priviledged || !(lines[j].info & ICACHE_PRIV_MASK); - } - } - //if we're here, we found nothing - time to populate the cache - j = ic->ptr[bucket]++; - if(ic->ptr[bucket] == ICACHE_BUCKET_SZ) ic->ptr[bucket] = 0; - line = lines + j; - - line->info = va | (priviledged ? ICACHE_PRIV_MASK : 0); - if(!ic->memF(ic->cpu, line->data, va, ICACHE_LINE_SZ, false, priviledged, fsrP)){ - - return false; - } - line->info |= ICACHE_USED_MASK; - - if(sz == 4){ - *(UInt32*)buf = *(UInt32*)(line->data + off); - } - else if(sz == 2){ - *(UInt16*)buf = *(UInt16*)(line->data + off); - } - else __mem_copy(buf, line->data + off, sz); - return true; -} - -#include "stdio.h" -Boolean _icache_test_func(icache* ic, UInt32 va, UInt8 sz, Boolean priviledged, UInt8* fsrP, void* buf){ - - UInt8 fsrO = -1, fsrT = -1; - UInt8 dataO[4] = {0}, dataT[4] = {0}; - Boolean retO, retT; - UInt8 i; - - retO = _icache_fetch_func(ic, va, sz, priviledged, &fsrO, dataO); - retT = ic->memF(ic->cpu, dataT, va, sz, false, priviledged, &fsrT); - - if((retT != retO) || (fsrT != fsrO) || (dataT[0] != dataO[0]) || (dataT[1] != dataO[1]) || (dataT[2] != dataO[2]) || (dataT[3] != dataO[3])){ - - fprintf(stderr, "icache fail!"); - } - - for(i = 0; i < sz; i++) ((UInt8*)buf)[i] = dataT[i]; - if(retT) *fsrP = fsrT; - return retT; -} - diff --git a/src/armv5/icache.h b/src/armv5/icache.h deleted file mode 100755 index 0eb8cba..0000000 --- a/src/armv5/icache.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef UARM_ICACHE_H -#define UARM_ICACHE_H - - -#include "types.h" -#include "CPU.h" - - -#define ICACHE_L 5UL //line size is 2^L bytes -#define ICACHE_S 6UL //number of sets is 2^S -#define ICACHE_A 3UL //set associativity - - -#define ICACHE_LINE_SZ (1UL << ICACHE_L) -#define ICACHE_BUCKET_NUM (1UL << ICACHE_S) -#define ICACHE_BUCKET_SZ (ICACHE_A) - - -#define ICACHE_ADDR_MASK ((UInt32)-ICACHE_LINE_SZ) -#define ICACHE_USED_MASK 1UL -#define ICACHE_PRIV_MASK 2UL - -typedef struct{ - - UInt32 info; //addr, masks - UInt8 data[ICACHE_LINE_SZ]; - -}icacheLine; - -typedef struct{ - - struct ArmCpu* cpu; - ArmCpuMemF memF; - icacheLine lines[ICACHE_BUCKET_NUM][ICACHE_BUCKET_SZ]; - UInt8 ptr[ICACHE_BUCKET_NUM]; - -}icache; - - -void icacheInit(icache* ic, struct ArmCpu* cpu, ArmCpuMemF memF); -Boolean icacheFetch(icache* ic, UInt32 va, UInt8 sz, Boolean priviledged, UInt8* fsr, void* buf); -void icacheInval(icache* ic); -void icacheInvalAddr(icache* ic, UInt32 addr); - -#endif diff --git a/src/armv5/math64.h b/src/armv5/math64.h deleted file mode 100755 index 6e29e08..0000000 --- a/src/armv5/math64.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef UARM_MATH_64_H -#define UARM_MATH_64_H - -#include "types.h" - -static inline UInt64 u64_from_halves(UInt32 hi, UInt32 lo) { return (((UInt64)hi) << 32ULL) | ((UInt64)lo); } -static inline UInt64 u64_32_to_64(UInt32 v) { return (UInt64)v; } -static inline UInt32 u64_64_to_32(UInt64 v) { return (UInt32)v; } -static inline UInt32 u64_get_hi(UInt64 v) { return (UInt32)(v >> 32ULL); } -static inline UInt64 u64_add(UInt64 a, UInt64 b) { return a + b; } -static inline UInt64 u64_add32(UInt64 a, UInt32 b) { return a + (UInt64)b; } -static inline UInt64 u64_umul3232(UInt32 a, UInt32 b) { return ((UInt64)a) * ((UInt64)b); } //sad but true: gcc has no u32xu32->64 multiply -static inline UInt64 u64_smul3232(Int32 a, Int32 b) { return ((Int64)a) * ((Int64)b); } //sad but true: gcc has no s32xs32->64 multiply -static inline UInt64 u64_shr(UInt64 a, unsigned bits) { return a >> (UInt64)bits; } -static inline UInt64 u64_shl(UInt64 a, unsigned bits) { return a << (UInt64)bits; } -static inline UInt64 u64_xtnd32(UInt64 a) { if(a & 0x80000000UL) a |= (((UInt64)-1) << 32ULL); return a; } -static inline Boolean u64_isZero(UInt64 a) { return a == 0; } -static inline UInt64 u64_inc(UInt64 a) { return a + 1ULL; } -static inline UInt64 u64_and(UInt64 a, UInt64 b) { return a & b; } -static inline UInt64 u64_zero(void) { return 0; } -static inline UInt64 u64_sub(UInt64 a, UInt64 b) { return a - b; } - -#endif - - diff --git a/src/armv5/types.h b/src/armv5/types.h deleted file mode 100755 index 6c5ba13..0000000 --- a/src/armv5/types.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef UARM_TYPES_H -#define UARM_TYPES_H - -#include -#include -#include -#include - -typedef uint64_t UInt64; -typedef int64_t Int64; -typedef uint32_t UInt32; -typedef int32_t Int32; -typedef uint16_t UInt16; -typedef int16_t Int16; -typedef uint8_t UInt8; -typedef int8_t Int8; -typedef uint8_t Err; -typedef bool Boolean;//may need to be uint8_t, thats its type in the original source - -#define errNone 0x00 -#define errInternal 0x01 - -/* -#define _INLINE_ inline __attribute__ ((always_inline)) -#define _UNUSED_ __attribute__((unused)) -*/ -#define _INLINE_ inline -#define _UNUSED_ - -/* runtime stuffs */ -/* -void err_str(const char* str); -void err_hex(UInt32 val); -void err_dec(UInt32 val); -*/ -#define err_str(x) -#define err_hex(x) -#define err_dec(x) - -#define __mem_zero(mem, len) memset(mem, 0x00, len) -#define __mem_copy(d, s, sz) memcpy(d, s, sz) - -#endif - diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 3466059..765d97d 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -17,7 +17,6 @@ #include "../hardwareRegisters.h" #include "../portability.h" #include "../specs/emuFeatureRegisterSpec.h" -#include "../armv5.h" #include "sandbox.h" #include "trapNames.h" @@ -62,16 +61,6 @@ static uint32_t sandboxCallGuestFunction(bool fallthrough, uint32_t address, uin #include "sandboxTrapNumToName.c.h" -static uint32_t getCurrentCpuPc(void){ - //returns the current program counter for the current CPU and architecture - return sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? m68k_get_reg(NULL, M68K_REG_PC) : armv5GetRegister(15) & 0xFFFFFFFE; -} - -static uint32_t getCurrentCpuPreviousPc(void){ - //returns the program counter of the current running opcode for the current CPU and architecture - return sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? m68k_get_reg(NULL, M68K_REG_PPC) : armv5GetRegister(15) & 0xFFFFFFFE; -} - uint32_t getRandomRange(uint32_t start, uint32_t end){ static bool seeded = false; @@ -335,14 +324,6 @@ static char* getFunctionName68k(uint32_t address){ return data; } -static char* getFunctionNameArmv5(uint32_t address){ - return NULL; -} - -static char* getFunctionNameThumb(uint32_t address){ - return NULL; -} - static uint32_t makePalmString(const char* str){ uint32_t strLength = strlen(str) + 1; uint32_t strData = sandboxCallGuestFunction(false, 0x00000000, MemPtrNew, "p(l)", strLength); @@ -1209,8 +1190,8 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t } if(sandboxedMemory || sandboxRunning()){ - uint32_t pc = getCurrentCpuPreviousPc(); - char* function = sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_M68K ? getFunctionName68k(pc) : sandboxCurrentCpuArch == SANDBOX_CPU_ARCH_ARMV5 ? getFunctionNameArmv5(pc) : getFunctionNameThumb(pc); + uint32_t pc = m68k_get_reg(NULL, M68K_REG_PPC); + char* function = getFunctionName68k(pc); bool functionValid = !!function; if(!functionValid) @@ -1285,7 +1266,7 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t } bool sandboxRunning(void){ - uint32_t pc = getCurrentCpuPc(); + uint32_t pc = m68k_get_reg(NULL, M68K_REG_PC); uint16_t memRegion; //this is used to capture full logs when running from specific locations diff --git a/src/emulator.c b/src/emulator.c index b45a93a..d7aadb5 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -54,7 +54,7 @@ double palmClk32Sysclks;//how many SYSCLKs have happened in the current CLK32 uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enabledEmuFeatures){ //only accept valid non debug features from the user - enabledEmuFeatures &= FEATURE_RAM_HUGE | FEATURE_FAST_CPU | FEATURE_HYBRID_CPU | FEATURE_CUSTOM_FB | FEATURE_SYNCED_RTC | FEATURE_HLE_APIS | FEATURE_EMU_HONEST | FEATURE_EXT_KEYS | FEATURE_DURABLE | FEATURE_SND_STRMS; + enabledEmuFeatures &= FEATURE_FAST_CPU | FEATURE_SYNCED_RTC | FEATURE_HLE_APIS | FEATURE_DURABLE; #if defined(EMU_DEBUG) //enable debug features if compiled in debug mode @@ -68,7 +68,7 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab return EMU_ERROR_INVALID_PARAMETER; //allocate buffers, add 4 to memory regions to prevent SIGSEGV from accessing off the end - palmRam = malloc(((enabledEmuFeatures & FEATURE_RAM_HUGE) ? SUPERMASSIVE_RAM_SIZE : RAM_SIZE) + 4); + palmRam = malloc(RAM_SIZE + 4); palmRom = malloc(ROM_SIZE + 4); palmReg = malloc(REG_SIZE + 4); palmFramebuffer = malloc(480 * 480 * sizeof(uint16_t)); @@ -85,13 +85,13 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab } //set default values - memset(palmRam, 0x00, enabledEmuFeatures & FEATURE_RAM_HUGE ? SUPERMASSIVE_RAM_SIZE : RAM_SIZE); - memcpy(palmRom, palmRomDump.data, u64Min(palmRomDump.size, ROM_SIZE)); + memset(palmRam, 0x00, RAM_SIZE); + memcpy(palmRom, palmRomDump.data, u32Min(palmRomDump.size, ROM_SIZE)); if(palmRomDump.size < ROM_SIZE) memset(palmRom + palmRomDump.size, 0x00, ROM_SIZE - palmRomDump.size); swap16BufferIfLittle(palmRom, ROM_SIZE / sizeof(uint16_t)); if(palmBootDump.data){ - memcpy(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE, palmBootDump.data, u64Min(palmBootDump.size, BOOTLOADER_SIZE)); + memcpy(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE, palmBootDump.data, u32Min(palmBootDump.size, BOOTLOADER_SIZE)); if(palmBootDump.size < BOOTLOADER_SIZE) memset(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE + palmBootDump.size, 0x00, BOOTLOADER_SIZE - palmBootDump.size); swap16BufferIfLittle(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE, BOOTLOADER_SIZE / sizeof(uint16_t)); @@ -137,7 +137,7 @@ void emulatorExit(void){ void emulatorHardReset(void){ //equivalent to taking the battery out and putting it back in - memset(palmRam, 0x00, palmEmuFeatures.info & FEATURE_RAM_HUGE ? SUPERMASSIVE_RAM_SIZE : RAM_SIZE); + memset(palmRam, 0x00, RAM_SIZE); emulatorSoftReset(); sdCardReset(); setRtc(0, 0, 0, 0); @@ -175,10 +175,7 @@ uint32_t emulatorGetStateSize(void){ size += pdiUsbD12StateSize(); size += expansionHardwareStateSize(); size += sandboxStateSize(); - if(palmEmuFeatures.info & FEATURE_RAM_HUGE) - size += SUPERMASSIVE_RAM_SIZE;//system RAM buffer - else - size += RAM_SIZE;//system RAM buffer + size += RAM_SIZE;//system RAM buffer size += REG_SIZE;//hardware registers size += TOTAL_MEMORY_BANKS;//bank handlers size += sizeof(uint32_t) * 4 * CHIP_END;//chip select states @@ -252,16 +249,9 @@ bool emulatorSaveState(buffer_t buffer){ offset += sandboxStateSize(); //memory - if(palmEmuFeatures.info & FEATURE_RAM_HUGE){ - memcpy(buffer.data + offset, palmRam, SUPERMASSIVE_RAM_SIZE); - swap16BufferIfLittle(buffer.data + offset, SUPERMASSIVE_RAM_SIZE / sizeof(uint16_t)); - offset += SUPERMASSIVE_RAM_SIZE; - } - else{ - memcpy(buffer.data + offset, palmRam, RAM_SIZE); - swap16BufferIfLittle(buffer.data + offset, RAM_SIZE / sizeof(uint16_t)); - offset += RAM_SIZE; - } + memcpy(buffer.data + offset, palmRam, RAM_SIZE); + swap16BufferIfLittle(buffer.data + offset, RAM_SIZE / sizeof(uint16_t)); + offset += RAM_SIZE; memcpy(buffer.data + offset, palmReg, REG_SIZE); swap16BufferIfLittle(buffer.data + offset, REG_SIZE / sizeof(uint16_t)); offset += REG_SIZE; @@ -457,16 +447,9 @@ bool emulatorLoadState(buffer_t buffer){ offset += sandboxStateSize(); //memory - if(palmEmuFeatures.info & FEATURE_RAM_HUGE){ - memcpy(palmRam, buffer.data + offset, SUPERMASSIVE_RAM_SIZE); - swap16BufferIfLittle(palmRam, SUPERMASSIVE_RAM_SIZE / sizeof(uint16_t)); - offset += SUPERMASSIVE_RAM_SIZE; - } - else{ - memcpy(palmRam, buffer.data + offset, RAM_SIZE); - swap16BufferIfLittle(palmRam, RAM_SIZE / sizeof(uint16_t)); - offset += RAM_SIZE; - } + memcpy(palmRam, buffer.data + offset, RAM_SIZE); + swap16BufferIfLittle(palmRam, RAM_SIZE / sizeof(uint16_t)); + offset += RAM_SIZE; memcpy(palmReg, buffer.data + offset, REG_SIZE); swap16BufferIfLittle(palmReg, REG_SIZE / sizeof(uint16_t)); offset += REG_SIZE; @@ -624,29 +607,25 @@ bool emulatorLoadState(buffer_t buffer){ } uint32_t emulatorGetRamSize(void){ - return palmEmuFeatures.info & FEATURE_RAM_HUGE ? SUPERMASSIVE_RAM_SIZE : RAM_SIZE; + return RAM_SIZE; } bool emulatorSaveRam(buffer_t buffer){ - uint32_t size = palmEmuFeatures.info & FEATURE_RAM_HUGE ? SUPERMASSIVE_RAM_SIZE : RAM_SIZE; - - if(buffer.size < size) + if(buffer.size < RAM_SIZE) return false; - memcpy(buffer.data, palmRam, size); - swap16BufferIfLittle(buffer.data, size / sizeof(uint16_t)); + memcpy(buffer.data, palmRam, RAM_SIZE); + swap16BufferIfLittle(buffer.data, RAM_SIZE / sizeof(uint16_t)); return true; } bool emulatorLoadRam(buffer_t buffer){ - uint32_t size = palmEmuFeatures.info & FEATURE_RAM_HUGE ? SUPERMASSIVE_RAM_SIZE : RAM_SIZE; - - if(buffer.size < size) + if(buffer.size < RAM_SIZE) return false; - memcpy(palmRam, buffer.data, size); - swap16BufferIfLittle(palmRam, size / sizeof(uint16_t)); + memcpy(palmRam, buffer.data, RAM_SIZE); + swap16BufferIfLittle(palmRam, RAM_SIZE / sizeof(uint16_t)); return true; } @@ -698,6 +677,8 @@ void emulatorEjectSdCard(void){ } void emulatorRunFrame(void){ + uint32_t samples; + //I/O refreshInputState(); @@ -710,29 +691,15 @@ void emulatorRunFrame(void){ palmCycleCounter -= (double)CRYSTAL_FREQUENCY / EMU_FPS; //audio - if(palmEmuFeatures.info & FEATURE_SND_STRMS){ - expansionHardwareRenderAudio(); - } - else{ - //direct PWM1 output - uint32_t samples; - - blip_end_frame(palmAudioResampler, blip_clocks_needed(palmAudioResampler, AUDIO_SAMPLES_PER_FRAME)); - blip_read_samples(palmAudioResampler, palmAudio, AUDIO_SAMPLES_PER_FRAME, true); - MULTITHREAD_LOOP(samples) for(samples = 0; samples < AUDIO_SAMPLES_PER_FRAME * 2; samples += 2) - palmAudio[samples + 1] = palmAudio[samples]; - } + blip_end_frame(palmAudioResampler, blip_clocks_needed(palmAudioResampler, AUDIO_SAMPLES_PER_FRAME)); + blip_read_samples(palmAudioResampler, palmAudio, AUDIO_SAMPLES_PER_FRAME, true); + MULTITHREAD_LOOP(samples) for(samples = 0; samples < AUDIO_SAMPLES_PER_FRAME * 2; samples += 2) + palmAudio[samples + 1] = palmAudio[samples]; //video - if(palmEmuFeatures.info & FEATURE_CUSTOM_FB){ - expansionHardwareRenderDisplay(); - } - else{ - //direct SED1376 output - sed1376Render(); - memcpy(palmFramebuffer, sed1376Framebuffer, 160 * 160 * sizeof(uint16_t)); - memcpy(palmFramebuffer + 160 * 160, silkscreen160x60, 160 * 60 * sizeof(uint16_t)); - } + sed1376Render(); + memcpy(palmFramebuffer, sed1376Framebuffer, 160 * 160 * sizeof(uint16_t)); + memcpy(palmFramebuffer + 160 * 160, silkscreen160x60, 160 * 60 * sizeof(uint16_t)); #if defined(EMU_SANDBOX) sandboxOnFrameRun(); diff --git a/src/emulator.h b/src/emulator.h index 09e1556..cdd8df2 100644 --- a/src/emulator.h +++ b/src/emulator.h @@ -89,9 +89,6 @@ typedef struct{ typedef struct{ bool buttonUp; bool buttonDown; - bool buttonLeft;//only used in hybrid mode - bool buttonRight;//only used in hybrid mode - bool buttonCenter;//only used in hybrid mode bool buttonCalendar;//hw button 1 bool buttonAddress;//hw button 2 diff --git a/src/expansionHardware.c b/src/expansionHardware.c index a3fcde3..a85f782 100644 --- a/src/expansionHardware.c +++ b/src/expansionHardware.c @@ -10,91 +10,27 @@ #include "silkscreen.h" #include "sed1376.h" #include "flx68000.h" -#include "armv5.h" #include "debug/sandbox.h" -static uint32_t expansionHardwareLcdPointer; - - -static bool expansionHardwareBufferInRam(uint32_t address, uint32_t size){ - if(address >= chips[CHIP_DX_RAM].start && address < chips[CHIP_DX_RAM].start + chips[CHIP_DX_RAM].lineSize) - if(address + size >= chips[CHIP_DX_RAM].start && address + size < chips[CHIP_DX_RAM].start + chips[CHIP_DX_RAM].lineSize) - return true; - - return false; -} - void expansionHardwareReset(void){ - expansionHardwareLcdPointer = 0x00000000; - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU) - armv5Reset(); } uint32_t expansionHardwareStateSize(void){ uint32_t size = 0; - size += sizeof(uint32_t); - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU) - size += armv5StateSize(); - return size; } void expansionHardwareSaveState(uint8_t* data){ uint32_t offset = 0; - writeStateValue32(data + offset, expansionHardwareLcdPointer); - offset += sizeof(uint32_t); - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU){ - armv5SaveState(data + offset); - offset += armv5StateSize(); - } } void expansionHardwareLoadState(uint8_t* data){ uint32_t offset = 0; - expansionHardwareLcdPointer = readStateValue32(data + offset); - offset += sizeof(uint32_t); - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU){ - armv5LoadState(data + offset); - offset += armv5StateSize(); - } -} - -void expansionHardwareRenderAudio(void){ - /*audio streams will allow the max amount of Palm OS 5 audio streams + 1 for PWM1, each stream will act like an OS 5 audio stream and PWM1 will be the last stream*/ - - uint32_t samples; - - blip_end_frame(palmAudioResampler, blip_clocks_needed(palmAudioResampler, AUDIO_SAMPLES_PER_FRAME)); - blip_read_samples(palmAudioResampler, palmAudio, AUDIO_SAMPLES_PER_FRAME, true); - MULTITHREAD_LOOP(samples) for(samples = 0; samples < AUDIO_SAMPLES_PER_FRAME * 2; samples += 2) - palmAudio[samples + 1] = palmAudio[samples]; - - //DRIVER NEEDS TO BE WRITTEN STILL -} - -void expansionHardwareRenderDisplay(void){ - if(palmFramebufferWidth == 160 && palmFramebufferHeight == 220){ - //simple render - sed1376Render(); - memcpy(palmFramebuffer, sed1376Framebuffer, 160 * 160 * sizeof(uint16_t)); - memcpy(palmFramebuffer + 160 * 160, silkscreen160x60, 160 * 60 * sizeof(uint16_t)); - } - else{ - //advanced render - uint16_t* lcdData = palmRam + expansionHardwareLcdPointer; - - //copy over framebuffer - memcpy(palmFramebuffer, lcdData, palmFramebufferWidth * palmFramebufferHeight * sizeof(uint16_t)); - - //add silkscreen if needed - if(palmFramebufferWidth == 320 && palmFramebufferHeight == 440) - memcpy(palmFramebuffer + 320 * 320, silkscreen320x120, 320 * 120 * sizeof(uint16_t)); - } } uint32_t expansionHardwareGetRegister(uint32_t address){ @@ -138,44 +74,6 @@ void expansionHardwareSetRegister(uint32_t address, uint32_t value){ palmClockMultiplier = (double)palmEmuFeatures.value / 100.0 * (1.00 - EMU_CPU_PERCENT_WAITING); return; - case CMD_ARM_SERVICE: - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU) - palmEmuFeatures.value = armv5ServiceRequest; - return; - - case CMD_ARM_SET_REG: - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU) - armv5SetRegister(palmEmuFeatures.dst, palmEmuFeatures.value); - return; - - case CMD_ARM_GET_REG: - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU) - palmEmuFeatures.value = armv5GetRegister(palmEmuFeatures.src); - return; - - case CMD_ARM_RUN: - if(palmEmuFeatures.info & FEATURE_HYBRID_CPU) - palmEmuFeatures.value = armv5Execute(palmEmuFeatures.value); - return; - - case CMD_LCD_SET_FB: - if(palmEmuFeatures.info & FEATURE_CUSTOM_FB){ - uint16_t width = palmEmuFeatures.value >> 16; - uint16_t height = palmEmuFeatures.value & 0xFFFF; - uint32_t size = width * height * sizeof(uint16_t); - - if(expansionHardwareBufferInRam(palmEmuFeatures.src, size) && width > 0 && height > 0 && width <= 480 && height <= 480){ - expansionHardwareLcdPointer = palmEmuFeatures.src; - palmFramebufferWidth = width; - palmFramebufferHeight = height; - debugLog("Set LCD to:%dx%d, buffer:0x%08X\n", palmFramebufferWidth, palmFramebufferHeight, expansionHardwareLcdPointer); - } - else{ - debugLog("Invalid LCD set command: dimensions:%dx%d, address:0x%08X, size:0x%08X\n", width, height, palmEmuFeatures.src, size); - } - } - return; - case CMD_DEBUG_PRINT: if(palmEmuFeatures.info & FEATURE_DEBUG){ char tempString[200]; @@ -205,11 +103,6 @@ void expansionHardwareSetRegister(uint32_t address, uint32_t value){ } return; - case CMD_GET_KEYS: - if(palmEmuFeatures.info & FEATURE_EXT_KEYS) - palmEmuFeatures.value = (palmInput.buttonLeft ? EXT_BUTTON_LEFT : 0) | (palmInput.buttonRight ? EXT_BUTTON_RIGHT : 0) | (palmInput.buttonCenter ? EXT_BUTTON_CENTER : 0); - return; - case CMD_DEBUG_EXEC_END: if(palmEmuFeatures.info & FEATURE_DEBUG) sandboxReturn(); diff --git a/src/makefile.all b/src/makefile.all index 2310926..c18ae70 100644 --- a/src/makefile.all +++ b/src/makefile.all @@ -16,7 +16,4 @@ EMU_SOURCES_C := $(EMU_PATH)/emulator.c \ $(EMU_PATH)/m68k/m68kopdm.c \ $(EMU_PATH)/m68k/m68kopac.c \ $(EMU_PATH)/m68k/m68kdasm.c \ - $(EMU_PATH)/m68k/m68kcpu.c \ - $(EMU_PATH)/armv5.c \ - $(EMU_PATH)/armv5/CPU.c \ - $(EMU_PATH)/armv5/icache.c + $(EMU_PATH)/m68k/m68kcpu.c diff --git a/src/memoryAccess.h b/src/memoryAccess.h index 82314b8..e48c959 100644 --- a/src/memoryAccess.h +++ b/src/memoryAccess.h @@ -19,7 +19,6 @@ //and the SED1376 is at 0x1FF80000(+ 0x20000 for framebuffer) #define EMUCS_START_ADDRESS 0xFFFC0000 #define REG_START_ADDRESS 0xFFFFF000 -#define SUPERMASSIVE_RAM_SIZE (128 * 0x100000)//128mb RAM #define RAM_SIZE (16 * 0x100000)//16mb RAM #define ROM_SIZE (4 * 0x100000)//4mb ROM #define EMUCS_SIZE 0x20000 diff --git a/src/specs/emuFeatureRegisterSpec.h b/src/specs/emuFeatureRegisterSpec.h index b6d41b5..6747a2f 100644 --- a/src/specs/emuFeatureRegisterSpec.h +++ b/src/specs/emuFeatureRegisterSpec.h @@ -10,18 +10,18 @@ These registers will do nothing if their corresponding feature bit is not set on /*features*/ #define FEATURE_ACCURATE 0x00000000/*no hacks/addons*/ -#define FEATURE_RAM_HUGE 0x00000001/*128mb RAM*/ +/*FEATURE_UNUSED 0x00000001*/ #define FEATURE_FAST_CPU 0x00000002/*allows the emulator to set its CPU speed*/ -#define FEATURE_HYBRID_CPU 0x00000004/*allows running ARM opcodes in an OS 4 enviroment*/ -#define FEATURE_CUSTOM_FB 0x00000008/*allows rendering from a dynamically sized framebuffer in RAM*/ +/*FEATURE_UNUSED 0x00000004*/ +/*FEATURE_UNUSED 0x00000008*/ #define FEATURE_SYNCED_RTC 0x00000010/*RTC always equals host system time*/ #define FEATURE_HLE_APIS 0x00000020/*memcpy, memcmp, wait on timer will be replaced with the hosts function*/ -#define FEATURE_EMU_HONEST 0x00000040/*tell the OS that its running in an emu, does nothing else*/ -#define FEATURE_EXT_KEYS 0x00000080/*enables the OS 5 buttons, left, right and select*/ +/*FEATURE_UNUSED 0x00000040*/ +/*FEATURE_UNUSED 0x00000080*/ #define FEATURE_DEBUG 0x00000100/*enables the debug commands, used to call Palm OS functions like native C functions*/ #define FEATURE_DURABLE 0x00000200/*ignore behavior that would crash a real device*/ /*FEATURE_UNUSED 0x00000400*/ -#define FEATURE_SND_STRMS 0x00000800/*enables OS 5 audio streams*/ +/*FEATURE_UNUSED 0x00000800*/ /*new features go here*/ /*registers*/ @@ -48,19 +48,14 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_IDLE_X_CLK32 0x0000FFF4/*EMU_VALUE = CLK32s to waste, used to remove idle loops*/ #define CMD_SET_CYCLE_COST 0x0000FFF5/*EMU_DST = HLE API number, EMU_VALUE = how many cycles it takes*/ #define CMD_LCD_SET_FB 0x0000FFF6/*EMU_SRC = framebuffer pointer(must be in RAM and word aligned, unused if size is 160x220), EMU_VALUE >> 16 = width, EMU_VALUE & 0xFFFF = height*/ -#define CMD_GET_KEYS 0x0000FFF7/*EMU_VALUE is set to OS 5 keys value*/ +/*CMD_UNUSED 0x0000FFF7*/ #define CMD_DEBUG_PRINT 0x0000FFF8/*EMU_SRC = pointer to string*/ #define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ -#define CMD_SOUND 0x0000FFFA/*needed for OS 5 advanced sound*/ +/*CMD_UNUSED 0x0000FFFA*/ #define CMD_DEBUG_EXEC_END 0x0000FFFB/*terminates execution, used when a function is called from outside the emulator*/ -#define CMD_ARM_SERVICE 0x0000FFFC/*EMU_VALUE is set to 1 if ARM wants service from 68k routines*/ -#define CMD_ARM_SET_REG 0x0000FFFD/*EMU_DST = register number, EMU_VALUE = new value*/ -#define CMD_ARM_GET_REG 0x0000FFFE/*EMU_SRC = register number, EMU_VALUE is set to register value*/ -#define CMD_ARM_RUN 0x0000FFFF/*EMU_VALUE = cycles, EMU_VALUE is set to cycles not used on return, 0 if all are used*/ - -/*buttons*/ -#define EXT_BUTTON_LEFT 0x01000000 -#define EXT_BUTTON_RIGHT 0x02000000 -#define EXT_BUTTON_CENTER 0x04000000 +/*CMD_UNUSED 0x0000FFFC*/ +/*CMD_UNUSED 0x0000FFFD*/ +/*CMD_UNUSED 0x0000FFFE*/ +/*CMD_UNUSED 0x0000FFFF*/ #endif diff --git a/tools/desktop/muStyle.xml b/tools/desktop/muStyle.xml new file mode 100644 index 0000000..e41560d --- /dev/null +++ b/tools/desktop/muStyle.xml @@ -0,0 +1,40 @@ + + + + + + CodeStyleData + + false + false + false + false + false + true + true + false + true + false + true + false + true + true + false + true + false + false + false + 3 + true + true + 2 + true + true + 3 + + + + DisplayName + Mu + + From 47ba41fdc50986b9a5bbc6d43e6873de015bf558 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Wed, 17 Apr 2019 13:11:04 -0700 Subject: [PATCH 43/47] Clean up ARM references --- readme.md | 30 ++---------------------------- roadmap.txt | 28 +++------------------------- 2 files changed, 5 insertions(+), 53 deletions(-) diff --git a/readme.md b/readme.md index 3e088df..22b79a0 100644 --- a/readme.md +++ b/readme.md @@ -17,37 +17,11 @@ It is the best Palm brand OS 4 device that has no special hardware builtin(cellp The Palm keyboard attachment will likely be emulated later on so the PC keyboard can be used on text fields. -## OS improvements +## What about OS 5 -If there is something the OS does not support(like an OS 5 API) I may add it manually, this will be in the form of a custom firmware as a ROM image or a .bps patch, not a patch to the emulator with only 1 exception "PceNativeCall" which would require an ARM interpreter, it would also be an option to not apply this patch leaving you with an accurately emulated stock Palm m515. - -These patches will not be worked on until the emulator is actually running. - -## But you shouldnt waste your time on OS 4, OS 5 can do more. - -I have made a video of OS 5 doing that "more", it is extremely incompatible with OS 4 games which most games are, very few games used the ARM CPU and those that did are available on other platforms, some used the 320x320 display mode. - -On Clie PEG-SL10: -ArgonV: Normal -Galax: Normal -Zap!20XX: Normal -Invaders: Normal -Platypus: No ARM CPU, Cant Run - -On Palm T|X: -ArgonV: Runs At Warpspeed -Galax: Audio Cuts Out -Zap!20XX: Audio Cuts Out -Invaders: Reboots System -Platypus: Normal, Used To Prove Speaker Isnt Defective -Bonus: Has Adware(Addit) - -[Palm T|X vs OS 4 Games](https://youtu.be/ithVLI_M6i0) - -The lack of ARM CPU will be fixed in my emulator see "OS improvements". +I am planning on adding Tungsten C support eventually. ## Credits -uARM (ARMv5 Core) Musashi v3.4 (last version that builds outside of MAME)(68k Core) blip_buf 1.1.0 (Audio Resampler) http://www.iconarchive.com/show/crystal-clear-icons-by-everaldo/App-palm-icon.html (Desktop Icon) diff --git a/roadmap.txt b/roadmap.txt index c17fb4c..309e8c7 100644 --- a/roadmap.txt +++ b/roadmap.txt @@ -5,35 +5,13 @@ The end??? v3.2.0 to v4.0.0(*** ** 2020 - *** ** 2020) Core: -Add Dragonball OG/EZ/VZ CPU builtin LCD controller support, some Palm OS 1<->3 games write directly to these registers to display their video and they won't work(with the exception of LSSA since the OS monitors that one) +add Dragonball OG/EZ/VZ CPU builtin LCD controller support too muExpDriver, some Palm OS 1<->3 games write directly to these registers to display their video and they won't work(with the exception of LSSA since the OS monitors that one) ------------------------------------------ -v2.5.0 to v3.2.0(*** ** 2019 - *** ** 2020) +v1.1.0 to v3.2.0(*** ** 2020 - *** ** 2020) Core: -*allow direct 320x320 bitmap rendered over the 160x160 framebuffer expanded 2x in both directions, black pixels will be transparent showing what's on the 160x160 framebuffer - -Emu Hwr Driver: -*set fake display framebuffer for 320x320 mode - ------------------------------------------- -v2.0.0 to v2.5.0(*** ** 2019 - *** ** 2019) - -Core: -*add single 16 bit PCM sound stream, mixed with PWM1 - -Emu Hwr Driver: -*OS 5.1.* sound stream API support(possibly can use PRC file dumped from an OS 5.1.1 device as long as I still add the extra sound stream for it to write to) - ------------------------------------------- -v1.0.0 to v2.0.0(*** ** 2019 - *** ** 2019) - -Core: -*ARM opcode support, most apps that use ARM code work, as long as no OS 5.1.* APIs are used(partialy done, alignment broken) - -Emu Hwr Driver: -*ARM CPU is exported to OS 4 with custom PceNativeCall(already done) -*can set fake version number to prevent tripping compatibility checks(already done) +add Palm Tungsten C support ------------------------------------------ v1.0.0 to v1.1.0(Feb 25 2019 - Easter 2019) From f7c1dacba415a690daae84383b71f772d1e62a0e Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 19 Apr 2019 09:35:14 -0700 Subject: [PATCH 44/47] Start tunring m515 and dragonball stuff into modules Prepareing for tungsten c support. --- qtBuildSystem/Mu/Mu.pro | 16 +- src/ads7846.c | 8 +- ...ccessors.c.h => dbvzRegisterAccessors.c.h} | 130 +- src/{hardwareRegisters.c => dbvzRegisters.c} | 206 +- src/dbvzRegisters.h | 119 + ...wareRegistersTiming.c.h => dbvzTiming.c.h} | 46 +- src/debug/sandbox.c | 20 +- src/emulator.c | 102 +- src/emulator.h | 2 +- src/expansionHardware.c | 4 +- src/flx68000.c | 30 +- src/hardwareRegisters.h | 119 - src/m515Bus.c | 435 ++ src/m515Bus.h | 36 + src/memoryAccess.c | 435 -- src/memoryAccess.h | 71 - src/portability.h | 52 +- src/sed1376.c | 6 +- src/sed1376Accessors.c.h | 2 +- src/silkscreen.c | 3843 ----------------- src/silkscreen.h | 1 - src/specs/emuFeatureRegisterSpec.h | 2 +- 22 files changed, 926 insertions(+), 4759 deletions(-) rename src/{hardwareRegistersAccessors.c.h => dbvzRegisterAccessors.c.h} (84%) rename src/{hardwareRegisters.c => dbvzRegisters.c} (86%) create mode 100644 src/dbvzRegisters.h rename src/{hardwareRegistersTiming.c.h => dbvzTiming.c.h} (91%) delete mode 100644 src/hardwareRegisters.h create mode 100644 src/m515Bus.c create mode 100644 src/m515Bus.h delete mode 100644 src/memoryAccess.c delete mode 100644 src/memoryAccess.h diff --git a/qtBuildSystem/Mu/Mu.pro b/qtBuildSystem/Mu/Mu.pro index 91b45ca..cb815b8 100644 --- a/qtBuildSystem/Mu/Mu.pro +++ b/qtBuildSystem/Mu/Mu.pro @@ -94,8 +94,6 @@ SOURCES += \ ../../src/ads7846.c \ ../../src/emulator.c \ ../../src/flx68000.c \ - ../../src/hardwareRegisters.c \ - ../../src/memoryAccess.c \ ../../src/pdiUsbD12.c \ ../../src/sdCard.c \ ../../src/sed1376.c \ @@ -107,7 +105,9 @@ SOURCES += \ ../../src/m68k/m68kopnz.c \ ../../src/m68k/m68kops.c \ ../../src/expansionHardware.c \ - settingsmanager.cpp + settingsmanager.cpp \ + ../../src/m515Bus.c \ + ../../src/dbvzRegisters.c HEADERS += \ debugviewer.h \ @@ -128,10 +128,6 @@ HEADERS += \ ../../src/ads7846.h \ ../../src/emulator.h \ ../../src/flx68000.h \ - ../../src/hardwareRegisters.h \ - ../../src/hardwareRegistersAccessors.c.h \ - ../../src/hardwareRegistersTiming.c.h \ - ../../src/memoryAccess.h \ ../../src/pdiUsbD12.h \ ../../src/portability.h \ ../../src/sdCard.h \ @@ -145,7 +141,11 @@ HEADERS += \ ../../src/expansionHardware.h \ ../../src/sdCardAccessors.c.h \ ../../src/sdCardCrcTables.c.h \ - settingsmanager.h + settingsmanager.h \ + ../../src/m515Bus.h \ + ../../src/dbvzRegisterAccessors.c.h \ + ../../src/dbvzTiming.c.h \ + ../../src/dbvzRegisters.h FORMS += \ mainwindow.ui \ diff --git a/src/ads7846.c b/src/ads7846.c index fc743a8..f753b42 100644 --- a/src/ads7846.c +++ b/src/ads7846.c @@ -3,7 +3,7 @@ #include "emulator.h" #include "portability.h" -#include "hardwareRegisters.h" +#include "dbvzRegisters.h" bool ads7846PenIrqEnabled; @@ -33,7 +33,7 @@ void ads7846Reset(void){ ads7846OutputValue = 0x0000; ads7846ChipSelect = true; #if !defined(EMU_NO_SAFETY) - refreshTouchState(); + m515RefreshTouchState(); #endif } @@ -84,7 +84,7 @@ void ads7846SetChipSelect(bool value){ ads7846PenIrqEnabled = true; ads7846OutputValue = 0x0000; #if !defined(EMU_NO_SAFETY) - refreshTouchState(); + m515RefreshTouchState(); #endif } ads7846ChipSelect = value; @@ -273,7 +273,7 @@ bool ads7846ExchangeBit(bool bitIn){ ads7846PenIrqEnabled = !(powerSave & 0x01); #if !defined(EMU_NO_SAFETY) - refreshTouchState(); + m515RefreshTouchState(); #endif } diff --git a/src/hardwareRegistersAccessors.c.h b/src/dbvzRegisterAccessors.c.h similarity index 84% rename from src/hardwareRegistersAccessors.c.h rename to src/dbvzRegisterAccessors.c.h index ab59828..c5ec35c 100644 --- a/src/hardwareRegistersAccessors.c.h +++ b/src/dbvzRegisterAccessors.c.h @@ -124,7 +124,7 @@ int32_t pwm1FifoRunSample(int32_t now, int32_t clockOffset){ if(pwm1FifoEntrys() < 2){ //trigger interrupt if enabled if(pwmc1 & 0x0040) - setIprIsrBit(INT_PWM1); + setIprIsrBit(DBVZ_INT_PWM1); //checkInterrupts() is run when the clock that called this function is finished registerArrayWrite16(PWMC1, pwmc1 | 0x0080);//set IRQ bit @@ -147,18 +147,18 @@ static void pwm1FifoFlush(void){ //register setters static void setCsa(uint16_t value){ - chips[CHIP_A0_ROM].enable = value & 0x0001; - chips[CHIP_A0_ROM].readOnly = !!(value & 0x8000); - chips[CHIP_A0_ROM].lineSize = 0x20000/*128kb*/ << (value >> 1 & 0x0007); + chips[DBVZ_CHIP_A0_ROM].enable = value & 0x0001; + chips[DBVZ_CHIP_A0_ROM].readOnly = !!(value & 0x8000); + chips[DBVZ_CHIP_A0_ROM].lineSize = 0x20000/*128kb*/ << (value >> 1 & 0x0007); //CSA is now just a normal chip select - if(chips[CHIP_A0_ROM].enable && chips[CHIP_A0_ROM].inBootMode) - chips[CHIP_A0_ROM].inBootMode = false; + if(chips[DBVZ_CHIP_A0_ROM].enable && chips[DBVZ_CHIP_A0_ROM].inBootMode) + chips[DBVZ_CHIP_A0_ROM].inBootMode = false; - chips[CHIP_A1_USB].enable = chips[CHIP_A0_ROM].enable; - chips[CHIP_A1_USB].readOnly = chips[CHIP_A0_ROM].readOnly; - chips[CHIP_A1_USB].start = chips[CHIP_A0_ROM].start + chips[CHIP_A0_ROM].lineSize; - chips[CHIP_A1_USB].lineSize = chips[CHIP_A0_ROM].lineSize; + chips[DBVZ_CHIP_A1_USB].enable = chips[DBVZ_CHIP_A0_ROM].enable; + chips[DBVZ_CHIP_A1_USB].readOnly = chips[DBVZ_CHIP_A0_ROM].readOnly; + chips[DBVZ_CHIP_A1_USB].start = chips[DBVZ_CHIP_A0_ROM].start + chips[DBVZ_CHIP_A0_ROM].lineSize; + chips[DBVZ_CHIP_A1_USB].lineSize = chips[DBVZ_CHIP_A0_ROM].lineSize; registerArrayWrite16(CSA, value & 0x81FF); } @@ -166,25 +166,25 @@ static void setCsa(uint16_t value){ static void setCsb(uint16_t value){ uint16_t csControl1 = registerArrayRead16(CSCTRL1); - chips[CHIP_B0_SED].enable = value & 0x0001; - chips[CHIP_B0_SED].readOnly = !!(value & 0x8000); - chips[CHIP_B0_SED].lineSize = 0x20000/*128kb*/ << (value >> 1 & 0x0007); + chips[DBVZ_CHIP_B0_SED].enable = value & 0x0001; + chips[DBVZ_CHIP_B0_SED].readOnly = !!(value & 0x8000); + chips[DBVZ_CHIP_B0_SED].lineSize = 0x20000/*128kb*/ << (value >> 1 & 0x0007); //attributes - chips[CHIP_B0_SED].supervisorOnlyProtectedMemory = !!(value & 0x4000); - chips[CHIP_B0_SED].readOnlyForProtectedMemory = !!(value & 0x2000); + chips[DBVZ_CHIP_B0_SED].supervisorOnlyProtectedMemory = !!(value & 0x4000); + chips[DBVZ_CHIP_B0_SED].readOnlyForProtectedMemory = !!(value & 0x2000); if(csControl1 & 0x4000 && csControl1 & 0x0001) - chips[CHIP_B0_SED].unprotectedSize = chips[CHIP_B0_SED].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); + chips[DBVZ_CHIP_B0_SED].unprotectedSize = chips[DBVZ_CHIP_B0_SED].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); else - chips[CHIP_B0_SED].unprotectedSize = chips[CHIP_B0_SED].lineSize / (1 << 7 - (value >> 11 & 0x0003)); + chips[DBVZ_CHIP_B0_SED].unprotectedSize = chips[DBVZ_CHIP_B0_SED].lineSize / (1 << 7 - (value >> 11 & 0x0003)); - chips[CHIP_B1_NIL].enable = chips[CHIP_B0_SED].enable; - chips[CHIP_B1_NIL].readOnly = chips[CHIP_B0_SED].readOnly; - chips[CHIP_B1_NIL].start = chips[CHIP_B0_SED].start + chips[CHIP_B0_SED].lineSize; - chips[CHIP_B1_NIL].lineSize = chips[CHIP_B0_SED].lineSize; - chips[CHIP_B1_NIL].supervisorOnlyProtectedMemory = chips[CHIP_B0_SED].supervisorOnlyProtectedMemory; - chips[CHIP_B1_NIL].readOnlyForProtectedMemory = chips[CHIP_B0_SED].readOnlyForProtectedMemory; - chips[CHIP_B1_NIL].unprotectedSize = chips[CHIP_B0_SED].unprotectedSize; + chips[DBVZ_CHIP_B1_NIL].enable = chips[DBVZ_CHIP_B0_SED].enable; + chips[DBVZ_CHIP_B1_NIL].readOnly = chips[DBVZ_CHIP_B0_SED].readOnly; + chips[DBVZ_CHIP_B1_NIL].start = chips[DBVZ_CHIP_B0_SED].start + chips[DBVZ_CHIP_B0_SED].lineSize; + chips[DBVZ_CHIP_B1_NIL].lineSize = chips[DBVZ_CHIP_B0_SED].lineSize; + chips[DBVZ_CHIP_B1_NIL].supervisorOnlyProtectedMemory = chips[DBVZ_CHIP_B0_SED].supervisorOnlyProtectedMemory; + chips[DBVZ_CHIP_B1_NIL].readOnlyForProtectedMemory = chips[DBVZ_CHIP_B0_SED].readOnlyForProtectedMemory; + chips[DBVZ_CHIP_B1_NIL].unprotectedSize = chips[DBVZ_CHIP_B0_SED].unprotectedSize; registerArrayWrite16(CSB, value & 0xF9FF); } @@ -192,22 +192,22 @@ static void setCsb(uint16_t value){ static void setCsd(uint16_t value){ uint16_t csControl1 = registerArrayRead16(CSCTRL1); - chips[CHIP_DX_RAM].enable = value & 0x0001; - chips[CHIP_DX_RAM].readOnly = !!(value & 0x8000); + chips[DBVZ_CHIP_DX_RAM].enable = value & 0x0001; + chips[DBVZ_CHIP_DX_RAM].readOnly = !!(value & 0x8000); if(csControl1 & 0x0040 && value & 0x0200) - chips[CHIP_DX_RAM].lineSize = 0x800000/*8mb*/ << (value >> 1 & 0x0001); + chips[DBVZ_CHIP_DX_RAM].lineSize = 0x800000/*8mb*/ << (value >> 1 & 0x0001); else - chips[CHIP_DX_RAM].lineSize = 0x8000/*32kb*/ << (value >> 1 & 0x0007); + chips[DBVZ_CHIP_DX_RAM].lineSize = 0x8000/*32kb*/ << (value >> 1 & 0x0007); //attributes - chips[CHIP_DX_RAM].supervisorOnlyProtectedMemory = !!(value & 0x4000); - chips[CHIP_DX_RAM].readOnlyForProtectedMemory = !!(value & 0x2000); + chips[DBVZ_CHIP_DX_RAM].supervisorOnlyProtectedMemory = !!(value & 0x4000); + chips[DBVZ_CHIP_DX_RAM].readOnlyForProtectedMemory = !!(value & 0x2000); if(csControl1 & 0x4000 && csControl1 & 0x0010) - chips[CHIP_DX_RAM].unprotectedSize = chips[CHIP_DX_RAM].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); + chips[DBVZ_CHIP_DX_RAM].unprotectedSize = chips[DBVZ_CHIP_DX_RAM].lineSize / (1 << 7 - ((value >> 11 & 0x0003) | 0x0004)); else - chips[CHIP_DX_RAM].unprotectedSize = chips[CHIP_DX_RAM].lineSize / (1 << 7 - (value >> 11 & 0x0003)); + chips[DBVZ_CHIP_DX_RAM].unprotectedSize = chips[DBVZ_CHIP_DX_RAM].lineSize / (1 << 7 - (value >> 11 & 0x0003)); - //debugLog("RAM unprotected size:0x%08X, bits:0x%02X\n", chips[CHIP_DX_RAM].unprotectedSize, ((value >> 11 & 0x0003) | (csControl1 & 0x4000 && csControl1 & 0x0010) * 0x0004)); + //debugLog("RAM unprotected size:0x%08X, bits:0x%02X\n", chips[DBVZ_CHIP_DX_RAM].unprotectedSize, ((value >> 11 & 0x0003) | (csControl1 & 0x4000 && csControl1 & 0x0010) * 0x0004)); registerArrayWrite16(CSD, value); } @@ -217,11 +217,11 @@ static void setCsgba(uint16_t value){ //add extra address bits if enabled if(csugba & 0x8000) - chips[CHIP_A0_ROM].start = (csugba >> 12 & 0x0007) << 29 | value >> 1 << 14; + chips[DBVZ_CHIP_A0_ROM].start = (csugba >> 12 & 0x0007) << 29 | value >> 1 << 14; else - chips[CHIP_A0_ROM].start = value >> 1 << 14; + chips[DBVZ_CHIP_A0_ROM].start = value >> 1 << 14; - chips[CHIP_A1_USB].start = chips[CHIP_A0_ROM].start + chips[CHIP_A0_ROM].lineSize; + chips[DBVZ_CHIP_A1_USB].start = chips[DBVZ_CHIP_A0_ROM].start + chips[DBVZ_CHIP_A0_ROM].lineSize; registerArrayWrite16(CSGBA, value & 0xFFFE); } @@ -231,11 +231,11 @@ static void setCsgbb(uint16_t value){ //add extra address bits if enabled if(csugba & 0x8000) - chips[CHIP_B0_SED].start = (csugba >> 8 & 0x0007) << 29 | value >> 1 << 14; + chips[DBVZ_CHIP_B0_SED].start = (csugba >> 8 & 0x0007) << 29 | value >> 1 << 14; else - chips[CHIP_B0_SED].start = value >> 1 << 14; + chips[DBVZ_CHIP_B0_SED].start = value >> 1 << 14; - chips[CHIP_B1_NIL].start = chips[CHIP_B0_SED].start + chips[CHIP_B0_SED].lineSize; + chips[DBVZ_CHIP_B1_NIL].start = chips[DBVZ_CHIP_B0_SED].start + chips[DBVZ_CHIP_B0_SED].lineSize; registerArrayWrite16(CSGBB, value & 0xFFFE); } @@ -245,9 +245,9 @@ static void setCsgbd(uint16_t value){ //add extra address bits if enabled if(csugba & 0x8000) - chips[CHIP_DX_RAM].start = (csugba & 0x0007) << 29 | value >> 1 << 14; + chips[DBVZ_CHIP_DX_RAM].start = (csugba & 0x0007) << 29 | value >> 1 << 14; else - chips[CHIP_DX_RAM].start = value >> 1 << 14; + chips[DBVZ_CHIP_DX_RAM].start = value >> 1 << 14; registerArrayWrite16(CSGBD, value & 0xFFFE); } @@ -258,19 +258,19 @@ static void updateCsdAddressLines(void){ if(registerArrayRead16(CSD) & 0x0200 && sdctrl & 0x8000 && dramc & 0x8000 && !(dramc & 0x0400)){ //this register can remap address lines, that behavior is way too CPU intensive and complicated so only the "memory testing" and "correct" behavior is being emulated - chips[CHIP_DX_RAM].mask = 0x003FFFFF; + chips[DBVZ_CHIP_DX_RAM].mask = 0x003FFFFF; //address line 23 is enabled if((sdctrl & 0x000C) == 0x0008) - chips[CHIP_DX_RAM].mask |= 0x00800000; + chips[DBVZ_CHIP_DX_RAM].mask |= 0x00800000; //address line 22 is enabled if((sdctrl & 0x0030) == 0x0010) - chips[CHIP_DX_RAM].mask |= 0x00400000; + chips[DBVZ_CHIP_DX_RAM].mask |= 0x00400000; } else{ //RAM is not enabled properly - chips[CHIP_DX_RAM].mask = 0x00000000; + chips[DBVZ_CHIP_DX_RAM].mask = 0x00000000; } } @@ -294,14 +294,14 @@ static void setScr(uint8_t value){ //clear violations on writing 1 to them newScr &= ~(value & 0xE0); - chips[CHIP_REGISTERS].supervisorOnlyProtectedMemory = value & 0x08; + chips[DBVZ_CHIP_REGISTERS].supervisorOnlyProtectedMemory = value & 0x08; registerArrayWrite8(SCR, newScr);//must be written before calling setRegisterFFFFAccessMode if((newScr & 0x04) != (oldScr & 0x04)){ if(newScr & 0x04) - setRegisterXXFFAccessMode(); + dbvzSetRegisterXXFFAccessMode(); else - setRegisterFFFFAccessMode(); + dbvzSetRegisterFFFFAccessMode(); } } @@ -354,9 +354,9 @@ static void setSpiIntCs(uint16_t value){ //if interrupt state changed update interrupts too, top 8 bits are just the enable bits for the bottom 8 if(!!(newSpiIntCs >> 8 & newSpiIntCs) != !!(oldSpiIntCs >> 8 & oldSpiIntCs)){ if(newSpiIntCs >> 8 & newSpiIntCs) - setIprIsrBit(INT_SPI1); + setIprIsrBit(DBVZ_INT_SPI1); else - clearIprIsrBit(INT_SPI1); + clearIprIsrBit(DBVZ_INT_SPI1); checkInterrupts(); } @@ -425,9 +425,9 @@ static void setSpiCont2(uint16_t value){ //force or clear an interrupt if((value & 0x00C0) == 0x00C0) - setIprIsrBit(INT_SPI2); + setIprIsrBit(DBVZ_INT_SPI2); else - clearIprIsrBit(INT_SPI2); + clearIprIsrBit(DBVZ_INT_SPI2); //do a transfer if enabled(this register write and last) and exchange set if(value & oldSpiCont2 & 0x0200 && value & 0x0100){ @@ -465,7 +465,7 @@ static void setSpiCont2(uint16_t value){ //IRQEN set, send an interrupt after transfer if(value & 0x0040) - setIprIsrBit(INT_SPI2); + setIprIsrBit(DBVZ_INT_SPI2); } //check for any interrupts from the transfer @@ -482,7 +482,7 @@ static void setTstat1(uint16_t value){ if(!(newTstat1 & 0x0001) && (oldTstat1 & 0x0001)){ //debugLog("Timer 1 interrupt cleared.\n"); - clearIprIsrBit(INT_TMR1); + clearIprIsrBit(DBVZ_INT_TMR1); checkInterrupts(); } timerStatusReadAcknowledge[0] &= newTstat1;//clear acknowledged reads cleared bits @@ -497,7 +497,7 @@ static void setTstat2(uint16_t value){ if(!(newTstat2 & 0x0001) && (oldTstat2 & 0x0001)){ //debugLog("Timer 2 interrupt cleared.\n"); - clearIprIsrBit(INT_TMR2); + clearIprIsrBit(DBVZ_INT_TMR2); checkInterrupts(); } timerStatusReadAcknowledge[1] &= newTstat2;//clear acknowledged reads for cleared bits @@ -518,14 +518,14 @@ static void setPwmc1(uint16_t value){ //clear interrupt by write(reading can also clear the interrupt) if(oldPwmc1 & 0x0080 && !(value & 0x0080)){ - clearIprIsrBit(INT_PWM1); + clearIprIsrBit(DBVZ_INT_PWM1); checkInterrupts(); } //interrupt enabled and interrupt set if((value & 0x00C0) == 0x00C0){ //this register also allows forcing an interrupt by writing a 1 to its IRQ bit when IRQEN is enabled - setIprIsrBit(INT_PWM1); + setIprIsrBit(DBVZ_INT_PWM1); checkInterrupts(); } @@ -549,19 +549,19 @@ static void setIsr(uint32_t value, bool useTopWord, bool useBottomWord){ //IRQ1 is not edge triggered if(!(interruptControlRegister & 0x0800)) - value &= ~INT_IRQ1; + value &= ~DBVZ_INT_IRQ1; //IRQ2 is not edge triggered if(!(interruptControlRegister & 0x0400)) - value &= ~INT_IRQ2; + value &= ~DBVZ_INT_IRQ2; //IRQ3 is not edge triggered if(!(interruptControlRegister & 0x0200)) - value &= ~INT_IRQ3; + value &= ~DBVZ_INT_IRQ3; //IRQ6 is not edge triggered if(!(interruptControlRegister & 0x0100)) - value &= ~INT_IRQ6; + value &= ~DBVZ_INT_IRQ6; registerArrayWrite16(IPR, registerArrayRead16(IPR) & ~(value >> 16)); registerArrayWrite16(ISR, registerArrayRead16(ISR) & ~(value >> 16)); @@ -718,7 +718,7 @@ static uint16_t getPwmc1(void){ //clear INT_PWM1 if active if(returnValue & 0x0080){ - clearIprIsrBit(INT_PWM1); + clearIprIsrBit(DBVZ_INT_PWM1); checkInterrupts(); registerArrayWrite16(PWMC1, returnValue & 0xFF5F); } @@ -747,14 +747,14 @@ static void updateSdCardChipSelectStatus(void){ } static void updateBacklightAmplifierStatus(void){ - palmMisc.backlightLevel = (palmMisc.backlightLevel > 0) ? (1 + backlightAmplifierState()) : 0; + palmMisc.backlightLevel = (palmMisc.backlightLevel > 0) ? (1 + m515BacklightAmplifierState()) : 0; } static void updateTouchState(void){ if(!(registerArrayRead8(PFSEL) & registerArrayRead8(PFDIR) & 0x02)){ if((ads7846PenIrqEnabled ? !palmInput.touchscreenTouched : true) == !!(registerArrayRead16(ICR) & 0x0080)) - setIprIsrBit(INT_IRQ5); + setIprIsrBit(DBVZ_INT_IRQ5); else - clearIprIsrBit(INT_IRQ5); + clearIprIsrBit(DBVZ_INT_IRQ5); } } diff --git a/src/hardwareRegisters.c b/src/dbvzRegisters.c similarity index 86% rename from src/hardwareRegisters.c rename to src/dbvzRegisters.c index 843e0ac..77a1a8c 100644 --- a/src/hardwareRegisters.c +++ b/src/dbvzRegisters.c @@ -4,8 +4,8 @@ #include "emulator.h" #include "specs/dragonballVzRegisterSpec.h" -#include "hardwareRegisters.h" -#include "memoryAccess.h" +#include "dbvzRegisters.h" +#include "m515Bus.h" #include "portability.h" #include "flx68000.h" #include "ads7846.h" @@ -14,25 +14,25 @@ #include "debug/sandbox.h" -chip_t chips[CHIP_END]; -int8_t pllSleepWait; -int8_t pllWakeWait; -uint32_t clk32Counter; -double pctlrCpuClockDivider; -double timerCycleCounter[2]; -uint16_t timerStatusReadAcknowledge[2]; -uint8_t portDInterruptLastValue;//used for edge triggered interrupt timing -uint16_t spi1RxFifo[9]; -uint16_t spi1TxFifo[9]; -uint8_t spi1RxReadPosition; -uint8_t spi1RxWritePosition; -bool spi1RxOverflowed; -uint8_t spi1TxReadPosition; -uint8_t spi1TxWritePosition; -int32_t pwm1ClocksToNextSample; -uint8_t pwm1Fifo[6]; -uint8_t pwm1ReadPosition; -uint8_t pwm1WritePosition; +dbvz_chip_t chips[DBVZ_CHIP_END]; +int8_t pllSleepWait; +int8_t pllWakeWait; +uint32_t clk32Counter; +double pctlrCpuClockDivider; +double timerCycleCounter[2]; +uint16_t timerStatusReadAcknowledge[2]; +uint8_t portDInterruptLastValue;//used for edge triggered interrupt timing +uint16_t spi1RxFifo[9]; +uint16_t spi1TxFifo[9]; +uint8_t spi1RxReadPosition; +uint8_t spi1RxWritePosition; +bool spi1RxOverflowed; +uint8_t spi1TxReadPosition; +uint8_t spi1TxWritePosition; +int32_t pwm1ClocksToNextSample; +uint8_t pwm1Fifo[6]; +uint8_t pwm1ReadPosition; +uint8_t pwm1WritePosition; static void checkInterrupts(void); @@ -43,18 +43,18 @@ static int32_t audioGetFramePercentIncrementFromClk32s(int32_t count); static int32_t audioGetFramePercentIncrementFromSysclks(double count); static int32_t audioGetFramePercentage(void); -#include "hardwareRegistersAccessors.c.h" -#include "hardwareRegistersTiming.c.h" +#include "dbvzRegisterAccessors.c.h" +#include "dbvzTiming.c.h" -bool pllIsOn(void){ +bool dbvzIsPllOn(void){ return !(palmSysclksPerClk32 < 1.0); } -bool backlightAmplifierState(void){ +bool m515BacklightAmplifierState(void){ return !!(getPortKValue() & 0x02); } -bool registersAreXXFFMapped(void){ +bool dbvzAreRegistersXXFFMapped(void){ return !!(registerArrayRead8(SCR) & 0x04); } @@ -69,9 +69,9 @@ void ads7846OverridePenState(bool value){ if(value != (ads7846PenIrqEnabled ? !palmInput.touchscreenTouched : true)){ if(!(registerArrayRead8(PFSEL) & registerArrayRead8(PFDIR) & 0x02)){ if(value == !!(registerArrayRead16(ICR) & 0x0080)) - setIprIsrBit(INT_IRQ5); + setIprIsrBit(DBVZ_INT_IRQ5); else - clearIprIsrBit(INT_IRQ5); + clearIprIsrBit(DBVZ_INT_IRQ5); } checkInterrupts(); @@ -81,13 +81,13 @@ void ads7846OverridePenState(bool value){ } } -void refreshTouchState(void){ +void m515RefreshTouchState(void){ //called when ads7846PenIrqEnabled is changed updateTouchState(); checkInterrupts(); } -void refreshInputState(void){ +void m515RefreshInputState(void){ //update power button LED state if palmMisc.batteryCharging changed updatePowerButtonLedStatus(); @@ -115,7 +115,7 @@ int32_t interruptAcknowledge(int32_t intLevel){ return vector; } -void setBusErrorTimeOut(uint32_t address, bool isWrite){ +void dbvzSetBusErrorTimeOut(uint32_t address, bool isWrite){ uint8_t scr = registerArrayRead8(SCR); debugLog("Bus error timeout at:0x%08X, PC:0x%08X\n", address, flx68000GetPc()); registerArrayWrite8(SCR, scr | 0x80); @@ -123,7 +123,7 @@ void setBusErrorTimeOut(uint32_t address, bool isWrite){ flx68000BusError(address, isWrite); } -void setPrivilegeViolation(uint32_t address, bool isWrite){ +void dbvzSetPrivilegeViolation(uint32_t address, bool isWrite){ uint8_t scr = registerArrayRead8(SCR); debugLog("Privilege violation at:0x%08X, PC:0x%08X\n", address, flx68000GetPc()); registerArrayWrite8(SCR, scr | 0x20); @@ -131,7 +131,7 @@ void setPrivilegeViolation(uint32_t address, bool isWrite){ flx68000BusError(address, isWrite); } -void setWriteProtectViolation(uint32_t address){ +void dbvzSetWriteProtectViolation(uint32_t address){ uint8_t scr = registerArrayRead8(SCR); debugLog("Write protect violation at:0x%08X, PC:0x%08X\n", address, flx68000GetPc()); registerArrayWrite8(SCR, scr | 0x40); @@ -143,7 +143,7 @@ static void pllWakeCpuIfOff(void){ const int8_t pllWaitTable[4] = {32, 48, 64, 96}; //PLL is off and not already in the process of waking up - if(!pllIsOn() && pllWakeWait == -1) + if(!dbvzIsPllOn() && pllWakeWait == -1) pllWakeWait = pllWaitTable[registerArrayRead16(PLLCR) & 0x0003]; } @@ -157,38 +157,38 @@ static void checkInterrupts(void){ uint8_t intLevel = 0; //static interrupts - if(activeInterrupts & INT_EMIQ) + if(activeInterrupts & DBVZ_INT_EMIQ) intLevel = 7;//EMIQ - Emulator IRQ, has nothing to do with emulation, used for debugging on a dev board - if(intLevel < 6 && activeInterrupts & (INT_TMR1 | INT_PWM1 | INT_IRQ6)) + if(intLevel < 6 && activeInterrupts & (DBVZ_INT_TMR1 | DBVZ_INT_PWM1 | DBVZ_INT_IRQ6)) intLevel = 6; - if(intLevel < 5 && activeInterrupts & INT_IRQ5) + if(intLevel < 5 && activeInterrupts & DBVZ_INT_IRQ5) intLevel = 5; - if(intLevel < 4 && activeInterrupts & (INT_SPI2 | INT_UART1 | INT_WDT | INT_RTC | INT_KB | INT_RTI | INT_INT0 | INT_INT1 | INT_INT2 | INT_INT3)) + if(intLevel < 4 && activeInterrupts & (DBVZ_INT_SPI2 | DBVZ_INT_UART1 | DBVZ_INT_WDT | DBVZ_INT_RTC | DBVZ_INT_KB | DBVZ_INT_RTI | DBVZ_INT_INT0 | DBVZ_INT_INT1 | DBVZ_INT_INT2 | DBVZ_INT_INT3)) intLevel = 4; - if(intLevel < 3 && activeInterrupts & INT_IRQ3) + if(intLevel < 3 && activeInterrupts & DBVZ_INT_IRQ3) intLevel = 3; - if(intLevel < 2 && activeInterrupts & INT_IRQ2) + if(intLevel < 2 && activeInterrupts & DBVZ_INT_IRQ2) intLevel = 2; - if(intLevel < 1 && activeInterrupts & INT_IRQ1) + if(intLevel < 1 && activeInterrupts & DBVZ_INT_IRQ1) intLevel = 1; //configureable interrupts - if(intLevel < spi1IrqLevel && activeInterrupts & INT_SPI1) + if(intLevel < spi1IrqLevel && activeInterrupts & DBVZ_INT_SPI1) intLevel = spi1IrqLevel; - if(intLevel < uart2IrqLevel && activeInterrupts & INT_UART2) + if(intLevel < uart2IrqLevel && activeInterrupts & DBVZ_INT_UART2) intLevel = uart2IrqLevel; - if(intLevel < pwm2IrqLevel && activeInterrupts & INT_PWM2) + if(intLevel < pwm2IrqLevel && activeInterrupts & DBVZ_INT_PWM2) intLevel = pwm2IrqLevel; - if(intLevel < timer2IrqLevel && activeInterrupts & INT_TMR2) + if(intLevel < timer2IrqLevel && activeInterrupts & DBVZ_INT_TMR2) intLevel = timer2IrqLevel; //even masked interrupts turn off PCTLR, 4.5.4 Power Control Register MC68VZ328UM.pdf @@ -209,55 +209,55 @@ static void checkPortDInterrupts(void){ uint8_t portDInterruptEdgeTriggered = icrEdgeTriggered | registerArrayRead8(PDIRQEG); uint8_t portDInterruptEnabled = (~registerArrayRead8(PDSEL) & 0xF0) | registerArrayRead8(PDIRQEN); uint8_t portDIsInput = ~registerArrayRead8(PDDIR); - uint8_t portDInterruptTriggered = portDInterruptValue & portDInterruptEnabled & portDIsInput & (~portDInterruptEdgeTriggered | ~portDInterruptLastValue & (pllIsOn() ? 0xFF : 0xF0)); + uint8_t portDInterruptTriggered = portDInterruptValue & portDInterruptEnabled & portDIsInput & (~portDInterruptEdgeTriggered | ~portDInterruptLastValue & (dbvzIsPllOn() ? 0xFF : 0xF0)); if(portDInterruptTriggered & 0x01) - setIprIsrBit(INT_INT0); + setIprIsrBit(DBVZ_INT_INT0); else if(!(portDInterruptEdgeTriggered & 0x01)) - clearIprIsrBit(INT_INT0); + clearIprIsrBit(DBVZ_INT_INT0); if(portDInterruptTriggered & 0x02) - setIprIsrBit(INT_INT1); + setIprIsrBit(DBVZ_INT_INT1); else if(!(portDInterruptEdgeTriggered & 0x02)) - clearIprIsrBit(INT_INT1); + clearIprIsrBit(DBVZ_INT_INT1); if(portDInterruptTriggered & 0x04) - setIprIsrBit(INT_INT2); + setIprIsrBit(DBVZ_INT_INT2); else if(!(portDInterruptEdgeTriggered & 0x04)) - clearIprIsrBit(INT_INT2); + clearIprIsrBit(DBVZ_INT_INT2); if(portDInterruptTriggered & 0x08) - setIprIsrBit(INT_INT3); + setIprIsrBit(DBVZ_INT_INT3); else if(!(portDInterruptEdgeTriggered & 0x08)) - clearIprIsrBit(INT_INT3); + clearIprIsrBit(DBVZ_INT_INT3); if(portDInterruptTriggered & 0x10) - setIprIsrBit(INT_IRQ1); + setIprIsrBit(DBVZ_INT_IRQ1); else if(!(portDInterruptEdgeTriggered & 0x10)) - clearIprIsrBit(INT_IRQ1); + clearIprIsrBit(DBVZ_INT_IRQ1); if(portDInterruptTriggered & 0x20) - setIprIsrBit(INT_IRQ2); + setIprIsrBit(DBVZ_INT_IRQ2); else if(!(portDInterruptEdgeTriggered & 0x20)) - clearIprIsrBit(INT_IRQ2); + clearIprIsrBit(DBVZ_INT_IRQ2); if(portDInterruptTriggered & 0x40) - setIprIsrBit(INT_IRQ3); + setIprIsrBit(DBVZ_INT_IRQ3); else if(!(portDInterruptEdgeTriggered & 0x40)) - clearIprIsrBit(INT_IRQ3); + clearIprIsrBit(DBVZ_INT_IRQ3); if(portDInterruptTriggered & 0x80) - setIprIsrBit(INT_IRQ6); + setIprIsrBit(DBVZ_INT_IRQ6); else if(!(portDInterruptEdgeTriggered & 0x80)) - clearIprIsrBit(INT_IRQ6); + clearIprIsrBit(DBVZ_INT_IRQ6); //active low/off level triggered interrupt(triggers on 0, not a pull down resistor) //The SELx, POLx, IQENx, and IQEGx bits have no effect on the functionality of KBENx, 10.4.5.8 Port D Keyboard Enable Register MC68VZ328UM.pdf //the above has finally been verified to be correct! if(registerArrayRead8(PDKBEN) & ~(getPortDValue() ^ registerArrayRead8(PDPOL)) & portDIsInput) - setIprIsrBit(INT_KB); + setIprIsrBit(DBVZ_INT_KB); else - clearIprIsrBit(INT_KB); + clearIprIsrBit(DBVZ_INT_KB); //save to check against next time this function is called portDInterruptLastValue = portDInterruptTriggered; @@ -272,10 +272,10 @@ static void printHwRegAccess(uint32_t address, uint32_t value, uint32_t size, bo debugLog("CPU read %d bits from register 0x%03X, PC:0x%08X.\n", size, address, flx68000GetPc()); } -uint8_t getHwRegister8(uint32_t address){ +uint8_t dbvzGetRegister8(uint32_t address){ #if !defined(EMU_NO_SAFETY) if((address & 0x0000F000) != 0x0000F000){ - setBusErrorTimeOut(address, false); + dbvzSetBusErrorTimeOut(address, false); return 0x00; } #endif @@ -382,10 +382,10 @@ uint8_t getHwRegister8(uint32_t address){ } } -uint16_t getHwRegister16(uint32_t address){ +uint16_t dbvzGetRegister16(uint32_t address){ #if !defined(EMU_NO_SAFETY) if((address & 0x0000F000) != 0x0000F000){ - setBusErrorTimeOut(address, false); + dbvzSetBusErrorTimeOut(address, false); return 0x0000; } #endif @@ -472,10 +472,10 @@ uint16_t getHwRegister16(uint32_t address){ } } -uint32_t getHwRegister32(uint32_t address){ +uint32_t dbvzGetRegister32(uint32_t address){ #if !defined(EMU_NO_SAFETY) if((address & 0x0000F000) != 0x0000F000){ - setBusErrorTimeOut(address, false); + dbvzSetBusErrorTimeOut(address, false); return 0x00000000; } #endif @@ -501,10 +501,10 @@ uint32_t getHwRegister32(uint32_t address){ } } -void setHwRegister8(uint32_t address, uint8_t value){ +void dbvzSetRegister8(uint32_t address, uint8_t value){ #if !defined(EMU_NO_SAFETY) if((address & 0x0000F000) != 0x0000F000){ - setBusErrorTimeOut(address, true); + dbvzSetBusErrorTimeOut(address, true); return; } #endif @@ -570,7 +570,7 @@ void setHwRegister8(uint32_t address, uint8_t value){ case PFSEL: //this register controls the clock output pin for the SED1376 and IRQ line for PENIRQ registerArrayWrite8(PFSEL, value); - setSed1376Attached(sed1376ClockConnected()); + m515SetSed1376Attached(sed1376ClockConnected()); #if !defined(EMU_NO_SAFETY) updateTouchState(); checkInterrupts(); @@ -667,10 +667,10 @@ void setHwRegister8(uint32_t address, uint8_t value){ } } -void setHwRegister16(uint32_t address, uint16_t value){ +void dbvzSetRegister16(uint32_t address, uint16_t value){ #if !defined(EMU_NO_SAFETY) if((address & 0x0000F000) != 0x0000F000){ - setBusErrorTimeOut(address, true); + dbvzSetBusErrorTimeOut(address, true); return; } #endif @@ -725,15 +725,15 @@ void setHwRegister16(uint32_t address, uint16_t value){ //1 must be written to clear INTF registerArrayWrite16(WATCHDOG, (value & 0x0003) | (registerArrayRead16(WATCHDOG) & (~value & 0x0080))); if(!(registerArrayRead16(WATCHDOG) & 0x0080)) - clearIprIsrBit(INT_WDT); + clearIprIsrBit(DBVZ_INT_WDT); return; case RTCISR: registerArrayWrite16(RTCISR, registerArrayRead16(RTCISR) & ~value); if(!(registerArrayRead16(RTCISR) & 0xFF00)) - clearIprIsrBit(INT_RTI); + clearIprIsrBit(DBVZ_INT_RTI); if(!(registerArrayRead16(RTCISR) & 0x003F)) - clearIprIsrBit(INT_RTC); + clearIprIsrBit(DBVZ_INT_RTC); checkInterrupts(); return; @@ -745,7 +745,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //CLKEN is required for SED1376 operation registerArrayWrite16(PLLCR, value & 0x3FBB); palmSysclksPerClk32 = sysclksPerClk32(); - setSed1376Attached(sed1376ClockConnected()); + m515SetSed1376Attached(sed1376ClockConnected()); if(value & 0x0008) pllSleepWait = 30;//The PLL shuts down 30 clocks of CLK32 after the DISPLL bit is set in the PLLCR @@ -785,13 +785,13 @@ void setHwRegister16(uint32_t address, uint16_t value){ case CSA:{ uint16_t oldCsa = registerArrayRead16(CSA); - bool oldBootMode = chips[CHIP_A0_ROM].inBootMode; + bool oldBootMode = chips[DBVZ_CHIP_A0_ROM].inBootMode; setCsa(value); //only reset address space if size changed, enabled/disabled or exiting boot mode - if((value & 0x000F) != (oldCsa & 0x000F) || chips[CHIP_A0_ROM].inBootMode != oldBootMode) - resetAddressSpace(); + if((value & 0x000F) != (oldCsa & 0x000F) || chips[DBVZ_CHIP_A0_ROM].inBootMode != oldBootMode) + dbvzResetAddressSpace(); } return; @@ -802,7 +802,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //only reset address space if size changed or enabled/disabled if((value & 0x000F) != (oldCsb & 0x000F)) - resetAddressSpace(); + dbvzResetAddressSpace(); } return; @@ -822,7 +822,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //only reset address space if size changed, enabled/disabled or DRAM bit changed if((value & 0x020F) != (oldCsd & 0x020F)) - resetAddressSpace(); + dbvzResetAddressSpace(); } return; @@ -830,7 +830,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //sets the starting location of ROM(0x10000000) and the PDIUSBD12 chip if((value & 0xFFFE) != registerArrayRead16(CSGBA)){ setCsgba(value); - resetAddressSpace(); + dbvzResetAddressSpace(); } return; @@ -838,7 +838,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //sets the starting location of the SED1376(0x1FF80000) if((value & 0xFFFE) != registerArrayRead16(CSGBB)){ setCsgbb(value); - resetAddressSpace(); + dbvzResetAddressSpace(); } return; @@ -850,7 +850,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //sets the starting location of RAM(0x00000000) if((value & 0xFFFE) != registerArrayRead16(CSGBD)){ setCsgbd(value); - resetAddressSpace(); + dbvzResetAddressSpace(); } return; @@ -861,7 +861,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ setCsgba(registerArrayRead16(CSGBA)); setCsgbb(registerArrayRead16(CSGBB)); setCsgbd(registerArrayRead16(CSGBD)); - resetAddressSpace(); + dbvzResetAddressSpace(); } return; @@ -875,7 +875,7 @@ void setHwRegister16(uint32_t address, uint16_t value){ //CSA is not dependent on CSCTRL1 setCsb(registerArrayRead16(CSB)); setCsd(registerArrayRead16(CSD)); - resetAddressSpace(); + dbvzResetAddressSpace(); } } return; @@ -956,10 +956,10 @@ void setHwRegister16(uint32_t address, uint16_t value){ } } -void setHwRegister32(uint32_t address, uint32_t value){ +void dbvzSetRegister32(uint32_t address, uint32_t value){ #if !defined(EMU_NO_SAFETY) if((address & 0x0000F000) != 0x0000F000){ - setBusErrorTimeOut(address, true); + dbvzSetBusErrorTimeOut(address, true); return; } #endif @@ -1004,11 +1004,11 @@ void setHwRegister32(uint32_t address, uint32_t value){ } } -void resetHwRegisters(void){ +void dbvzResetRegisters(void){ uint32_t oldRtc = registerArrayRead32(RTCTIME);//preserve RTCTIME uint16_t oldDayr = registerArrayRead16(DAYR);//preserve DAYR - memset(palmReg, 0x00, REG_SIZE - BOOTLOADER_SIZE); + memset(palmReg, 0x00, DBVZ_REG_SIZE - DBVZ_BOOTLOADER_SIZE); palmSysclksPerClk32 = 0.0; clk32Counter = 0; pctlrCpuClockDivider = 1.0; @@ -1033,19 +1033,19 @@ void resetHwRegisters(void){ memset(chips, 0x00, sizeof(chips)); //all chip selects are disabled at boot and CSA0 is mapped to 0x00000000 and covers the entire address range until CSA is set enabled - chips[CHIP_A0_ROM].inBootMode = true; + chips[DBVZ_CHIP_A0_ROM].inBootMode = true; //default sizes - chips[CHIP_A0_ROM].lineSize = 0x20000; - chips[CHIP_A1_USB].lineSize = 0x20000; - chips[CHIP_B0_SED].lineSize = 0x20000; - chips[CHIP_DX_RAM].lineSize = 0x8000; + chips[DBVZ_CHIP_A0_ROM].lineSize = 0x20000; + chips[DBVZ_CHIP_A1_USB].lineSize = 0x20000; + chips[DBVZ_CHIP_B0_SED].lineSize = 0x20000; + chips[DBVZ_CHIP_DX_RAM].lineSize = 0x8000; //masks for reading and writing - chips[CHIP_A0_ROM].mask = 0x003FFFFF;//4mb - chips[CHIP_A1_USB].mask = 0x00000002;//A1 is used as USB chip A0 - chips[CHIP_B0_SED].mask = 0x0001FFFF; - chips[CHIP_DX_RAM].mask = 0x00000000;//16mb, no RAM enabled until the DRAM module is initialized + chips[DBVZ_CHIP_A0_ROM].mask = 0x003FFFFF;//4mb + chips[DBVZ_CHIP_A1_USB].mask = 0x00000002;//A1 is used as USB chip A0 + chips[DBVZ_CHIP_B0_SED].mask = 0x0001FFFF; + chips[DBVZ_CHIP_DX_RAM].mask = 0x00000000;//16mb, no RAM enabled until the DRAM module is initialized //system control registerArrayWrite8(SCR, 0x1C); @@ -1156,7 +1156,7 @@ void resetHwRegisters(void){ palmSysclksPerClk32 = sysclksPerClk32(); } -void setRtc(uint16_t days, uint8_t hours, uint8_t minutes, uint8_t seconds){ +void dbvzSetRtc(uint16_t days, uint8_t hours, uint8_t minutes, uint8_t seconds){ registerArrayWrite32(RTCTIME, hours << 24 & 0x1F000000 | minutes << 16 & 0x003F0000 | seconds & 0x0000003F); registerArrayWrite16(DAYR, days & 0x01FF); } diff --git a/src/dbvzRegisters.h b/src/dbvzRegisters.h new file mode 100644 index 0000000..19fe400 --- /dev/null +++ b/src/dbvzRegisters.h @@ -0,0 +1,119 @@ +#ifndef DBVZ_REGISTERS_H +#define DBVZ_REGISTERS_H + +#include +#include + +//interrupt names +#define DBVZ_INT_EMIQ 0x00800000//level 7 +#define DBVZ_INT_RTI 0x00400000//level 4 +#define DBVZ_INT_SPI1 0x00200000//level 1<->6, configurable, datasheet is contraditory on this one +#define DBVZ_INT_IRQ5 0x00100000//level 5 +#define DBVZ_INT_IRQ6 0x00080000//level 6 +#define DBVZ_INT_IRQ3 0x00040000//level 3 +#define DBVZ_INT_IRQ2 0x00020000//level 2 +#define DBVZ_INT_IRQ1 0x00010000//level 1 +#define DBVZ_INT_PWM2 0x00002000//level 1<->6, configurable +#define DBVZ_INT_UART2 0x00001000//level 1<->6, configurable +#define DBVZ_INT_INT3 0x00000800//level 4 +#define DBVZ_INT_INT2 0x00000400//level 4 +#define DBVZ_INT_INT1 0x00000200//level 4 +#define DBVZ_INT_INT0 0x00000100//level 4 +#define DBVZ_INT_PWM1 0x00000080//level 6 +#define DBVZ_INT_KB 0x00000040//level 4 +#define DBVZ_INT_TMR2 0x00000020//level 1<->6, configurable +#define DBVZ_INT_RTC 0x00000010//level 4 +#define DBVZ_INT_WDT 0x00000008//level 4 +#define DBVZ_INT_UART1 0x00000004//level 4 +#define DBVZ_INT_TMR1 0x00000002//level 6 +#define DBVZ_INT_SPI2 0x00000001//level 4 + +//reasons a timer is triggered +#define DBVZ_TIMER_REASON_SYSCLK 0x00 +#define DBVZ_TIMER_REASON_TIN 0x01 +#define DBVZ_TIMER_REASON_CLK32 0x02 + +//chip names +enum{ + DBVZ_CHIP_BEGIN = 0, + DBVZ_CHIP_A0_ROM = 0, + DBVZ_CHIP_A1_USB, + DBVZ_CHIP_B0_SED, + DBVZ_CHIP_B1_NIL, + //DBVZ_CHIP_CX_RAM, //CSC* is owned by CSD during normal operation + DBVZ_CHIP_DX_RAM, + DBVZ_CHIP_00_EMU, //used for EMUCS on hardware, used by the emu registers here + DBVZ_CHIP_REGISTERS, + DBVZ_CHIP_NONE, + DBVZ_CHIP_END +}; + +//types +typedef struct{ + bool enable; + uint32_t start; + uint32_t lineSize;//the size of a single chip select line, multiply by 2 to get the range size for RAM + uint32_t mask;//the address lines the chip responds to, so 0x10000 on an chip with 16 address lines will return the value at 0x0000 + + //attributes + bool inBootMode; + bool readOnly; + bool readOnlyForProtectedMemory; + bool supervisorOnlyProtectedMemory; + uint32_t unprotectedSize; +}dbvz_chip_t; + +//variables +extern dbvz_chip_t chips[]; +extern int8_t pllSleepWait; +extern int8_t pllWakeWait; +extern uint32_t clk32Counter; +extern double pctlrCpuClockDivider; +extern double timerCycleCounter[]; +extern uint16_t timerStatusReadAcknowledge[]; +extern uint8_t portDInterruptLastValue; +extern uint16_t spi1RxFifo[]; +extern uint16_t spi1TxFifo[]; +extern uint8_t spi1RxReadPosition; +extern uint8_t spi1RxWritePosition; +extern bool spi1RxOverflowed; +extern uint8_t spi1TxReadPosition; +extern uint8_t spi1TxWritePosition; +extern int32_t pwm1ClocksToNextSample; +extern uint8_t pwm1Fifo[]; +extern uint8_t pwm1ReadPosition; +extern uint8_t pwm1WritePosition; + +//timing +void dbvzBeginClk32(void); +void dbvzEndClk32(void); +void dbvzAddSysclks(double value);//only call between begin/endClk32 + +//CPU +bool dbvzIsPllOn(void); +bool m515BacklightAmplifierState(void); +bool dbvzAreRegistersXXFFMapped(void); +bool sed1376ClockConnected(void); +void ads7846OverridePenState(bool value); +void m515RefreshTouchState(void);//just refreshes the touchscreen +void m515RefreshInputState(void);//refreshes touchscreen, buttons and docked status +//int32_t interruptAcknowledge(int32_t intLevel);//this is in m68kexternal.h + +//memory errors +void dbvzSetBusErrorTimeOut(uint32_t address, bool isWrite); +void dbvzSetPrivilegeViolation(uint32_t address, bool isWrite); +void dbvzSetWriteProtectViolation(uint32_t address); + +//memory accessors +uint8_t dbvzGetRegister8(uint32_t address); +uint16_t dbvzGetRegister16(uint32_t address); +uint32_t dbvzGetRegister32(uint32_t address); +void dbvzSetRegister8(uint32_t address, uint8_t value); +void dbvzSetRegister16(uint32_t address, uint16_t value); +void dbvzSetRegister32(uint32_t address, uint32_t value); + +//config +void dbvzResetRegisters(void); +void dbvzSetRtc(uint16_t days, uint8_t hours, uint8_t minutes, uint8_t seconds); + +#endif diff --git a/src/hardwareRegistersTiming.c.h b/src/dbvzTiming.c.h similarity index 91% rename from src/hardwareRegistersTiming.c.h rename to src/dbvzTiming.c.h index 7fec98a..bfa56b4 100644 --- a/src/hardwareRegistersTiming.c.h +++ b/src/dbvzTiming.c.h @@ -16,25 +16,25 @@ static void timer1(uint8_t reason, double sysclks){ return; case 0x0001://SYSCLK / timer prescaler - if(reason != TIMER_REASON_SYSCLK) + if(reason != DBVZ_TIMER_REASON_SYSCLK) return; timerCycleCounter[0] += sysclks / timer1Prescaler; break; case 0x0002://SYSCLK / 16 / timer prescaler - if(reason != TIMER_REASON_SYSCLK) + if(reason != DBVZ_TIMER_REASON_SYSCLK) return; timerCycleCounter[0] += sysclks / 16.0 / timer1Prescaler; break; case 0x0003://TIN/TOUT pin / timer prescaler, the other timer can be attached to TIN/TOUT - if(reason != TIMER_REASON_TIN) + if(reason != DBVZ_TIMER_REASON_TIN) return; timerCycleCounter[0] += 1.0 / timer1Prescaler; break; default://CLK32 / timer prescaler - if(reason != TIMER_REASON_CLK32) + if(reason != DBVZ_TIMER_REASON_CLK32) return; timerCycleCounter[0] += 1.0 / timer1Prescaler; break; @@ -47,7 +47,7 @@ static void timer1(uint8_t reason, double sysclks){ //interrupt enabled if(timer1Control & 0x0010) - setIprIsrBit(INT_TMR1); + setIprIsrBit(DBVZ_INT_TMR1); //checkInterrupts() is run when the clock that called this function is finished //set timer triggered bit @@ -56,7 +56,7 @@ static void timer1(uint8_t reason, double sysclks){ //increment other timer if enabled if(pcrTinToutConfig == 0x03) - timer2(TIMER_REASON_TIN, 0); + timer2(DBVZ_TIMER_REASON_TIN, 0); //not free running, reset to 0, to prevent loss of ticks after compare event just subtract timerXCompare if(!(timer1Control & 0x0100)) @@ -83,25 +83,25 @@ static void timer2(uint8_t reason, double sysclks){ return; case 0x0001://SYSCLK / timer prescaler - if(reason != TIMER_REASON_SYSCLK) + if(reason != DBVZ_TIMER_REASON_SYSCLK) return; timerCycleCounter[1] += sysclks / timer2Prescaler; break; case 0x0002://SYSCLK / 16 / timer prescaler - if(reason != TIMER_REASON_SYSCLK) + if(reason != DBVZ_TIMER_REASON_SYSCLK) return; timerCycleCounter[1] += sysclks / 16.0 / timer2Prescaler; break; case 0x0003://TIN/TOUT pin / timer prescaler, the other timer can be attached to TIN/TOUT - if(reason != TIMER_REASON_TIN) + if(reason != DBVZ_TIMER_REASON_TIN) return; timerCycleCounter[1] += 1.0 / timer2Prescaler; break; default://CLK32 / timer prescaler - if(reason != TIMER_REASON_CLK32) + if(reason != DBVZ_TIMER_REASON_CLK32) return; timerCycleCounter[1] += 1.0 / timer2Prescaler; break; @@ -114,7 +114,7 @@ static void timer2(uint8_t reason, double sysclks){ //interrupt enabled if(timer2Control & 0x0010) - setIprIsrBit(INT_TMR2); + setIprIsrBit(DBVZ_INT_TMR2); //checkInterrupts() is run when the clock that called this function is finished //set timer triggered bit @@ -123,7 +123,7 @@ static void timer2(uint8_t reason, double sysclks){ //increment other timer if enabled if(pcrTinToutConfig == 0x02) - timer1(TIMER_REASON_TIN, 0); + timer1(DBVZ_TIMER_REASON_TIN, 0); //not free running, reset to 0, to prevent loss of ticks after compare event just subtract timerXCompare if(!(timer2Control & 0x0100)) @@ -205,7 +205,7 @@ static void rtiInterruptClk32(void){ triggeredRtiInterrupts &= registerArrayRead16(RTCIENR); if(triggeredRtiInterrupts){ registerArrayWrite16(RTCISR, registerArrayRead16(RTCISR) | triggeredRtiInterrupts); - setIprIsrBit(INT_RTI); + setIprIsrBit(DBVZ_INT_RTI); } } @@ -222,7 +222,7 @@ static void watchdogSecondTickClk32(void){ if(watchdogState & 0x0002){ //interrupt watchdogState |= 0x0080; - setIprIsrBit(INT_WDT); + setIprIsrBit(DBVZ_INT_WDT); } else{ //reset @@ -291,7 +291,7 @@ static void rtcAddSecondClk32(void){ rtcInterruptEvents &= registerArrayRead16(RTCIENR); if(rtcInterruptEvents){ registerArrayWrite16(RTCISR, registerArrayRead16(RTCISR) | rtcInterruptEvents); - setIprIsrBit(INT_RTC); + setIprIsrBit(DBVZ_INT_RTC); } registerArrayWrite32(RTCTIME, newRtcTime); @@ -301,11 +301,11 @@ static void rtcAddSecondClk32(void){ watchdogSecondTickClk32(); } -void beginClk32(void){ +void dbvzBeginClk32(void){ palmClk32Sysclks = 0.0; } -void endClk32(void){ +void dbvzEndClk32(void){ //currently using toggle on read hack //registerArrayWrite16(PLLFSR, registerArrayRead16(PLLFSR) ^ 0x8000); @@ -322,8 +322,8 @@ void endClk32(void){ if(registerArrayRead16(RTCCTL) & 0x0080 || registerArrayRead16(WATCHDOG) & 0x01) rtiInterruptClk32(); - timer1(TIMER_REASON_CLK32, 0); - timer2(TIMER_REASON_CLK32, 0); + timer1(DBVZ_TIMER_REASON_CLK32, 0); + timer2(DBVZ_TIMER_REASON_CLK32, 0); samplePwm1(true/*forClk32*/, 0.0); //PLLCR sleep wait @@ -350,9 +350,9 @@ void endClk32(void){ checkInterrupts(); } -void addSysclks(double count){ - timer1(TIMER_REASON_SYSCLK, count); - timer2(TIMER_REASON_SYSCLK, count); +void dbvzAddSysclks(double count){ + timer1(DBVZ_TIMER_REASON_SYSCLK, count); + timer2(DBVZ_TIMER_REASON_SYSCLK, count); samplePwm1(false/*forClk32*/, count); checkInterrupts(); @@ -370,5 +370,5 @@ static int32_t audioGetFramePercentIncrementFromSysclks(double count){ static int32_t audioGetFramePercentage(void){ //returns how much of the frame has executed //0% = 0, 100% = AUDIO_END_OF_FRAME - return audioGetFramePercentIncrementFromClk32s(palmFrameClk32s) + (pllIsOn() ? audioGetFramePercentIncrementFromSysclks(palmClk32Sysclks) : 0); + return audioGetFramePercentIncrementFromClk32s(palmFrameClk32s) + (dbvzIsPllOn() ? audioGetFramePercentIncrementFromSysclks(palmClk32Sysclks) : 0); } diff --git a/src/debug/sandbox.c b/src/debug/sandbox.c index 765d97d..af71b7c 100644 --- a/src/debug/sandbox.c +++ b/src/debug/sandbox.c @@ -14,7 +14,7 @@ #include "../m68k/m68kcpu.h" #include "../emulator.h" #include "../ads7846.h" -#include "../hardwareRegisters.h" +#include "../dbvzRegisters.h" #include "../portability.h" #include "../specs/emuFeatureRegisterSpec.h" #include "sandbox.h" @@ -165,9 +165,9 @@ static void printTrapInfo(uint16_t trap){ } bool validExecutionAddress(uint32_t address){ - if(chips[CHIP_A0_ROM].inBootMode || address >= chips[CHIP_A0_ROM].start && address < chips[CHIP_A0_ROM].start + chips[CHIP_A0_ROM].lineSize) + if(chips[DBVZ_CHIP_A0_ROM].inBootMode || address >= chips[DBVZ_CHIP_A0_ROM].start && address < chips[DBVZ_CHIP_A0_ROM].start + chips[DBVZ_CHIP_A0_ROM].lineSize) return true; - if(address >= chips[CHIP_DX_RAM].start && address < chips[CHIP_DX_RAM].start + chips[CHIP_DX_RAM].lineSize) + if(address >= chips[DBVZ_CHIP_DX_RAM].start && address < chips[DBVZ_CHIP_DX_RAM].start + chips[DBVZ_CHIP_DX_RAM].lineSize) return true; if(sandboxActive && address >= 0xFFFFFE00)//used to run custom code when in sandbox mode return true; @@ -252,8 +252,8 @@ static uint32_t scanForPrivateFunctionAddress(const char* name){ //function name format [0x**(unknown), string(with null terminator), 0x00, 0x00(if last 0x00 was on an even address, protects opcode alignemnt)] //this is not 100% accurate, it scans memory for a function address based on a string //if a duplicate set of stings is found but not encasing a function a fatal error will occur on execution - uint32_t rangeEnd = chips[CHIP_A0_ROM].start + chips[CHIP_A0_ROM].lineSize - 1; - uint32_t address = find68kString(name, chips[CHIP_A0_ROM].start, rangeEnd); + uint32_t rangeEnd = chips[DBVZ_CHIP_A0_ROM].start + chips[DBVZ_CHIP_A0_ROM].lineSize - 1; + uint32_t address = find68kString(name, chips[DBVZ_CHIP_A0_ROM].start, rangeEnd); while(address < rangeEnd){ uint32_t signatureBegining = address - 3;//last opcode of function being looked for if the string is correct @@ -376,7 +376,7 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ */ uint32_t palmSideResourceData = sandboxCallGuestFunction(false, 0x00000000, MemChunkNew, "p(wlw)", 1/*heapID, storage RAM*/, resourceBuffer.size, 0x1200/*attr, seems to work without memOwnerID*/); - bool storageRamReadOnly = chips[CHIP_DX_RAM].readOnlyForProtectedMemory; + bool storageRamReadOnly = chips[DBVZ_CHIP_DX_RAM].readOnlyForProtectedMemory; uint16_t error; uint32_t count; @@ -384,10 +384,10 @@ static bool installResourceToDevice(buffer_t resourceBuffer){ if(!palmSideResourceData) return false; - chips[CHIP_DX_RAM].readOnlyForProtectedMemory = false;//need to unprotect storage RAM + chips[DBVZ_CHIP_DX_RAM].readOnlyForProtectedMemory = false;//need to unprotect storage RAM for(count = 0; count < resourceBuffer.size; count++) m68k_write_memory_8(palmSideResourceData + count, resourceBuffer.data[count]); - chips[CHIP_DX_RAM].readOnlyForProtectedMemory = storageRamReadOnly;//restore old protection state + chips[DBVZ_CHIP_DX_RAM].readOnlyForProtectedMemory = storageRamReadOnly;//restore old protection state error = sandboxCallGuestFunction(false, 0x00000000, DmCreateDatabaseFromImage, "w(p)", palmSideResourceData);//Err DmCreateDatabaseFromImage(MemPtr bufferP);//this looks best sandboxCallGuestFunction(false, 0x00000000, MemChunkFree, "w(p)", palmSideResourceData); @@ -1197,7 +1197,7 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t if(!functionValid) function = "NAME NOT FOUND"; - if(address >= chips[CHIP_DX_RAM].start && address < chips[CHIP_DX_RAM].start + 0x10000){ + if(address >= chips[DBVZ_CHIP_DX_RAM].start && address < chips[DBVZ_CHIP_DX_RAM].start + 0x10000){ //low mem globals address &= 0xFFFF; @@ -1232,7 +1232,7 @@ void sandboxOnMemoryAccess(uint32_t address, uint8_t size, bool write, uint32_t debugLog("Reading hardware register: name:%s/address:0x%08X, size:%d, function:%s/PC:0x%08X\n", registerName, address, size, function, pc); } } - else if(address >= chips[CHIP_B0_SED].start && address < chips[CHIP_B0_SED].start + chips[CHIP_B0_SED].lineSize){ + else if(address >= chips[DBVZ_CHIP_B0_SED].start && address < chips[DBVZ_CHIP_B0_SED].start + chips[DBVZ_CHIP_B0_SED].lineSize){ //SED1376 if(address & SED1376_MR_BIT){ //SED1376 data diff --git a/src/emulator.c b/src/emulator.c index d7aadb5..644cb4f 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -6,9 +6,9 @@ #include "audio/blip_buf.h" #include "flx68000.h" #include "emulator.h" -#include "hardwareRegisters.h" +#include "dbvzRegisters.h" #include "expansionHardware.h" -#include "memoryAccess.h" +#include "m515Bus.h" #include "sed1376.h" #include "ads7846.h" #include "pdiUsbD12.h" @@ -68,10 +68,10 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab return EMU_ERROR_INVALID_PARAMETER; //allocate buffers, add 4 to memory regions to prevent SIGSEGV from accessing off the end - palmRam = malloc(RAM_SIZE + 4); - palmRom = malloc(ROM_SIZE + 4); - palmReg = malloc(REG_SIZE + 4); - palmFramebuffer = malloc(480 * 480 * sizeof(uint16_t)); + palmRam = malloc(M515_RAM_SIZE + 4); + palmRom = malloc(M515_ROM_SIZE + 4); + palmReg = malloc(DBVZ_REG_SIZE + 4); + palmFramebuffer = malloc(160 * 220 * sizeof(uint16_t)); palmAudio = malloc(AUDIO_SAMPLES_PER_FRAME * 2 * sizeof(int16_t)); palmAudioResampler = blip_new(AUDIO_SAMPLE_RATE);//have 1 second of samples if(!palmRam || !palmRom || !palmReg || !palmFramebuffer || !palmAudio || !palmAudioResampler){ @@ -85,19 +85,19 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab } //set default values - memset(palmRam, 0x00, RAM_SIZE); - memcpy(palmRom, palmRomDump.data, u32Min(palmRomDump.size, ROM_SIZE)); - if(palmRomDump.size < ROM_SIZE) - memset(palmRom + palmRomDump.size, 0x00, ROM_SIZE - palmRomDump.size); - swap16BufferIfLittle(palmRom, ROM_SIZE / sizeof(uint16_t)); + memset(palmRam, 0x00, M515_RAM_SIZE); + memcpy(palmRom, palmRomDump.data, u32Min(palmRomDump.size, M515_ROM_SIZE)); + if(palmRomDump.size < M515_ROM_SIZE) + memset(palmRom + palmRomDump.size, 0x00, M515_ROM_SIZE - palmRomDump.size); + swap16BufferIfLittle(palmRom, M515_ROM_SIZE / sizeof(uint16_t)); if(palmBootDump.data){ - memcpy(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE, palmBootDump.data, u32Min(palmBootDump.size, BOOTLOADER_SIZE)); - if(palmBootDump.size < BOOTLOADER_SIZE) - memset(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE + palmBootDump.size, 0x00, BOOTLOADER_SIZE - palmBootDump.size); - swap16BufferIfLittle(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE, BOOTLOADER_SIZE / sizeof(uint16_t)); + memcpy(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, palmBootDump.data, u32Min(palmBootDump.size, DBVZ_BOOTLOADER_SIZE)); + if(palmBootDump.size < DBVZ_BOOTLOADER_SIZE) + memset(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE + palmBootDump.size, 0x00, DBVZ_BOOTLOADER_SIZE - palmBootDump.size); + swap16BufferIfLittle(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, DBVZ_BOOTLOADER_SIZE / sizeof(uint16_t)); } else{ - memset(palmReg + REG_SIZE - 1 - BOOTLOADER_SIZE, 0x00, BOOTLOADER_SIZE); + memset(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, 0x00, DBVZ_BOOTLOADER_SIZE); } memset(palmAudio, 0x00, AUDIO_SAMPLES_PER_FRAME * 2/*channels*/ * sizeof(int16_t)); memset(&palmInput, 0x00, sizeof(palmInput)); @@ -115,7 +115,7 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab //reset everything emulatorSoftReset(); - setRtc(0, 0, 0, 0);//RTCTIME and DAYR are not cleared by reset, clear them manually in case the frontend doesnt set the RTC + dbvzSetRtc(0, 0, 0, 0);//RTCTIME and DAYR are not cleared by reset, clear them manually in case the frontend doesnt set the RTC emulatorInitialized = true; @@ -137,10 +137,10 @@ void emulatorExit(void){ void emulatorHardReset(void){ //equivalent to taking the battery out and putting it back in - memset(palmRam, 0x00, RAM_SIZE); + memset(palmRam, 0x00, M515_RAM_SIZE); emulatorSoftReset(); sdCardReset(); - setRtc(0, 0, 0, 0); + dbvzSetRtc(0, 0, 0, 0); } void emulatorSoftReset(void){ @@ -159,7 +159,7 @@ void emulatorSoftReset(void){ } void emulatorSetRtc(uint16_t days, uint8_t hours, uint8_t minutes, uint8_t seconds){ - setRtc(days, hours, minutes, seconds); + dbvzSetRtc(days, hours, minutes, seconds); } uint32_t emulatorGetStateSize(void){ @@ -175,11 +175,11 @@ uint32_t emulatorGetStateSize(void){ size += pdiUsbD12StateSize(); size += expansionHardwareStateSize(); size += sandboxStateSize(); - size += RAM_SIZE;//system RAM buffer - size += REG_SIZE;//hardware registers - size += TOTAL_MEMORY_BANKS;//bank handlers - size += sizeof(uint32_t) * 4 * CHIP_END;//chip select states - size += sizeof(uint8_t) * 5 * CHIP_END;//chip select states + size += M515_RAM_SIZE;//system RAM buffer + size += DBVZ_REG_SIZE;//hardware registers + size += DBVZ_TOTAL_MEMORY_BANKS;//bank handlers + size += sizeof(uint32_t) * 4 * DBVZ_CHIP_END;//chip select states + size += sizeof(uint8_t) * 5 * DBVZ_CHIP_END;//chip select states size += sizeof(uint64_t) * 5;//32.32 fixed point double, timerXCycleCounter and CPU cycle timers size += sizeof(int8_t);//pllSleepWait size += sizeof(int8_t);//pllWakeWait @@ -249,15 +249,15 @@ bool emulatorSaveState(buffer_t buffer){ offset += sandboxStateSize(); //memory - memcpy(buffer.data + offset, palmRam, RAM_SIZE); - swap16BufferIfLittle(buffer.data + offset, RAM_SIZE / sizeof(uint16_t)); - offset += RAM_SIZE; - memcpy(buffer.data + offset, palmReg, REG_SIZE); - swap16BufferIfLittle(buffer.data + offset, REG_SIZE / sizeof(uint16_t)); - offset += REG_SIZE; - memcpy(buffer.data + offset, bankType, TOTAL_MEMORY_BANKS); - offset += TOTAL_MEMORY_BANKS; - for(index = CHIP_BEGIN; index < CHIP_END; index++){ + memcpy(buffer.data + offset, palmRam, M515_RAM_SIZE); + swap16BufferIfLittle(buffer.data + offset, M515_RAM_SIZE / sizeof(uint16_t)); + offset += M515_RAM_SIZE; + memcpy(buffer.data + offset, palmReg, DBVZ_REG_SIZE); + swap16BufferIfLittle(buffer.data + offset, DBVZ_REG_SIZE / sizeof(uint16_t)); + offset += DBVZ_REG_SIZE; + memcpy(buffer.data + offset, dbvzBankType, DBVZ_TOTAL_MEMORY_BANKS); + offset += DBVZ_TOTAL_MEMORY_BANKS; + for(index = DBVZ_CHIP_BEGIN; index < DBVZ_CHIP_END; index++){ writeStateValue8(buffer.data + offset, chips[index].enable); offset += sizeof(uint8_t); writeStateValue32(buffer.data + offset, chips[index].start); @@ -447,15 +447,15 @@ bool emulatorLoadState(buffer_t buffer){ offset += sandboxStateSize(); //memory - memcpy(palmRam, buffer.data + offset, RAM_SIZE); - swap16BufferIfLittle(palmRam, RAM_SIZE / sizeof(uint16_t)); - offset += RAM_SIZE; - memcpy(palmReg, buffer.data + offset, REG_SIZE); - swap16BufferIfLittle(palmReg, REG_SIZE / sizeof(uint16_t)); - offset += REG_SIZE; - memcpy(bankType, buffer.data + offset, TOTAL_MEMORY_BANKS); - offset += TOTAL_MEMORY_BANKS; - for(index = CHIP_BEGIN; index < CHIP_END; index++){ + memcpy(palmRam, buffer.data + offset, M515_RAM_SIZE); + swap16BufferIfLittle(palmRam, M515_RAM_SIZE / sizeof(uint16_t)); + offset += M515_RAM_SIZE; + memcpy(palmReg, buffer.data + offset, DBVZ_REG_SIZE); + swap16BufferIfLittle(palmReg, DBVZ_REG_SIZE / sizeof(uint16_t)); + offset += DBVZ_REG_SIZE; + memcpy(dbvzBankType, buffer.data + offset, DBVZ_TOTAL_MEMORY_BANKS); + offset += DBVZ_TOTAL_MEMORY_BANKS; + for(index = DBVZ_CHIP_BEGIN; index < DBVZ_CHIP_END; index++){ chips[index].enable = readStateValue8(buffer.data + offset); offset += sizeof(uint8_t); chips[index].start = readStateValue32(buffer.data + offset); @@ -607,25 +607,25 @@ bool emulatorLoadState(buffer_t buffer){ } uint32_t emulatorGetRamSize(void){ - return RAM_SIZE; + return M515_RAM_SIZE; } bool emulatorSaveRam(buffer_t buffer){ - if(buffer.size < RAM_SIZE) + if(buffer.size < M515_RAM_SIZE) return false; - memcpy(buffer.data, palmRam, RAM_SIZE); - swap16BufferIfLittle(buffer.data, RAM_SIZE / sizeof(uint16_t)); + memcpy(buffer.data, palmRam, M515_RAM_SIZE); + swap16BufferIfLittle(buffer.data, M515_RAM_SIZE / sizeof(uint16_t)); return true; } bool emulatorLoadRam(buffer_t buffer){ - if(buffer.size < RAM_SIZE) + if(buffer.size < M515_RAM_SIZE) return false; - memcpy(palmRam, buffer.data, RAM_SIZE); - swap16BufferIfLittle(palmRam, RAM_SIZE / sizeof(uint16_t)); + memcpy(palmRam, buffer.data, M515_RAM_SIZE); + swap16BufferIfLittle(palmRam, M515_RAM_SIZE / sizeof(uint16_t)); return true; } @@ -680,7 +680,7 @@ void emulatorRunFrame(void){ uint32_t samples; //I/O - refreshInputState(); + m515RefreshInputState(); //CPU palmFrameClk32s = 0; diff --git a/src/emulator.h b/src/emulator.h index cdd8df2..315b3f3 100644 --- a/src/emulator.h +++ b/src/emulator.h @@ -12,7 +12,7 @@ extern "C" { #include #include "audio/blip_buf.h" -#include "memoryAccess.h"//for size macros +#include "m515Bus.h"//for size macros #include "specs/emuFeatureRegisterSpec.h"//for feature names //DEFINE INFO!!! diff --git a/src/expansionHardware.c b/src/expansionHardware.c index a85f782..3b0ee98 100644 --- a/src/expansionHardware.c +++ b/src/expansionHardware.c @@ -5,8 +5,8 @@ #include "emulator.h" #include "portability.h" #include "specs/emuFeatureRegisterSpec.h" -#include "memoryAccess.h" -#include "hardwareRegisters.h" +#include "m515Bus.h" +#include "dbvzRegisters.h" #include "silkscreen.h" #include "sed1376.h" #include "flx68000.h" diff --git a/src/flx68000.c b/src/flx68000.c index 50ff2b8..eda080c 100755 --- a/src/flx68000.c +++ b/src/flx68000.c @@ -3,8 +3,8 @@ #include "emulator.h" #include "portability.h" -#include "hardwareRegisters.h" -#include "memoryAccess.h" +#include "dbvzRegisters.h" +#include "m515Bus.h" #include "m68k/m68kcpu.h" @@ -19,19 +19,19 @@ void flx68000PcLongJump(uint32_t newPc){ uint32_t windowSize; switch(bankType[START_BANK(newPc)]){ - case CHIP_A0_ROM: + case DBVZ_CHIP_A0_ROM: dataBufferHost = (uintptr_t)palmRom; - dataBufferGuest = chips[CHIP_A0_ROM].start; - windowSize = chips[CHIP_A0_ROM].mask + 1; + dataBufferGuest = chips[DBVZ_CHIP_A0_ROM].start; + windowSize = chips[DBVZ_CHIP_A0_ROM].mask + 1; break; - case CHIP_DX_RAM: + case DBVZ_CHIP_DX_RAM: dataBufferHost = (uintptr_t)palmRam; - dataBufferGuest = chips[CHIP_DX_RAM].start; - windowSize = chips[CHIP_DX_RAM].mask + 1; + dataBufferGuest = chips[DBVZ_CHIP_DX_RAM].start; + windowSize = chips[DBVZ_CHIP_DX_RAM].mask + 1; break; - case CHIP_REGISTERS: + case DBVZ_CHIP_REGISTERS: //needed for when EMU_NO_SAFETY is set and a function is run in the sandbox dataBufferHost = (uintptr_t)palmReg; dataBufferGuest = BANK_ADDRESS(START_BANK(newPc)); @@ -93,8 +93,8 @@ void flx68000Init(void){ } void flx68000Reset(void){ - resetHwRegisters(); - resetAddressSpace();//address space must be reset after hardware registers because it is dependent on them + dbvzResetRegisters(); + dbvzResetAddressSpace();//address space must be reset after hardware registers because it is dependent on them m68k_pulse_reset(); } @@ -252,7 +252,7 @@ void flx68000LoadStateFinished(void){ void flx68000Execute(void){ double cyclesRemaining = palmSysclksPerClk32; - beginClk32(); + dbvzBeginClk32(); while(cyclesRemaining >= 1.0){ double sysclks = dMin(cyclesRemaining, EMU_SYSCLK_PRECISION); @@ -260,12 +260,12 @@ void flx68000Execute(void){ if(cpuCycles > 0) m68k_execute(cpuCycles); - addSysclks(sysclks); + dbvzAddSysclks(sysclks); cyclesRemaining -= sysclks; } - endClk32(); + dbvzEndClk32(); } void flx68000SetIrq(uint8_t irqLevel){ @@ -297,7 +297,7 @@ uint64_t flx68000ReadArbitraryMemory(uint32_t address, uint8_t size){ uint64_t data = UINT64_MAX;//invalid access //reading from a hardware register FIFO will corrupt it! - if(bankType[START_BANK(address)] != CHIP_NONE){ + if(dbvzBankType[DBVZ_START_BANK(address)] != DBVZ_CHIP_NONE){ uint16_t m68kSr = m68k_get_reg(NULL, M68K_REG_SR); m68k_set_reg(M68K_REG_SR, 0x2000);//prevent privilege violations switch(size){ diff --git a/src/hardwareRegisters.h b/src/hardwareRegisters.h deleted file mode 100644 index 19e8a54..0000000 --- a/src/hardwareRegisters.h +++ /dev/null @@ -1,119 +0,0 @@ -#ifndef HARDWARE_REGISTERS_H -#define HARDWARE_REGISTERS_H - -#include -#include - -//interrupt names -#define INT_EMIQ 0x00800000//level 7 -#define INT_RTI 0x00400000//level 4 -#define INT_SPI1 0x00200000//level 1<->6, configurable, datasheet is contraditory on this one -#define INT_IRQ5 0x00100000//level 5 -#define INT_IRQ6 0x00080000//level 6 -#define INT_IRQ3 0x00040000//level 3 -#define INT_IRQ2 0x00020000//level 2 -#define INT_IRQ1 0x00010000//level 1 -#define INT_PWM2 0x00002000//level 1<->6, configurable -#define INT_UART2 0x00001000//level 1<->6, configurable -#define INT_INT3 0x00000800//level 4 -#define INT_INT2 0x00000400//level 4 -#define INT_INT1 0x00000200//level 4 -#define INT_INT0 0x00000100//level 4 -#define INT_PWM1 0x00000080//level 6 -#define INT_KB 0x00000040//level 4 -#define INT_TMR2 0x00000020//level 1<->6, configurable -#define INT_RTC 0x00000010//level 4 -#define INT_WDT 0x00000008//level 4 -#define INT_UART1 0x00000004//level 4 -#define INT_TMR1 0x00000002//level 6 -#define INT_SPI2 0x00000001//level 4 - -//reasons a timer is triggered -#define TIMER_REASON_SYSCLK 0x00 -#define TIMER_REASON_TIN 0x01 -#define TIMER_REASON_CLK32 0x02 - -//chip names -enum{ - CHIP_BEGIN = 0, - CHIP_A0_ROM = 0, - CHIP_A1_USB, - CHIP_B0_SED, - CHIP_B1_NIL, - //CHIP_CX_RAM, //CSC* is owned by CSD during normal operation - CHIP_DX_RAM, - CHIP_00_EMU, //used for EMUCS on hardware, used by the emu registers here - CHIP_REGISTERS, - CHIP_NONE, - CHIP_END -}; - -//types -typedef struct{ - bool enable; - uint32_t start; - uint32_t lineSize;//the size of a single chip select line, multiply by 2 to get the range size for RAM - uint32_t mask;//the address lines the chip responds to, so 0x10000 on an chip with 16 address lines will return the value at 0x0000 - - //attributes - bool inBootMode; - bool readOnly; - bool readOnlyForProtectedMemory; - bool supervisorOnlyProtectedMemory; - uint32_t unprotectedSize; -}chip_t; - -//variables -extern chip_t chips[]; -extern int8_t pllSleepWait; -extern int8_t pllWakeWait; -extern uint32_t clk32Counter; -extern double pctlrCpuClockDivider; -extern double timerCycleCounter[]; -extern uint16_t timerStatusReadAcknowledge[]; -extern uint8_t portDInterruptLastValue; -extern uint16_t spi1RxFifo[]; -extern uint16_t spi1TxFifo[]; -extern uint8_t spi1RxReadPosition; -extern uint8_t spi1RxWritePosition; -extern bool spi1RxOverflowed; -extern uint8_t spi1TxReadPosition; -extern uint8_t spi1TxWritePosition; -extern int32_t pwm1ClocksToNextSample; -extern uint8_t pwm1Fifo[]; -extern uint8_t pwm1ReadPosition; -extern uint8_t pwm1WritePosition; - -//timing -void beginClk32(void); -void endClk32(void); -void addSysclks(double value);//only call between begin/endClk32 - -//CPU -bool pllIsOn(void); -bool backlightAmplifierState(void); -bool registersAreXXFFMapped(void); -bool sed1376ClockConnected(void); -void ads7846OverridePenState(bool value); -void refreshTouchState(void);//just refreshes the touchscreen -void refreshInputState(void);//refreshes touchscreen, buttons and docked status -//int32_t interruptAcknowledge(int32_t intLevel);//this is in m68kexternal.h - -//memory errors -void setBusErrorTimeOut(uint32_t address, bool isWrite); -void setPrivilegeViolation(uint32_t address, bool isWrite); -void setWriteProtectViolation(uint32_t address); - -//memory accessors -uint8_t getHwRegister8(uint32_t address); -uint16_t getHwRegister16(uint32_t address); -uint32_t getHwRegister32(uint32_t address); -void setHwRegister8(uint32_t address, uint8_t value); -void setHwRegister16(uint32_t address, uint16_t value); -void setHwRegister32(uint32_t address, uint32_t value); - -//config -void resetHwRegisters(void); -void setRtc(uint16_t days, uint8_t hours, uint8_t minutes, uint8_t seconds); - -#endif diff --git a/src/m515Bus.c b/src/m515Bus.c new file mode 100644 index 0000000..d8e082c --- /dev/null +++ b/src/m515Bus.c @@ -0,0 +1,435 @@ +#include +#include + +#include "emulator.h" +#include "dbvzRegisters.h" +#include "expansionHardware.h" +#include "m515Bus.h" +#include "portability.h" +#include "flx68000.h" +#include "sed1376.h" +#include "pdiUsbD12.h" +#include "debug/sandbox.h" + + +uint8_t dbvzBankType[DBVZ_TOTAL_MEMORY_BANKS]; + + +//RAM accesses +static uint8_t ramRead8(uint32_t address){return BUFFER_READ_8(palmRam, address, chips[DBVZ_CHIP_DX_RAM].mask);} +static uint16_t ramRead16(uint32_t address){return BUFFER_READ_16(palmRam, address, chips[DBVZ_CHIP_DX_RAM].mask);} +static uint32_t ramRead32(uint32_t address){return BUFFER_READ_32(palmRam, address, chips[DBVZ_CHIP_DX_RAM].mask);} +static void ramWrite8(uint32_t address, uint8_t value){BUFFER_WRITE_8(palmRam, address, chips[DBVZ_CHIP_DX_RAM].mask, value);} +static void ramWrite16(uint32_t address, uint16_t value){BUFFER_WRITE_16(palmRam, address, chips[DBVZ_CHIP_DX_RAM].mask, value);} +static void ramWrite32(uint32_t address, uint32_t value){BUFFER_WRITE_32(palmRam, address, chips[DBVZ_CHIP_DX_RAM].mask, value);} + +//ROM accesses +static uint8_t romRead8(uint32_t address){return BUFFER_READ_8(palmRom, address, chips[DBVZ_CHIP_A0_ROM].mask);} +static uint16_t romRead16(uint32_t address){return BUFFER_READ_16(palmRom, address, chips[DBVZ_CHIP_A0_ROM].mask);} +static uint32_t romRead32(uint32_t address){return BUFFER_READ_32(palmRom, address, chips[DBVZ_CHIP_A0_ROM].mask);} + +//SED1376 accesses +static uint8_t sed1376Read8(uint32_t address){ +#if !defined(EMU_NO_SAFETY) + if(sed1376PowerSaveEnabled()) + return 0x00; +#endif + if(address & SED1376_MR_BIT) + return BUFFER_READ_8_BIG_ENDIAN(sed1376Ram, address, chips[DBVZ_CHIP_B0_SED].mask); + else + return sed1376GetRegister(address & chips[DBVZ_CHIP_B0_SED].mask); +} +static uint16_t sed1376Read16(uint32_t address){ +#if !defined(EMU_NO_SAFETY) + if(sed1376PowerSaveEnabled()) + return 0x0000; +#endif + if(address & SED1376_MR_BIT) + return BUFFER_READ_16_BIG_ENDIAN(sed1376Ram, address, chips[DBVZ_CHIP_B0_SED].mask); + else + return sed1376GetRegister(address & chips[DBVZ_CHIP_B0_SED].mask); +} +static uint32_t sed1376Read32(uint32_t address){ +#if !defined(EMU_NO_SAFETY) + if(sed1376PowerSaveEnabled()) + return 0x00000000; +#endif + if(address & SED1376_MR_BIT) + return BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, chips[DBVZ_CHIP_B0_SED].mask); + else + return sed1376GetRegister(address & chips[DBVZ_CHIP_B0_SED].mask); +} +static void sed1376Write8(uint32_t address, uint8_t value){ + if(address & SED1376_MR_BIT) + BUFFER_WRITE_8_BIG_ENDIAN(sed1376Ram, address, chips[DBVZ_CHIP_B0_SED].mask, value); + else + sed1376SetRegister(address & chips[DBVZ_CHIP_B0_SED].mask, value); +} +static void sed1376Write16(uint32_t address, uint16_t value){ + if(address & SED1376_MR_BIT) + BUFFER_WRITE_16_BIG_ENDIAN(sed1376Ram, address, chips[DBVZ_CHIP_B0_SED].mask, value); + else + sed1376SetRegister(address & chips[DBVZ_CHIP_B0_SED].mask, value); +} +static void sed1376Write32(uint32_t address, uint32_t value){ + if(address & SED1376_MR_BIT) + BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, chips[DBVZ_CHIP_B0_SED].mask, value); + else + sed1376SetRegister(address & chips[DBVZ_CHIP_B0_SED].mask, value); +} + +static bool probeRead(uint8_t bank, uint32_t address){ + if(chips[bank].supervisorOnlyProtectedMemory){ + uint32_t index = address - chips[bank].start; + if(index >= chips[bank].unprotectedSize && !flx68000IsSupervisor()){ + dbvzSetPrivilegeViolation(address, false); + return false; + } + } + return true; +} + +static bool probeWrite(uint8_t bank, uint32_t address){ + if(chips[bank].readOnly){ + dbvzSetWriteProtectViolation(address); + return false; + } + else if(chips[bank].supervisorOnlyProtectedMemory || chips[bank].readOnlyForProtectedMemory){ + uint32_t index = address - chips[bank].start; + if(index >= chips[bank].unprotectedSize){ + if(chips[bank].supervisorOnlyProtectedMemory && !flx68000IsSupervisor()){ + dbvzSetPrivilegeViolation(address, true); + return false; + } + if(chips[bank].readOnlyForProtectedMemory){ + dbvzSetWriteProtectViolation(address); + return false; + } + } + } + return true; +} + +uint8_t m68k_read_memory_8(uint32_t address){ + uint8_t addressType = dbvzBankType[DBVZ_START_BANK(address)]; + +#if !defined(EMU_NO_SAFETY) + if(!probeRead(addressType, address)) + return 0x00; +#endif + +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) + sandboxOnMemoryAccess(address, 8, false, 0); +#endif + + switch(addressType){ + case DBVZ_CHIP_A0_ROM: + return romRead8(address); + + case DBVZ_CHIP_A1_USB: + return pdiUsbD12GetRegister(!!(address & chips[DBVZ_CHIP_A1_USB].mask)); + + case DBVZ_CHIP_B0_SED: + return sed1376Read8(address); + + case DBVZ_CHIP_DX_RAM: + return ramRead8(address); + + case DBVZ_CHIP_00_EMU: + return 0x00; + + case DBVZ_CHIP_REGISTERS: + return dbvzGetRegister8(address); + + case DBVZ_CHIP_B1_NIL: + case DBVZ_CHIP_NONE: + dbvzSetBusErrorTimeOut(address, false); + return 0x00; + + default: + debugLog("Unknown bank type:%d\n", dbvzBankType[DBVZ_START_BANK(address)]); + return 0x00; + } +} + +uint16_t m68k_read_memory_16(uint32_t address){ + uint8_t addressType = dbvzBankType[DBVZ_START_BANK(address)]; + +#if !defined(EMU_NO_SAFETY) + if(!probeRead(addressType, address)) + return 0x0000; +#endif + +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) + sandboxOnMemoryAccess(address, 16, false, 0); +#endif + + switch(addressType){ + case DBVZ_CHIP_A0_ROM: + return romRead16(address); + + case DBVZ_CHIP_A1_USB: + return pdiUsbD12GetRegister(!!(address & chips[DBVZ_CHIP_A1_USB].mask)); + + case DBVZ_CHIP_B0_SED: + return sed1376Read16(address); + + case DBVZ_CHIP_DX_RAM: + return ramRead16(address); + + case DBVZ_CHIP_00_EMU: + return 0x0000; + + case DBVZ_CHIP_REGISTERS: + return dbvzGetRegister16(address); + + case DBVZ_CHIP_B1_NIL: + case DBVZ_CHIP_NONE: + dbvzSetBusErrorTimeOut(address, false); + return 0x0000; + + default: + debugLog("Unknown bank type:%d\n", dbvzBankType[DBVZ_START_BANK(address)]); + return 0x0000; + } +} + +uint32_t m68k_read_memory_32(uint32_t address){ + uint8_t addressType = dbvzBankType[DBVZ_START_BANK(address)]; + +#if !defined(EMU_NO_SAFETY) + if(!probeRead(addressType, address)) + return 0x00000000; +#endif + +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) + sandboxOnMemoryAccess(address, 32, false, 0); +#endif + + switch(addressType){ + case DBVZ_CHIP_A0_ROM: + return romRead32(address); + + case DBVZ_CHIP_A1_USB: + return pdiUsbD12GetRegister(!!(address & chips[DBVZ_CHIP_A1_USB].mask)); + + case DBVZ_CHIP_B0_SED: + return sed1376Read32(address); + + case DBVZ_CHIP_DX_RAM: + return ramRead32(address); + + case DBVZ_CHIP_00_EMU: + return expansionHardwareGetRegister(address); + + case DBVZ_CHIP_REGISTERS: + return dbvzGetRegister32(address); + + case DBVZ_CHIP_B1_NIL: + case DBVZ_CHIP_NONE: + dbvzSetBusErrorTimeOut(address, false); + return 0x00000000; + + default: + debugLog("Unknown bank type:%d\n", dbvzBankType[DBVZ_START_BANK(address)]); + return 0x00000000; + } +} + +void m68k_write_memory_8(uint32_t address, uint8_t value){ + uint8_t addressType = dbvzBankType[DBVZ_START_BANK(address)]; + +#if !defined(EMU_NO_SAFETY) + if(!probeWrite(addressType, address)) + return; +#endif + +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) + sandboxOnMemoryAccess(address, 8, true, value); +#endif + + switch(addressType){ + case DBVZ_CHIP_A0_ROM: + return; + + case DBVZ_CHIP_A1_USB: + pdiUsbD12SetRegister(!!(address & chips[DBVZ_CHIP_A1_USB].mask), value); + return; + + case DBVZ_CHIP_B0_SED: + sed1376Write8(address, value); + return; + + case DBVZ_CHIP_DX_RAM: + ramWrite8(address, value); + return; + + case DBVZ_CHIP_00_EMU: + return; + + case DBVZ_CHIP_REGISTERS: + dbvzSetRegister8(address, value); + return; + + case DBVZ_CHIP_B1_NIL: + case DBVZ_CHIP_NONE: + dbvzSetBusErrorTimeOut(address, true); + return; + + default: + debugLog("Unknown bank type:%d\n", dbvzBankType[DBVZ_START_BANK(address)]); + return; + } +} + +void m68k_write_memory_16(uint32_t address, uint16_t value){ + uint8_t addressType = dbvzBankType[DBVZ_START_BANK(address)]; + +#if !defined(EMU_NO_SAFETY) + if(!probeWrite(addressType, address)) + return; +#endif + +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) + sandboxOnMemoryAccess(address, 16, true, value); +#endif + + switch(addressType){ + case DBVZ_CHIP_A0_ROM: + return; + + case DBVZ_CHIP_A1_USB: + pdiUsbD12SetRegister(!!(address & chips[DBVZ_CHIP_A1_USB].mask), value); + return; + + case DBVZ_CHIP_B0_SED: + sed1376Write16(address, value); + return; + + case DBVZ_CHIP_DX_RAM: + ramWrite16(address, value); + return; + + case DBVZ_CHIP_00_EMU: + return; + + case DBVZ_CHIP_REGISTERS: + dbvzSetRegister16(address, value); + return; + + case DBVZ_CHIP_B1_NIL: + case DBVZ_CHIP_NONE: + dbvzSetBusErrorTimeOut(address, true); + return; + + default: + debugLog("Unknown bank type:%d\n", dbvzBankType[DBVZ_START_BANK(address)]); + return; + } +} + +void m68k_write_memory_32(uint32_t address, uint32_t value){ + uint8_t addressType = dbvzBankType[DBVZ_START_BANK(address)]; + +#if !defined(EMU_NO_SAFETY) + if(!probeWrite(addressType, address)) + return; +#endif + +#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) + sandboxOnMemoryAccess(address, 32, true, value); +#endif + + switch(addressType){ + case DBVZ_CHIP_A0_ROM: + return; + + case DBVZ_CHIP_A1_USB: + pdiUsbD12SetRegister(!!(address & chips[DBVZ_CHIP_A1_USB].mask), value); + return; + + case DBVZ_CHIP_B0_SED: + sed1376Write32(address, value); + return; + + case DBVZ_CHIP_DX_RAM: + ramWrite32(address, value); + return; + + case DBVZ_CHIP_00_EMU: + expansionHardwareSetRegister(address, value); + return; + + case DBVZ_CHIP_REGISTERS: + dbvzSetRegister32(address, value); + return; + + case DBVZ_CHIP_B1_NIL: + case DBVZ_CHIP_NONE: + dbvzSetBusErrorTimeOut(address, true); + return; + + default: + debugLog("Unknown bank type:%d\n", dbvzBankType[DBVZ_START_BANK(address)]); + return; + } +} + +void m68k_write_memory_32_pd(uint32_t address, uint32_t value){ + m68k_write_memory_32(address, value >> 16 | value << 16); +} + +//memory access for the disassembler, unused but must be defined +uint8_t m68k_read_disassembler_8(uint32_t address){return m68k_read_memory_8(address);} +uint16_t m68k_read_disassembler_16(uint32_t address){return m68k_read_memory_16(address);} +uint32_t m68k_read_disassembler_32(uint32_t address){return m68k_read_memory_32(address);} + + +static uint8_t getProperBankType(uint32_t bank){ + //registers have first priority, they cover 0xFFFFF000(and 0xXXFFF000 when DMAP enabled in SCR) even if a chip select overlaps this area or DBVZ_CHIP_A0_ROM is in boot mode + //EMUCS also cant be covered by normal chip selects + if(DBVZ_BANK_IN_RANGE(bank, DBVZ_REG_START_ADDRESS, DBVZ_REG_SIZE) || ((bank & 0x00FF) == 0x00FF && dbvzAreRegistersXXFFMapped())) + return DBVZ_CHIP_REGISTERS; + else if(palmEmuFeatures.info != FEATURE_ACCURATE && DBVZ_BANK_IN_RANGE(bank, DBVZ_EMUCS_START_ADDRESS, DBVZ_EMUCS_SIZE)) + return DBVZ_CHIP_00_EMU; + else if(chips[DBVZ_CHIP_A0_ROM].inBootMode || (chips[DBVZ_CHIP_A0_ROM].enable && DBVZ_BANK_IN_RANGE(bank, chips[DBVZ_CHIP_A0_ROM].start, chips[DBVZ_CHIP_A0_ROM].lineSize))) + return DBVZ_CHIP_A0_ROM; + else if(chips[DBVZ_CHIP_DX_RAM].enable && DBVZ_BANK_IN_RANGE(bank, chips[DBVZ_CHIP_DX_RAM].start, chips[DBVZ_CHIP_DX_RAM].lineSize * 2)) + return DBVZ_CHIP_DX_RAM; + else if(chips[DBVZ_CHIP_B0_SED].enable && DBVZ_BANK_IN_RANGE(bank, chips[DBVZ_CHIP_B0_SED].start, chips[DBVZ_CHIP_B0_SED].lineSize) && sed1376ClockConnected()) + return DBVZ_CHIP_B0_SED; + else if(chips[DBVZ_CHIP_A1_USB].enable && DBVZ_BANK_IN_RANGE(bank, chips[DBVZ_CHIP_A1_USB].start, chips[DBVZ_CHIP_A1_USB].lineSize)) + return DBVZ_CHIP_A1_USB; + else if(chips[DBVZ_CHIP_B1_NIL].enable && DBVZ_BANK_IN_RANGE(bank, chips[DBVZ_CHIP_B1_NIL].start, chips[DBVZ_CHIP_B1_NIL].lineSize)) + return DBVZ_CHIP_B1_NIL; + + return DBVZ_CHIP_NONE; +} + +void dbvzSetRegisterXXFFAccessMode(void){ + uint32_t topByte; + + MULTITHREAD_LOOP(topByte) for(topByte = 0; topByte < 0x100; topByte++) + dbvzBankType[DBVZ_START_BANK(topByte << 24 | 0x00FFF000)] = DBVZ_CHIP_REGISTERS; +} + +void dbvzSetRegisterFFFFAccessMode(void){ + uint32_t topByte; + + MULTITHREAD_LOOP(topByte) for(topByte = 0; topByte < 0x100; topByte++){ + uint32_t bank = DBVZ_START_BANK(topByte << 24 | 0x00FFF000); + dbvzBankType[bank] = getProperBankType(bank); + } +} + +void m515SetSed1376Attached(bool attached){ + if(chips[DBVZ_CHIP_B0_SED].enable && dbvzBankType[DBVZ_START_BANK(chips[DBVZ_CHIP_B0_SED].start)] != (attached ? DBVZ_CHIP_B0_SED : DBVZ_CHIP_NONE)) + memset(&dbvzBankType[DBVZ_START_BANK(chips[DBVZ_CHIP_B0_SED].start)], attached ? DBVZ_CHIP_B0_SED : DBVZ_CHIP_NONE, DBVZ_END_BANK(chips[DBVZ_CHIP_B0_SED].start, chips[DBVZ_CHIP_B0_SED].lineSize) - DBVZ_START_BANK(chips[DBVZ_CHIP_B0_SED].start) + 1); +} + +void dbvzResetAddressSpace(void){ + uint32_t bank; + + MULTITHREAD_LOOP(bank) for(bank = 0; bank < DBVZ_TOTAL_MEMORY_BANKS; bank++) + dbvzBankType[bank] = getProperBankType(bank); +} diff --git a/src/m515Bus.h b/src/m515Bus.h new file mode 100644 index 0000000..4260583 --- /dev/null +++ b/src/m515Bus.h @@ -0,0 +1,36 @@ +#ifndef M515_BUS_H +#define M515_BUS_H + +#include + +//address space +//new bank size (0x4000) +#define DBVZ_BANK_SCOOT 14 +#define DBVZ_NUM_BANKS(areaSize) (((areaSize) >> DBVZ_BANK_SCOOT) + ((areaSize) & ((1 << DBVZ_BANK_SCOOT) - 1) ? 1 : 0)) +#define DBVZ_START_BANK(address) ((address) >> DBVZ_BANK_SCOOT) +#define DBVZ_END_BANK(address, size) (DBVZ_START_BANK(address) + DBVZ_NUM_BANKS(size) - 1) +#define DBVZ_BANK_IN_RANGE(bank, address, size) ((bank) >= DBVZ_START_BANK(address) && (bank) <= DBVZ_END_BANK(address, size)) +#define DBVZ_BANK_ADDRESS(bank) ((bank) << DBVZ_BANK_SCOOT) +#define DBVZ_TOTAL_MEMORY_BANKS (1 << (32 - DBVZ_BANK_SCOOT))//0x40000 banks for BANK_SCOOT = 14 + +//chip addresses and sizes +//after boot RAM is at 0x00000000, +//ROM is at 0x10000000 +//and the SED1376 is at 0x1FF80000(+ 0x20000 for framebuffer) +#define DBVZ_EMUCS_START_ADDRESS 0xFFFC0000 +#define DBVZ_REG_START_ADDRESS 0xFFFFF000 +#define M515_RAM_SIZE (16 * 0x100000)//16mb RAM +#define M515_ROM_SIZE (4 * 0x100000)//4mb ROM +#define DBVZ_EMUCS_SIZE 0x20000 +#define DBVZ_REG_SIZE 0x1000//is actually 0xE00 without bootloader +#define DBVZ_BOOTLOADER_SIZE 0x200 +#define SED1376_MR_BIT 0x20000 + +extern uint8_t dbvzBankType[]; + +void dbvzSetRegisterXXFFAccessMode(void); +void dbvzSetRegisterFFFFAccessMode(void); +void m515SetSed1376Attached(bool attached); +void dbvzResetAddressSpace(void); + +#endif diff --git a/src/memoryAccess.c b/src/memoryAccess.c deleted file mode 100644 index d2aa076..0000000 --- a/src/memoryAccess.c +++ /dev/null @@ -1,435 +0,0 @@ -#include -#include - -#include "emulator.h" -#include "hardwareRegisters.h" -#include "expansionHardware.h" -#include "memoryAccess.h" -#include "portability.h" -#include "flx68000.h" -#include "sed1376.h" -#include "pdiUsbD12.h" -#include "debug/sandbox.h" - - -uint8_t bankType[TOTAL_MEMORY_BANKS]; - - -//RAM accesses -static uint8_t ramRead8(uint32_t address){return BUFFER_READ_8(palmRam, address, chips[CHIP_DX_RAM].mask);} -static uint16_t ramRead16(uint32_t address){return BUFFER_READ_16(palmRam, address, chips[CHIP_DX_RAM].mask);} -static uint32_t ramRead32(uint32_t address){return BUFFER_READ_32(palmRam, address, chips[CHIP_DX_RAM].mask);} -static void ramWrite8(uint32_t address, uint8_t value){BUFFER_WRITE_8(palmRam, address, chips[CHIP_DX_RAM].mask, value);} -static void ramWrite16(uint32_t address, uint16_t value){BUFFER_WRITE_16(palmRam, address, chips[CHIP_DX_RAM].mask, value);} -static void ramWrite32(uint32_t address, uint32_t value){BUFFER_WRITE_32(palmRam, address, chips[CHIP_DX_RAM].mask, value);} - -//ROM accesses -static uint8_t romRead8(uint32_t address){return BUFFER_READ_8(palmRom, address, chips[CHIP_A0_ROM].mask);} -static uint16_t romRead16(uint32_t address){return BUFFER_READ_16(palmRom, address, chips[CHIP_A0_ROM].mask);} -static uint32_t romRead32(uint32_t address){return BUFFER_READ_32(palmRom, address, chips[CHIP_A0_ROM].mask);} - -//SED1376 accesses -static uint8_t sed1376Read8(uint32_t address){ -#if !defined(EMU_NO_SAFETY) - if(sed1376PowerSaveEnabled()) - return 0x00; -#endif - if(address & SED1376_MR_BIT) - return BUFFER_READ_8_BIG_ENDIAN(sed1376Ram, address, chips[CHIP_B0_SED].mask); - else - return sed1376GetRegister(address & chips[CHIP_B0_SED].mask); -} -static uint16_t sed1376Read16(uint32_t address){ -#if !defined(EMU_NO_SAFETY) - if(sed1376PowerSaveEnabled()) - return 0x0000; -#endif - if(address & SED1376_MR_BIT) - return BUFFER_READ_16_BIG_ENDIAN(sed1376Ram, address, chips[CHIP_B0_SED].mask); - else - return sed1376GetRegister(address & chips[CHIP_B0_SED].mask); -} -static uint32_t sed1376Read32(uint32_t address){ -#if !defined(EMU_NO_SAFETY) - if(sed1376PowerSaveEnabled()) - return 0x00000000; -#endif - if(address & SED1376_MR_BIT) - return BUFFER_READ_32_BIG_ENDIAN(sed1376Ram, address, chips[CHIP_B0_SED].mask); - else - return sed1376GetRegister(address & chips[CHIP_B0_SED].mask); -} -static void sed1376Write8(uint32_t address, uint8_t value){ - if(address & SED1376_MR_BIT) - BUFFER_WRITE_8_BIG_ENDIAN(sed1376Ram, address, chips[CHIP_B0_SED].mask, value); - else - sed1376SetRegister(address & chips[CHIP_B0_SED].mask, value); -} -static void sed1376Write16(uint32_t address, uint16_t value){ - if(address & SED1376_MR_BIT) - BUFFER_WRITE_16_BIG_ENDIAN(sed1376Ram, address, chips[CHIP_B0_SED].mask, value); - else - sed1376SetRegister(address & chips[CHIP_B0_SED].mask, value); -} -static void sed1376Write32(uint32_t address, uint32_t value){ - if(address & SED1376_MR_BIT) - BUFFER_WRITE_32_BIG_ENDIAN(sed1376Ram, address, chips[CHIP_B0_SED].mask, value); - else - sed1376SetRegister(address & chips[CHIP_B0_SED].mask, value); -} - -static bool probeRead(uint8_t bank, uint32_t address){ - if(chips[bank].supervisorOnlyProtectedMemory){ - uint32_t index = address - chips[bank].start; - if(index >= chips[bank].unprotectedSize && !flx68000IsSupervisor()){ - setPrivilegeViolation(address, false); - return false; - } - } - return true; -} - -static bool probeWrite(uint8_t bank, uint32_t address){ - if(chips[bank].readOnly){ - setWriteProtectViolation(address); - return false; - } - else if(chips[bank].supervisorOnlyProtectedMemory || chips[bank].readOnlyForProtectedMemory){ - uint32_t index = address - chips[bank].start; - if(index >= chips[bank].unprotectedSize){ - if(chips[bank].supervisorOnlyProtectedMemory && !flx68000IsSupervisor()){ - setPrivilegeViolation(address, true); - return false; - } - if(chips[bank].readOnlyForProtectedMemory){ - setWriteProtectViolation(address); - return false; - } - } - } - return true; -} - -uint8_t m68k_read_memory_8(uint32_t address){ - uint8_t addressType = bankType[START_BANK(address)]; - -#if !defined(EMU_NO_SAFETY) - if(!probeRead(addressType, address)) - return 0x00; -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) - sandboxOnMemoryAccess(address, 8, false, 0); -#endif - - switch(addressType){ - case CHIP_A0_ROM: - return romRead8(address); - - case CHIP_A1_USB: - return pdiUsbD12GetRegister(!!(address & chips[CHIP_A1_USB].mask)); - - case CHIP_B0_SED: - return sed1376Read8(address); - - case CHIP_DX_RAM: - return ramRead8(address); - - case CHIP_00_EMU: - return 0x00; - - case CHIP_REGISTERS: - return getHwRegister8(address); - - case CHIP_B1_NIL: - case CHIP_NONE: - setBusErrorTimeOut(address, false); - return 0x00; - - default: - debugLog("Unknown bank type:%d\n", bankType[START_BANK(address)]); - return 0x00; - } -} - -uint16_t m68k_read_memory_16(uint32_t address){ - uint8_t addressType = bankType[START_BANK(address)]; - -#if !defined(EMU_NO_SAFETY) - if(!probeRead(addressType, address)) - return 0x0000; -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) - sandboxOnMemoryAccess(address, 16, false, 0); -#endif - - switch(addressType){ - case CHIP_A0_ROM: - return romRead16(address); - - case CHIP_A1_USB: - return pdiUsbD12GetRegister(!!(address & chips[CHIP_A1_USB].mask)); - - case CHIP_B0_SED: - return sed1376Read16(address); - - case CHIP_DX_RAM: - return ramRead16(address); - - case CHIP_00_EMU: - return 0x0000; - - case CHIP_REGISTERS: - return getHwRegister16(address); - - case CHIP_B1_NIL: - case CHIP_NONE: - setBusErrorTimeOut(address, false); - return 0x0000; - - default: - debugLog("Unknown bank type:%d\n", bankType[START_BANK(address)]); - return 0x0000; - } -} - -uint32_t m68k_read_memory_32(uint32_t address){ - uint8_t addressType = bankType[START_BANK(address)]; - -#if !defined(EMU_NO_SAFETY) - if(!probeRead(addressType, address)) - return 0x00000000; -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) - sandboxOnMemoryAccess(address, 32, false, 0); -#endif - - switch(addressType){ - case CHIP_A0_ROM: - return romRead32(address); - - case CHIP_A1_USB: - return pdiUsbD12GetRegister(!!(address & chips[CHIP_A1_USB].mask)); - - case CHIP_B0_SED: - return sed1376Read32(address); - - case CHIP_DX_RAM: - return ramRead32(address); - - case CHIP_00_EMU: - return expansionHardwareGetRegister(address); - - case CHIP_REGISTERS: - return getHwRegister32(address); - - case CHIP_B1_NIL: - case CHIP_NONE: - setBusErrorTimeOut(address, false); - return 0x00000000; - - default: - debugLog("Unknown bank type:%d\n", bankType[START_BANK(address)]); - return 0x00000000; - } -} - -void m68k_write_memory_8(uint32_t address, uint8_t value){ - uint8_t addressType = bankType[START_BANK(address)]; - -#if !defined(EMU_NO_SAFETY) - if(!probeWrite(addressType, address)) - return; -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) - sandboxOnMemoryAccess(address, 8, true, value); -#endif - - switch(addressType){ - case CHIP_A0_ROM: - return; - - case CHIP_A1_USB: - pdiUsbD12SetRegister(!!(address & chips[CHIP_A1_USB].mask), value); - return; - - case CHIP_B0_SED: - sed1376Write8(address, value); - return; - - case CHIP_DX_RAM: - ramWrite8(address, value); - return; - - case CHIP_00_EMU: - return; - - case CHIP_REGISTERS: - setHwRegister8(address, value); - return; - - case CHIP_B1_NIL: - case CHIP_NONE: - setBusErrorTimeOut(address, true); - return; - - default: - debugLog("Unknown bank type:%d\n", bankType[START_BANK(address)]); - return; - } -} - -void m68k_write_memory_16(uint32_t address, uint16_t value){ - uint8_t addressType = bankType[START_BANK(address)]; - -#if !defined(EMU_NO_SAFETY) - if(!probeWrite(addressType, address)) - return; -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) - sandboxOnMemoryAccess(address, 16, true, value); -#endif - - switch(addressType){ - case CHIP_A0_ROM: - return; - - case CHIP_A1_USB: - pdiUsbD12SetRegister(!!(address & chips[CHIP_A1_USB].mask), value); - return; - - case CHIP_B0_SED: - sed1376Write16(address, value); - return; - - case CHIP_DX_RAM: - ramWrite16(address, value); - return; - - case CHIP_00_EMU: - return; - - case CHIP_REGISTERS: - setHwRegister16(address, value); - return; - - case CHIP_B1_NIL: - case CHIP_NONE: - setBusErrorTimeOut(address, true); - return; - - default: - debugLog("Unknown bank type:%d\n", bankType[START_BANK(address)]); - return; - } -} - -void m68k_write_memory_32(uint32_t address, uint32_t value){ - uint8_t addressType = bankType[START_BANK(address)]; - -#if !defined(EMU_NO_SAFETY) - if(!probeWrite(addressType, address)) - return; -#endif - -#if defined(EMU_DEBUG) && defined(EMU_SANDBOX) && defined(EMU_SANDBOX_LOG_MEMORY_ACCESSES) - sandboxOnMemoryAccess(address, 32, true, value); -#endif - - switch(addressType){ - case CHIP_A0_ROM: - return; - - case CHIP_A1_USB: - pdiUsbD12SetRegister(!!(address & chips[CHIP_A1_USB].mask), value); - return; - - case CHIP_B0_SED: - sed1376Write32(address, value); - return; - - case CHIP_DX_RAM: - ramWrite32(address, value); - return; - - case CHIP_00_EMU: - expansionHardwareSetRegister(address, value); - return; - - case CHIP_REGISTERS: - setHwRegister32(address, value); - return; - - case CHIP_B1_NIL: - case CHIP_NONE: - setBusErrorTimeOut(address, true); - return; - - default: - debugLog("Unknown bank type:%d\n", bankType[START_BANK(address)]); - return; - } -} - -void m68k_write_memory_32_pd(uint32_t address, uint32_t value){ - m68k_write_memory_32(address, value >> 16 | value << 16); -} - -//memory access for the disassembler, unused but must be defined -uint8_t m68k_read_disassembler_8(uint32_t address){return m68k_read_memory_8(address);} -uint16_t m68k_read_disassembler_16(uint32_t address){return m68k_read_memory_16(address);} -uint32_t m68k_read_disassembler_32(uint32_t address){return m68k_read_memory_32(address);} - - -static uint8_t getProperBankType(uint32_t bank){ - //registers have first priority, they cover 0xFFFFF000(and 0xXXFFF000 when DMAP enabled in SCR) even if a chip select overlaps this area or CHIP_A0_ROM is in boot mode - //EMUCS also cant be covered by normal chip selects - if(BANK_IN_RANGE(bank, REG_START_ADDRESS, REG_SIZE) || ((bank & 0x00FF) == 0x00FF && registersAreXXFFMapped())) - return CHIP_REGISTERS; - else if(palmEmuFeatures.info != FEATURE_ACCURATE && BANK_IN_RANGE(bank, EMUCS_START_ADDRESS, EMUCS_SIZE)) - return CHIP_00_EMU; - else if(chips[CHIP_A0_ROM].inBootMode || (chips[CHIP_A0_ROM].enable && BANK_IN_RANGE(bank, chips[CHIP_A0_ROM].start, chips[CHIP_A0_ROM].lineSize))) - return CHIP_A0_ROM; - else if(chips[CHIP_DX_RAM].enable && BANK_IN_RANGE(bank, chips[CHIP_DX_RAM].start, chips[CHIP_DX_RAM].lineSize * 2)) - return CHIP_DX_RAM; - else if(chips[CHIP_B0_SED].enable && BANK_IN_RANGE(bank, chips[CHIP_B0_SED].start, chips[CHIP_B0_SED].lineSize) && sed1376ClockConnected()) - return CHIP_B0_SED; - else if(chips[CHIP_A1_USB].enable && BANK_IN_RANGE(bank, chips[CHIP_A1_USB].start, chips[CHIP_A1_USB].lineSize)) - return CHIP_A1_USB; - else if(chips[CHIP_B1_NIL].enable && BANK_IN_RANGE(bank, chips[CHIP_B1_NIL].start, chips[CHIP_B1_NIL].lineSize)) - return CHIP_B1_NIL; - - return CHIP_NONE; -} - -void setRegisterXXFFAccessMode(void){ - uint32_t topByte; - - MULTITHREAD_LOOP(topByte) for(topByte = 0; topByte < 0x100; topByte++) - bankType[START_BANK(topByte << 24 | 0x00FFF000)] = CHIP_REGISTERS; -} - -void setRegisterFFFFAccessMode(void){ - uint32_t topByte; - - MULTITHREAD_LOOP(topByte) for(topByte = 0; topByte < 0x100; topByte++){ - uint32_t bank = START_BANK(topByte << 24 | 0x00FFF000); - bankType[bank] = getProperBankType(bank); - } -} - -void setSed1376Attached(bool attached){ - if(chips[CHIP_B0_SED].enable && bankType[START_BANK(chips[CHIP_B0_SED].start)] != (attached ? CHIP_B0_SED : CHIP_NONE)) - memset(&bankType[START_BANK(chips[CHIP_B0_SED].start)], attached ? CHIP_B0_SED : CHIP_NONE, END_BANK(chips[CHIP_B0_SED].start, chips[CHIP_B0_SED].lineSize) - START_BANK(chips[CHIP_B0_SED].start) + 1); -} - -void resetAddressSpace(void){ - uint32_t bank; - - MULTITHREAD_LOOP(bank) for(bank = 0; bank < TOTAL_MEMORY_BANKS; bank++) - bankType[bank] = getProperBankType(bank); -} diff --git a/src/memoryAccess.h b/src/memoryAccess.h deleted file mode 100644 index e48c959..0000000 --- a/src/memoryAccess.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef MEMORY_ACCESS_H -#define MEMORY_ACCESS_H - -#include - -//address space -//new bank size (0x4000) -#define BANK_SCOOT 14 -#define NUM_BANKS(areaSize) (((areaSize) >> BANK_SCOOT) + ((areaSize) & ((1 << BANK_SCOOT) - 1) ? 1 : 0)) -#define START_BANK(address) ((address) >> BANK_SCOOT) -#define END_BANK(address, size) (START_BANK(address) + NUM_BANKS(size) - 1) -#define BANK_IN_RANGE(bank, address, size) ((bank) >= START_BANK(address) && (bank) <= END_BANK(address, size)) -#define BANK_ADDRESS(bank) ((bank) << BANK_SCOOT) -#define TOTAL_MEMORY_BANKS (1 << (32 - BANK_SCOOT))//0x40000 banks for BANK_SCOOT = 14 - -//chip addresses and sizes -//after boot RAM is at 0x00000000, -//ROM is at 0x10000000 -//and the SED1376 is at 0x1FF80000(+ 0x20000 for framebuffer) -#define EMUCS_START_ADDRESS 0xFFFC0000 -#define REG_START_ADDRESS 0xFFFFF000 -#define RAM_SIZE (16 * 0x100000)//16mb RAM -#define ROM_SIZE (4 * 0x100000)//4mb ROM -#define EMUCS_SIZE 0x20000 -#define REG_SIZE 0x1000//is actually 0xE00 without bootloader -#define BOOTLOADER_SIZE 0x200 -#define SED1376_MR_BIT 0x20000 - -//the read/write stuff looks messy here but makes the memory access functions alot cleaner -#if defined(EMU_BIG_ENDIAN) -//memory layout is the same as the Palm m515, just cast to pointer and access, 32 bit accesses are split to prevent unaligned access issues -#define BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask)))) -#define BUFFER_READ_16(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask)))) -#define BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) -#define BUFFER_WRITE_8(segment, accessAddress, mask, value) (*(uint8_t*)(segment + ((accessAddress) & (mask))) = (value)) -#define BUFFER_WRITE_16(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value)) -#define BUFFER_WRITE_32(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value) >> 16 , *(uint16_t*)(segment + ((accessAddress) + 2 & (mask))) = (value) & 0xFFFF) -#define BUFFER_READ_8_BIG_ENDIAN BUFFER_READ_8 -#define BUFFER_READ_16_BIG_ENDIAN BUFFER_READ_16 -#define BUFFER_READ_32_BIG_ENDIAN BUFFER_READ_32 -#define BUFFER_WRITE_8_BIG_ENDIAN BUFFER_WRITE_8 -#define BUFFER_WRITE_16_BIG_ENDIAN BUFFER_WRITE_16 -#define BUFFER_WRITE_32_BIG_ENDIAN BUFFER_WRITE_32 -#else -//memory layout is different from the Palm m515, optimize for opcode fetches(16 bit reads) -#define BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1))) -#define BUFFER_READ_16(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask)))) -#define BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) -#define BUFFER_WRITE_8(segment, accessAddress, mask, value) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1)) = (value)) -#define BUFFER_WRITE_16(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value)) -#define BUFFER_WRITE_32(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value) >> 16 , *(uint16_t*)(segment + ((accessAddress) + 2 & (mask))) = (value) & 0xFFFF) -#define BUFFER_READ_8_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)]) -#define BUFFER_READ_16_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 8 | segment[(accessAddress) + 1 & (mask)]) -#define BUFFER_READ_32_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 24 | segment[(accessAddress) + 1 & (mask)] << 16 | segment[(accessAddress) + 2 & (mask)] << 8 | segment[(accessAddress) + 3 & (mask)]) -#define BUFFER_WRITE_8_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value)) -#define BUFFER_WRITE_16_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 8, segment[(accessAddress) + 1 & (mask)] = (value) & 0xFF) -#define BUFFER_WRITE_32_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 24, segment[(accessAddress) + 1 & (mask)] = ((value) >> 16) & 0xFF, segment[(accessAddress) + 2 & (mask)] = ((value) >> 8) & 0xFF, segment[(accessAddress) + 3 & (mask)] = (value) & 0xFF) -#endif - -#define SWAP_16(x) ((uint16_t)((((uint16_t)(x) & 0x00FF) << 8) | (((uint16_t)(x) & 0xFF00) >> 8))) -#define SWAP_32(x) ((uint32_t)((((uint32_t)(x) & 0x000000FF) << 24) | (((uint32_t)(x) & 0x0000FF00) << 8) | (((uint32_t)(x) & 0x00FF0000) >> 8) | (((uint32_t)(x) & 0xFF000000) >> 24))) -#define SWAP_64(x) ((((uint64_t)(x) & UINT64_C(0x00000000000000FF)) << 56) | (((uint64_t)(x) & UINT64_C(0x000000000000FF00)) << 40) | (((uint64_t)(x) & UINT64_C(0x0000000000FF0000)) << 24) | (((uint64_t)(x) & UINT64_C(0x00000000FF000000)) << 8) | (((uint64_t)(x) & UINT64_C(0x000000FF00000000)) >> 8) | (((uint64_t)(x) & UINT64_C(0x0000FF0000000000)) >> 24) | (((uint64_t)(x) & UINT64_C(0x00FF000000000000)) >> 40) | (((uint64_t)(x) & UINT64_C(0xFF00000000000000)) >> 56)) - -extern uint8_t bankType[]; - -void setRegisterXXFFAccessMode(void); -void setRegisterFFFFAccessMode(void); -void setSed1376Attached(bool attached); -void resetAddressSpace(void); - -#endif diff --git a/src/portability.h b/src/portability.h index edc7743..78fcb08 100644 --- a/src/portability.h +++ b/src/portability.h @@ -4,10 +4,45 @@ #include #include -//endian -static inline void swap16BufferIfLittle(uint8_t* buffer, uint32_t count){ -#if !defined(EMU_BIG_ENDIAN) +//endian/buffers +//the read/write stuff looks messy here but makes the memory access functions alot cleaner +#if defined(EMU_BIG_ENDIAN) +//memory layout is the same as the Palm m515, just cast to pointer and access, 32 bit accesses are split to prevent unaligned access issues +#define BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask)))) +#define BUFFER_READ_16(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask)))) +#define BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) +#define BUFFER_WRITE_8(segment, accessAddress, mask, value) (*(uint8_t*)(segment + ((accessAddress) & (mask))) = (value)) +#define BUFFER_WRITE_16(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value)) +#define BUFFER_WRITE_32(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value) >> 16 , *(uint16_t*)(segment + ((accessAddress) + 2 & (mask))) = (value) & 0xFFFF) +#define BUFFER_READ_8_BIG_ENDIAN BUFFER_READ_8 +#define BUFFER_READ_16_BIG_ENDIAN BUFFER_READ_16 +#define BUFFER_READ_32_BIG_ENDIAN BUFFER_READ_32 +#define BUFFER_WRITE_8_BIG_ENDIAN BUFFER_WRITE_8 +#define BUFFER_WRITE_16_BIG_ENDIAN BUFFER_WRITE_16 +#define BUFFER_WRITE_32_BIG_ENDIAN BUFFER_WRITE_32 +#else +//memory layout is different from the Palm m515, optimize for opcode fetches(16 bit reads) +#define BUFFER_READ_8(segment, accessAddress, mask) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1))) +#define BUFFER_READ_16(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask)))) +#define BUFFER_READ_32(segment, accessAddress, mask) (*(uint16_t*)(segment + ((accessAddress) & (mask))) << 16 | *(uint16_t*)(segment + ((accessAddress) + 2 & (mask)))) +#define BUFFER_WRITE_8(segment, accessAddress, mask, value) (*(uint8_t*)(segment + ((accessAddress) & (mask) ^ 1)) = (value)) +#define BUFFER_WRITE_16(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value)) +#define BUFFER_WRITE_32(segment, accessAddress, mask, value) (*(uint16_t*)(segment + ((accessAddress) & (mask))) = (value) >> 16 , *(uint16_t*)(segment + ((accessAddress) + 2 & (mask))) = (value) & 0xFFFF) +#define BUFFER_READ_8_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)]) +#define BUFFER_READ_16_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 8 | segment[(accessAddress) + 1 & (mask)]) +#define BUFFER_READ_32_BIG_ENDIAN(segment, accessAddress, mask) (segment[(accessAddress) & (mask)] << 24 | segment[(accessAddress) + 1 & (mask)] << 16 | segment[(accessAddress) + 2 & (mask)] << 8 | segment[(accessAddress) + 3 & (mask)]) +#define BUFFER_WRITE_8_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value)) +#define BUFFER_WRITE_16_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 8, segment[(accessAddress) + 1 & (mask)] = (value) & 0xFF) +#define BUFFER_WRITE_32_BIG_ENDIAN(segment, accessAddress, mask, value) (segment[(accessAddress) & (mask)] = (value) >> 24, segment[(accessAddress) + 1 & (mask)] = ((value) >> 16) & 0xFF, segment[(accessAddress) + 2 & (mask)] = ((value) >> 8) & 0xFF, segment[(accessAddress) + 3 & (mask)] = (value) & 0xFF) +#endif + +#define SWAP_16(x) ((uint16_t)((((uint16_t)(x) & 0x00FF) << 8) | (((uint16_t)(x) & 0xFF00) >> 8))) +#define SWAP_32(x) ((uint32_t)((((uint32_t)(x) & 0x000000FF) << 24) | (((uint32_t)(x) & 0x0000FF00) << 8) | (((uint32_t)(x) & 0x00FF0000) >> 8) | (((uint32_t)(x) & 0xFF000000) >> 24))) +#define SWAP_64(x) ((((uint64_t)(x) & UINT64_C(0x00000000000000FF)) << 56) | (((uint64_t)(x) & UINT64_C(0x000000000000FF00)) << 40) | (((uint64_t)(x) & UINT64_C(0x0000000000FF0000)) << 24) | (((uint64_t)(x) & UINT64_C(0x00000000FF000000)) << 8) | (((uint64_t)(x) & UINT64_C(0x000000FF00000000)) >> 8) | (((uint64_t)(x) & UINT64_C(0x0000FF0000000000)) >> 24) | (((uint64_t)(x) & UINT64_C(0x00FF000000000000)) >> 40) | (((uint64_t)(x) & UINT64_C(0xFF00000000000000)) >> 56)) + +static inline void swap16(uint8_t* buffer, uint32_t count){ uint32_t index; + //count specifys the number of uint16_t's that need to be swapped, the uint8_t* is because of alignment restrictions that crash on some platforms count *= sizeof(uint16_t); for(index = 0; index < count; index += 2){ @@ -15,6 +50,17 @@ static inline void swap16BufferIfLittle(uint8_t* buffer, uint32_t count){ buffer[index] = buffer[index + 1]; buffer[index + 1] = temp; } +} + +static inline void swap16BufferIfLittle(uint8_t* buffer, uint32_t count){ +#if !defined(EMU_BIG_ENDIAN) + swap16(buffer, count); +#endif +} + +static inline void swap16BufferIfBig(uint8_t* buffer, uint32_t count){ +#if defined(EMU_BIG_ENDIAN) + swap16(buffer, count); #endif } diff --git a/src/sed1376.c b/src/sed1376.c index 505007d..35531ad 100644 --- a/src/sed1376.c +++ b/src/sed1376.c @@ -3,7 +3,7 @@ #include "emulator.h" #include "portability.h" -#include "hardwareRegisters.h" +#include "dbvzRegisters.h" #include "flx68000.h"//for flx68000GetPc() #include "specs/sed1376RegisterSpec.h" @@ -352,7 +352,7 @@ void sed1376SetRegister(uint8_t address, uint8_t value){ void sed1376Render(void){ //render if LCD on, PLL on, power save off and force blank off, SED1376 clock is provided by the CPU, if its off so is the SED - if(palmMisc.lcdOn && pllIsOn() && !sed1376PowerSaveEnabled() && !(sed1376Registers[DISP_MODE] & 0x80)){ + if(palmMisc.lcdOn && dbvzIsPllOn() && !sed1376PowerSaveEnabled() && !(sed1376Registers[DISP_MODE] & 0x80)){ bool color = !!(sed1376Registers[PANEL_TYPE] & 0x40); bool pictureInPictureEnabled = !!(sed1376Registers[SPECIAL_EFFECT] & 0x10); uint8_t bitDepth = 1 << (sed1376Registers[DISP_MODE] & 0x07); @@ -436,6 +436,6 @@ void sed1376Render(void){ else{ //black screen memset(sed1376Framebuffer, 0x00, 160 * 160 * sizeof(uint16_t)); - debugLog("Cant draw screen, LCD on:%s, PLL on:%s, power save on:%s, forced blank on:%s\n", palmMisc.lcdOn ? "true" : "false", pllIsOn() ? "true" : "false", sed1376PowerSaveEnabled() ? "true" : "false", !!(sed1376Registers[DISP_MODE] & 0x80) ? "true" : "false"); + debugLog("Cant draw screen, LCD on:%s, PLL on:%s, power save on:%s, forced blank on:%s\n", palmMisc.lcdOn ? "true" : "false", dbvzIsPllOn() ? "true" : "false", sed1376PowerSaveEnabled() ? "true" : "false", !!(sed1376Registers[DISP_MODE] & 0x80) ? "true" : "false"); } } diff --git a/src/sed1376Accessors.c.h b/src/sed1376Accessors.c.h index 5be13bc..3cced05 100644 --- a/src/sed1376Accessors.c.h +++ b/src/sed1376Accessors.c.h @@ -117,5 +117,5 @@ static void selectRenderer(bool color, uint8_t bpp){ //updaters static void updateLcdStatus(void){ palmMisc.lcdOn = !!(sed1376Registers[GPIO_CONT_0] & sed1376Registers[GPIO_CONF_0] & 0x20); - palmMisc.backlightLevel = !!(sed1376Registers[GPIO_CONT_0] & sed1376Registers[GPIO_CONF_0] & 0x10) ? (1 + backlightAmplifierState()) : 0; + palmMisc.backlightLevel = !!(sed1376Registers[GPIO_CONT_0] & sed1376Registers[GPIO_CONF_0] & 0x10) ? (1 + m515BacklightAmplifierState()) : 0; } diff --git a/src/silkscreen.c b/src/silkscreen.c index 6ff0697..c87a9b8 100644 --- a/src/silkscreen.c +++ b/src/silkscreen.c @@ -963,3846 +963,3 @@ const uint16_t silkscreen160x60[160 * 60] = { 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x630B }; - -const uint16_t silkscreen320x120[320 * 120] = { - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 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,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x83EF,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F, - 0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F, - 0x840F,0x840F,0x840F,0x840F,0x8410,0x8410,0x8410,0x8410,0x8410,0x8410, - 0x8410,0x8410,0x8410,0x8410,0x8410,0x8410,0x8410,0x8410,0x8410,0x8410, - 0x8410,0x8410,0x840F,0x840F,0x840F,0x840F,0x73AE,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5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F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F, - 0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF, - 0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF, - 0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF, - 0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x83EF,0x83EF,0x83EF, - 0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF,0x7BEF,0x738D,0x738D, - 0x73AE,0x840F,0x840F,0x83EF,0x83EF,0x7BEF,0x83EF,0x83EF,0x83EF,0x83EF, - 0x840F,0x9471,0xDEBA,0xDEDB,0xDEDB,0xDEDB,0xDEDB,0xDEDB,0xC617,0x8430, - 0x840F,0x83EF,0x83EF,0x83EF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF, - 0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x7BEF,0x83EF,0x83EF,0x83EF,0x83EF,0x83EF, - 0x83EF,0x83EF,0x83EF,0x83EF,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F, - 0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F,0x840F, - 0x840F,0x840F,0x840F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 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x62EB,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA, - 0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEA,0x5AEB,0x6B4C -}; diff --git a/src/silkscreen.h b/src/silkscreen.h index 14cb4f4..5509ade 100644 --- a/src/silkscreen.h +++ b/src/silkscreen.h @@ -4,6 +4,5 @@ #include extern const uint16_t silkscreen160x60[]; -extern const uint16_t silkscreen320x120[]; #endif diff --git a/src/specs/emuFeatureRegisterSpec.h b/src/specs/emuFeatureRegisterSpec.h index 6747a2f..4d2a632 100644 --- a/src/specs/emuFeatureRegisterSpec.h +++ b/src/specs/emuFeatureRegisterSpec.h @@ -47,7 +47,7 @@ These registers will do nothing if their corresponding feature bit is not set on #define CMD_SET_CPU_SPEED 0x0000FFF3/*EMU_VALUE = CPU speed percent, 100% = normal*/ #define CMD_IDLE_X_CLK32 0x0000FFF4/*EMU_VALUE = CLK32s to waste, used to remove idle loops*/ #define CMD_SET_CYCLE_COST 0x0000FFF5/*EMU_DST = HLE API number, EMU_VALUE = how many cycles it takes*/ -#define CMD_LCD_SET_FB 0x0000FFF6/*EMU_SRC = framebuffer pointer(must be in RAM and word aligned, unused if size is 160x220), EMU_VALUE >> 16 = width, EMU_VALUE & 0xFFFF = height*/ +/*CMD_UNUSED 0x0000FFF6*/ /*CMD_UNUSED 0x0000FFF7*/ #define CMD_DEBUG_PRINT 0x0000FFF8/*EMU_SRC = pointer to string*/ #define CMD_DEBUG_WATCH 0x0000FFF9/*EMU_VALUE = 0/clear watch reference or 1/make code watch reference or 2/make data watch reference, EMU_SRC = address of area(or watch area reference number), EMU_SIZE = size of area(unused if clear operation), EMU_VALUE is set to the watch areas reference number after a set operation*/ From 2244a1edd88439635626706a2ace7dc8e73737cb Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 19 Apr 2019 10:38:35 -0700 Subject: [PATCH 45/47] Cleanups prepare to add Tungsten C stuff --- qtBuildSystem/Mu/Mu.pro | 7 ++ qtBuildSystem/Mu/images/center.svg | 1 - qtBuildSystem/Mu/images/left.svg | 1 - qtBuildSystem/Mu/images/right.svg | 1 - qtBuildSystem/Mu/mainwindow.qrc | 3 - src/emulator.c | 111 +++++++++++++++++------------ src/emulator.h | 1 + src/makefile.all | 9 ++- 8 files changed, 79 insertions(+), 55 deletions(-) delete mode 100644 qtBuildSystem/Mu/images/center.svg delete mode 100644 qtBuildSystem/Mu/images/left.svg delete mode 100644 qtBuildSystem/Mu/images/right.svg diff --git a/qtBuildSystem/Mu/Mu.pro b/qtBuildSystem/Mu/Mu.pro index cb815b8..2d90007 100644 --- a/qtBuildSystem/Mu/Mu.pro +++ b/qtBuildSystem/Mu/Mu.pro @@ -22,6 +22,8 @@ DEFINES += QT_DEPRECATED_WARNINGS # You can also select to disable deprecated APIs only up to a certain version of Qt. DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 +CONFIG += support_palm_os5 + windows{ RC_ICONS = windows/Mu.ico *msvc*{ @@ -78,6 +80,11 @@ CONFIG(debug, debug|release){ DEFINES += EMU_NO_SAFETY } +support_palm_os5{ + DEFINES += EMU_SUPPORT_PALM_OS5 # the Qt build will not be supporting anything too slow to run OS 5 + # SOURCES += +} + CONFIG += c++11 INCLUDEPATH += $$PWD/qt-common/include diff --git a/qtBuildSystem/Mu/images/center.svg b/qtBuildSystem/Mu/images/center.svg deleted file mode 100644 index f87ae31..0000000 --- a/qtBuildSystem/Mu/images/center.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/qtBuildSystem/Mu/images/left.svg b/qtBuildSystem/Mu/images/left.svg deleted file mode 100644 index f4dc7d4..0000000 --- a/qtBuildSystem/Mu/images/left.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/qtBuildSystem/Mu/images/right.svg b/qtBuildSystem/Mu/images/right.svg deleted file mode 100644 index efddf1f..0000000 --- a/qtBuildSystem/Mu/images/right.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/qtBuildSystem/Mu/mainwindow.qrc b/qtBuildSystem/Mu/mainwindow.qrc index eab66e5..b30af73 100644 --- a/qtBuildSystem/Mu/mainwindow.qrc +++ b/qtBuildSystem/Mu/mainwindow.qrc @@ -2,16 +2,13 @@ images/addressBook.svg images/calendar.svg - images/center.svg images/debugger.svg images/down.svg images/install.svg - images/left.svg images/notes.svg images/pause.svg images/play.svg images/power.svg - images/right.svg images/screenshot.svg images/stateManager.svg images/stop.svg diff --git a/src/emulator.c b/src/emulator.c index 644cb4f..7b9dcd1 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -32,6 +32,9 @@ static bool emulatorInitialized = false; +#if defined(EMU_SUPPORT_PALM_OS5) +static bool emulatorEmulatingTungstenC; +#endif uint8_t* palmRam; uint8_t* palmRom; @@ -67,55 +70,71 @@ uint32_t emulatorInit(buffer_t palmRomDump, buffer_t palmBootDump, uint32_t enab if(!palmRomDump.data) return EMU_ERROR_INVALID_PARAMETER; - //allocate buffers, add 4 to memory regions to prevent SIGSEGV from accessing off the end - palmRam = malloc(M515_RAM_SIZE + 4); - palmRom = malloc(M515_ROM_SIZE + 4); - palmReg = malloc(DBVZ_REG_SIZE + 4); - palmFramebuffer = malloc(160 * 220 * sizeof(uint16_t)); - palmAudio = malloc(AUDIO_SAMPLES_PER_FRAME * 2 * sizeof(int16_t)); - palmAudioResampler = blip_new(AUDIO_SAMPLE_RATE);//have 1 second of samples - if(!palmRam || !palmRom || !palmReg || !palmFramebuffer || !palmAudio || !palmAudioResampler){ - free(palmRam); - free(palmRom); - free(palmReg); - free(palmFramebuffer); - free(palmAudio); - blip_delete(palmAudioResampler); - return EMU_ERROR_OUT_OF_MEMORY; - } +#if defined(EMU_SUPPORT_PALM_OS5) + //TODO: need to check for ROMs device type here + emulatorEmulatingTungstenC = false; - //set default values - memset(palmRam, 0x00, M515_RAM_SIZE); - memcpy(palmRom, palmRomDump.data, u32Min(palmRomDump.size, M515_ROM_SIZE)); - if(palmRomDump.size < M515_ROM_SIZE) - memset(palmRom + palmRomDump.size, 0x00, M515_ROM_SIZE - palmRomDump.size); - swap16BufferIfLittle(palmRom, M515_ROM_SIZE / sizeof(uint16_t)); - if(palmBootDump.data){ - memcpy(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, palmBootDump.data, u32Min(palmBootDump.size, DBVZ_BOOTLOADER_SIZE)); - if(palmBootDump.size < DBVZ_BOOTLOADER_SIZE) - memset(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE + palmBootDump.size, 0x00, DBVZ_BOOTLOADER_SIZE - palmBootDump.size); - swap16BufferIfLittle(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, DBVZ_BOOTLOADER_SIZE / sizeof(uint16_t)); + if(emulatorEmulatingTungstenC){ + //emulating Tungsten C + //TODO! } else{ - memset(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, 0x00, DBVZ_BOOTLOADER_SIZE); +#endif + //emulating Palm m515 + //allocate buffers, add 4 to memory regions to prevent SIGSEGV from accessing off the end + palmRam = malloc(M515_RAM_SIZE + 4); + palmRom = malloc(M515_ROM_SIZE + 4); + palmReg = malloc(DBVZ_REG_SIZE + 4); + palmFramebuffer = malloc(160 * 220 * sizeof(uint16_t)); + palmAudio = malloc(AUDIO_SAMPLES_PER_FRAME * 2 * sizeof(int16_t)); + palmAudioResampler = blip_new(AUDIO_SAMPLE_RATE);//have 1 second of samples + if(!palmRam || !palmRom || !palmReg || !palmFramebuffer || !palmAudio || !palmAudioResampler){ + free(palmRam); + free(palmRom); + free(palmReg); + free(palmFramebuffer); + free(palmAudio); + blip_delete(palmAudioResampler); + return EMU_ERROR_OUT_OF_MEMORY; + } + + //set default values + memset(palmRam, 0x00, M515_RAM_SIZE); + memcpy(palmRom, palmRomDump.data, u32Min(palmRomDump.size, M515_ROM_SIZE)); + if(palmRomDump.size < M515_ROM_SIZE) + memset(palmRom + palmRomDump.size, 0x00, M515_ROM_SIZE - palmRomDump.size); + swap16BufferIfLittle(palmRom, M515_ROM_SIZE / sizeof(uint16_t)); + if(palmBootDump.data){ + memcpy(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, palmBootDump.data, u32Min(palmBootDump.size, DBVZ_BOOTLOADER_SIZE)); + if(palmBootDump.size < DBVZ_BOOTLOADER_SIZE) + memset(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE + palmBootDump.size, 0x00, DBVZ_BOOTLOADER_SIZE - palmBootDump.size); + swap16BufferIfLittle(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, DBVZ_BOOTLOADER_SIZE / sizeof(uint16_t)); + } + else{ + memset(palmReg + DBVZ_REG_SIZE - 1 - DBVZ_BOOTLOADER_SIZE, 0x00, DBVZ_BOOTLOADER_SIZE); + } + memset(palmAudio, 0x00, AUDIO_SAMPLES_PER_FRAME * 2/*channels*/ * sizeof(int16_t)); + memset(&palmInput, 0x00, sizeof(palmInput)); + memset(&palmMisc, 0x00, sizeof(palmMisc)); + memset(&palmSdCard, 0x00, sizeof(palmSdCard)); + memset(&palmEmuFeatures, 0x00, sizeof(palmEmuFeatures)); + palmFramebufferWidth = 160; + palmFramebufferHeight = 220; + palmMisc.batteryLevel = 100; + palmCycleCounter = 0.0; + palmEmuFeatures.info = enabledEmuFeatures; + + //initialize components + blip_set_rates(palmAudioResampler, AUDIO_CLOCK_RATE, AUDIO_SAMPLE_RATE); + flx68000Init(); + sandboxInit(); + + //reset everything + emulatorSoftReset(); + dbvzSetRtc(0, 0, 0, 0);//RTCTIME and DAYR are not cleared by reset, clear them manually in case the frontend doesnt set the RTC +#if defined(EMU_SUPPORT_PALM_OS5) } - memset(palmAudio, 0x00, AUDIO_SAMPLES_PER_FRAME * 2/*channels*/ * sizeof(int16_t)); - memset(&palmInput, 0x00, sizeof(palmInput)); - memset(&palmMisc, 0x00, sizeof(palmMisc)); - memset(&palmSdCard, 0x00, sizeof(palmSdCard)); - memset(&palmEmuFeatures, 0x00, sizeof(palmEmuFeatures)); - palmMisc.batteryLevel = 100; - palmCycleCounter = 0.0; - palmEmuFeatures.info = enabledEmuFeatures; - - //initialize components - blip_set_rates(palmAudioResampler, AUDIO_CLOCK_RATE, AUDIO_SAMPLE_RATE); - flx68000Init(); - sandboxInit(); - - //reset everything - emulatorSoftReset(); - dbvzSetRtc(0, 0, 0, 0);//RTCTIME and DAYR are not cleared by reset, clear them manually in case the frontend doesnt set the RTC +#endif emulatorInitialized = true; @@ -145,8 +164,6 @@ void emulatorHardReset(void){ void emulatorSoftReset(void){ //equivalent to pushing the reset button on the back of the device - palmFramebufferWidth = 160; - palmFramebufferHeight = 220; palmEmuFeatures.value = 0x00000000; palmClockMultiplier = 1.00 - EMU_CPU_PERCENT_WAITING; sed1376Reset(); diff --git a/src/emulator.h b/src/emulator.h index 315b3f3..ddd228a 100644 --- a/src/emulator.h +++ b/src/emulator.h @@ -16,6 +16,7 @@ extern "C" { #include "specs/emuFeatureRegisterSpec.h"//for feature names //DEFINE INFO!!! +//define EMU_SUPPORT_PALM_OS5 to compile in Tungsten C support(not reccomended for low power devices) //define EMU_MULTITHREADED to speed up long loops //define EMU_NO_SAFETY to remove all safety checks //define EMU_BIG_ENDIAN on big endian systems diff --git a/src/makefile.all b/src/makefile.all index c18ae70..ff5278c 100644 --- a/src/makefile.all +++ b/src/makefile.all @@ -1,7 +1,7 @@ EMU_DEFINES := EMU_SOURCES_C := $(EMU_PATH)/emulator.c \ - $(EMU_PATH)/memoryAccess.c \ - $(EMU_PATH)/hardwareRegisters.c \ + $(EMU_PATH)/m515Bus.c \ + $(EMU_PATH)/dbvzRegisters.c \ $(EMU_PATH)/flx68000.c \ $(EMU_PATH)/sed1376.c \ $(EMU_PATH)/ads7846.c \ @@ -17,3 +17,8 @@ EMU_SOURCES_C := $(EMU_PATH)/emulator.c \ $(EMU_PATH)/m68k/m68kopac.c \ $(EMU_PATH)/m68k/m68kdasm.c \ $(EMU_PATH)/m68k/m68kcpu.c + +ifeq ($(EMU_SUPPORT_PALM_OS5),1) + EMU_DEFINES += -DEMU_SUPPORT_PALM_OS5 + # EMU_SOURCES_C += +endif \ No newline at end of file From f7f7b9d2d9b85adb2a539102b23bd1faaa67cf4d Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 19 Apr 2019 10:50:24 -0700 Subject: [PATCH 46/47] Remove ARM stuff from muExpDriver Still keeping the driver around for potential speed hacks and overclock config. --- tools/palm/muExpansionDriver/armv5.c | 71 ---- tools/palm/muExpansionDriver/armv5.h | 17 - .../muExpansionDriver/blobs/armCall68k.func | Bin 12 -> 0 bytes .../palm/muExpansionDriver/blobs/armExit.func | Bin 8 -> 0 bytes .../blobs/m68kCallWithBlob.func | Bin 64 -> 0 bytes .../blobs/m68kCallWithBlob.x68 | 75 ----- .../blobs/osPatches/patchPrvChunkNew.X68 | 24 -- .../blobs/osPatches/patchPrvChunkNew.func | Bin 24 -> 0 bytes .../blobs/osPatches/patchPrvPtrResize.L68 | 32 -- .../blobs/osPatches/patchPrvPtrResize.S68 | 3 - .../blobs/osPatches/patchPrvPtrResize.X68 | 25 -- .../blobs/osPatches/patchPrvPtrResize.func | Bin 24 -> 0 bytes tools/palm/muExpansionDriver/blobs/readme.txt | 3 - tools/palm/muExpansionDriver/config.c | 4 - tools/palm/muExpansionDriver/config.h | 4 - tools/palm/muExpansionDriver/devNotes.txt | 10 - tools/palm/muExpansionDriver/globals.h | 5 +- tools/palm/muExpansionDriver/hires.c | 196 ----------- tools/palm/muExpansionDriver/hires.h | 12 - tools/palm/muExpansionDriver/make.sh | 2 +- tools/palm/muExpansionDriver/patcher.c | 180 ---------- tools/palm/muExpansionDriver/soundDriver.c | 1 - tools/palm/muExpansionDriver/soundDriver.h | 1 - tools/palm/muExpansionDriver/traps.c | 309 +----------------- tools/palm/muExpansionDriver/traps.h | 5 - .../unimplementedFeatures.txt | 16 +- 26 files changed, 5 insertions(+), 990 deletions(-) delete mode 100644 tools/palm/muExpansionDriver/armv5.c delete mode 100644 tools/palm/muExpansionDriver/armv5.h delete mode 100644 tools/palm/muExpansionDriver/blobs/armCall68k.func delete mode 100644 tools/palm/muExpansionDriver/blobs/armExit.func delete mode 100644 tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.func delete mode 100644 tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.x68 delete mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.X68 delete mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.func delete mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 delete mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 delete mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 delete mode 100644 tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.func delete mode 100644 tools/palm/muExpansionDriver/blobs/readme.txt delete mode 100644 tools/palm/muExpansionDriver/devNotes.txt delete mode 100644 tools/palm/muExpansionDriver/hires.c delete mode 100644 tools/palm/muExpansionDriver/hires.h delete mode 100644 tools/palm/muExpansionDriver/soundDriver.c delete mode 100644 tools/palm/muExpansionDriver/soundDriver.h diff --git a/tools/palm/muExpansionDriver/armv5.c b/tools/palm/muExpansionDriver/armv5.c deleted file mode 100644 index 59f215c..0000000 --- a/tools/palm/muExpansionDriver/armv5.c +++ /dev/null @@ -1,71 +0,0 @@ -#include "sdkPatch/PalmOSPatched.h" -#include - -#include "armv5.h" -#include "palmGlobalDefines.h" -#include "specs/emuFeatureRegisterSpec.h" - - -void armv5SetStack(uint8_t* location, uint32_t size){ - uint32_t firstStackEntry = (uint32_t)location + size - 1; - - /*must be 32 bit aligned, m68k only enforces 16 bit aligned even for 32 bit access so MemPtrNew may return a word aligned address*/ - while((firstStackEntry & 0x3) != 0) - firstStackEntry--; - - armv5SetRegister(13, firstStackEntry); -} - -uint32_t* armv5ValidatePointer(uint32_t* address){ - /*patches 16 bit alignment to 32 bit alignment using a special address bit*/ - if((uint32_t)address & 0x00000002) - return (uint32_t*)((uint32_t)address ^ 0x20000002); - return address; -} - -uint32_t* armv5InvalidatePointer(uint32_t* address){ - /*puts address bits back to normal*/ - if((uint32_t)address & 0x20000000) - return (uint32_t*)((uint32_t)address ^ 0x20000002); - return address; -} - -void armv5StackPush(uint32_t value){ - uint32_t stackPtr = armv5GetRegister(13); - - stackPtr -= sizeof(uint32_t); - writeArbitraryMemory32(stackPtr, EndianSwap32(value)); - armv5SetRegister(13, stackPtr); -} - -uint32_t armv5StackPop(void){ - uint32_t stackPtr = armv5GetRegister(13); - uint32_t value = EndianSwap32(readArbitraryMemory32(stackPtr)); - - stackPtr += sizeof(uint32_t); - armv5SetRegister(13, stackPtr); - return value; -} - -void armv5SetRegister(uint8_t reg, uint32_t value){ - writeArbitraryMemory32(EMU_REG_ADDR(EMU_DST), reg); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE), value); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_ARM_SET_REG); -} - -uint32_t armv5GetRegister(uint8_t reg){ - writeArbitraryMemory32(EMU_REG_ADDR(EMU_SRC), reg); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_ARM_GET_REG); - return readArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE)); -} - -int32_t armv5Execute(int32_t cycles){ - writeArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE), cycles); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_ARM_RUN); - return readArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE)); -} - -Boolean armv5NeedsService(void){ - writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_ARM_SERVICE); - return readArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE)); -} diff --git a/tools/palm/muExpansionDriver/armv5.h b/tools/palm/muExpansionDriver/armv5.h deleted file mode 100644 index e7ed677..0000000 --- a/tools/palm/muExpansionDriver/armv5.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef ARMV5_H -#define ARMV5_H - -#include "sdkPatch/PalmOSPatched.h" -#include - -void armv5SetStack(uint8_t* location, uint32_t size); -uint32_t* armv5ValidatePointer(uint32_t* address); -uint32_t* armv5InvalidatePointer(uint32_t* address); -void armv5StackPush(uint32_t value); -uint32_t armv5StackPop(void); -void armv5SetRegister(uint8_t reg, uint32_t value); -uint32_t armv5GetRegister(uint8_t reg); -int32_t armv5Execute(int32_t cycles); -Boolean armv5NeedsService(void); - -#endif diff --git a/tools/palm/muExpansionDriver/blobs/armCall68k.func b/tools/palm/muExpansionDriver/blobs/armCall68k.func deleted file mode 100644 index c1da300fe934994710b8e3d7d5ebeffeca185736..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12 UcmZQ%SnzoF?%m({J}h_$04JsgEC2ui diff --git a/tools/palm/muExpansionDriver/blobs/armExit.func b/tools/palm/muExpansionDriver/blobs/armExit.func deleted file mode 100644 index 4a1307300c2df5a861e1cbd67cb76aeca184b5da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8 PcmZQzSnzoF?%m%355WYi diff --git a/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.func b/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.func deleted file mode 100644 index 869d2b1b1688b79b00436dcf80d67d273c542f3e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 64 zcmeYZV_@)jo=~8c$H1YK$H1ec#~@&$#~`BOKlR}LQ|Sy0TqYAkIzze=KFvSqH~IcS UFQ;?{1{MVlpZk1lesO-K09POr^#A|> diff --git a/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.x68 b/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.x68 deleted file mode 100644 index 0127a8f..0000000 --- a/tools/palm/muExpansionDriver/blobs/m68kCallWithBlob.x68 +++ /dev/null @@ -1,75 +0,0 @@ -*----------------------------------------------------------- -* Title :m68kCallWithBlob -* Written by :meepingsnesroms -*----------------------------------------------------------- - ORG $1000 -START: ; first instruction of program - - ;setup fake OS enviroment - lea stack, sp - move.l #$12345678, a0 - move.l #$87654321, d0 - - ;setup stack - sub.l #2, sp - move.w #1, (sp) - pea (6) - pea stackBlob - pea functionTest - jsr m68kCallWithBlobFunc - SIMHALT - -;uint32_t m68kCallWithBlobFunc(uint32_t functionAddress, uint32_t stackBlob, uint32_t stackBlobSize, uint16_t returnA0); -;Extract:vvv -m68kCallWithBlobFunc: - link a6,#0 - movem.l d1-d2/a1-a3,-(sp) - move.l 8(a6), a3 ;function - move.l 12(a6), a1 ;stackBlob - move.l 16(a6), d1 ;stackBlobSize - move.w 20(a6), d2 ;returnA0 - move.l sp, a2 - sub.l d1, a2 -copy: - cmp.l a2, sp - beq done - move.w (a1), (a2) - add.l #2, a1 - add.l #2, a2 - bra copy -done: - ;update SP with new stack - sub.l d1, sp - jsr (a3) - add.l d1, sp - ;new stack has been used and removed, SP is safe again - tst.w d2 - beq useD0 - move.l a0, d0 -useD0: - movem.l (sp)+,d1-d2/a1-a3 - unlk a6 - rts -;Extract:^^^ - -functionTest: - ;test that calling works and the return value respects returnA0 - move.l #$10101010, a0 - rts - -;Stack - ORG $2000 -stack: - dc.w $0, $0, $0 - -;Variables - ORG $3000 -stackBlob: - dc.w $1, $2, $3 - - END START ; last line of source - -*~Font name~Courier New~ -*~Font size~10~ -*~Tab type~1~ -*~Tab size~4~ diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.X68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.X68 deleted file mode 100644 index 2d95591..0000000 --- a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.X68 +++ /dev/null @@ -1,24 +0,0 @@ -*----------------------------------------------------------- -* Title :patchPrvChunkNew -* Written by :meepingsnesroms -*----------------------------------------------------------- - ORG $1000 -START: ; first instruction of program - - ; Patch to address 0x20D04 of palmos41-en-m515.rom - move.l $A(a6), d0 - and.l #$FFFFFFFC, d0 - cmp.l $A(a6), d0 - beq done - addq.l #4, d0 -done: - addq.l #8, d0 - addq.w #2, sp - - END START ; last line of source - - -*~Font name~Courier New~ -*~Font size~10~ -*~Tab type~1~ -*~Tab size~4~ diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.func b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvChunkNew.func deleted file mode 100644 index 82e6b5fbc6e48f291a63eeeefd27ad67186ffcb8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24 gcmY$;W8gZl=l}oze>SXR;7Vs;V2Nl5XbABK0EONO>;M1& diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 deleted file mode 100644 index 8a94242..0000000 --- a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.L68 +++ /dev/null @@ -1,32 +0,0 @@ -00001000 Starting Address -Assembler used: EASy68K Editor/Assembler v5.16.01 -Created On: 4/11/2019 12:27:03 - -00000000 1 *----------------------------------------------------------- -00000000 2 * Title :patchPrvPtrResize -00000000 3 * Written by :meepingsnesroms -00000000 4 *----------------------------------------------------------- -00001000 5 ORG $1000 -00001000 6 START: ; first instruction of program -00001000 7 -00001000 8 ; Patch to address 0x2123C of palmos41-en-m515.rom -00001000 202E 000C 9 move.l $C(a6), d0 -00001004 C0BC FFFFFFFC 10 and.l #$FFFFFFFC, d0 -0000100A B0AE 000C 11 cmp.l $C(a6), d0 -0000100E 6700 0004 12 beq done -00001012 5880 13 addq.l #4, d0 -00001014 14 done: -00001014 5080 15 addq.l #8, d0 -00001016 504F 16 addq.w #8, sp -00001018 17 -00001018 18 END START ; last line of source - -No errors detected -No warnings generated - - -SYMBOL TABLE INFORMATION -Symbol-name Value -------------------------- -DONE 1014 -START 1000 diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 deleted file mode 100644 index 819fe61..0000000 --- a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.S68 +++ /dev/null @@ -1,3 +0,0 @@ -S021000036384B50524F47202020323043524541544544204259204541535936384B6D -S11B1000202E000CC0BCFFFFFFFCB0AE000C6700000458805080504FE9 -S804001000EB diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 deleted file mode 100644 index a98b18d..0000000 --- a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.X68 +++ /dev/null @@ -1,25 +0,0 @@ -*----------------------------------------------------------- -* Title :patchPrvPtrResize -* Written by :meepingsnesroms -*----------------------------------------------------------- - ORG $1000 -START: ; first instruction of program - - ; Patch to address 0x2123C of palmos41-en-m515.rom - move.l $C(a6), d0 - and.l #$FFFFFFFC, d0 - cmp.l $C(a6), d0 - beq done - addq.l #4, d0 -done: - addq.l #8, d0 - addq.w #8, sp - - END START ; last line of source - - - -*~Font name~Courier New~ -*~Font size~10~ -*~Tab type~1~ -*~Tab size~4~ diff --git a/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.func b/tools/palm/muExpansionDriver/blobs/osPatches/patchPrvPtrResize.func deleted file mode 100644 index 120e2a693eb27ef01566e2e5e8b0ddf39eb3e195..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24 gcmY$;W8gWk=l}oze>SXR;7Mm-V2Nl5XbA8J0EQL`>;M1& diff --git a/tools/palm/muExpansionDriver/blobs/readme.txt b/tools/palm/muExpansionDriver/blobs/readme.txt deleted file mode 100644 index 17d35c9..0000000 --- a/tools/palm/muExpansionDriver/blobs/readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -m68kCallWithBlob.x68 is compiled in EASy68K, after export the code in-between the "Extract:vvv", "Extract:^^^" tags - -This is for testing purposes, as I can't debug virtual hardware on a real Palm device. \ No newline at end of file diff --git a/tools/palm/muExpansionDriver/config.c b/tools/palm/muExpansionDriver/config.c index 41f168c..02372f9 100644 --- a/tools/palm/muExpansionDriver/config.c +++ b/tools/palm/muExpansionDriver/config.c @@ -11,10 +11,6 @@ static void getConfigDefaults(uint32_t* configFile){ configFile[USER_WARNING_GIVEN] = false; configFile[DRIVER_ENABLED] = false; configFile[SAFE_MODE] = false; - configFile[ARM_STACK_SIZE] = 0x1000; - configFile[LCD_WIDTH] = 160; - configFile[LCD_HEIGHT] = 220; - configFile[EXTRA_RAM_MB_DYNAMIC_HEAP] = 10; configFile[BOOT_CPU_SPEED] = 100; configFile[PATCH_INCONSISTENT_APIS] = false; } diff --git a/tools/palm/muExpansionDriver/config.h b/tools/palm/muExpansionDriver/config.h index a4cafe6..b10e234 100644 --- a/tools/palm/muExpansionDriver/config.h +++ b/tools/palm/muExpansionDriver/config.h @@ -12,10 +12,6 @@ enum{ USER_WARNING_GIVEN = 0, DRIVER_ENABLED, SAFE_MODE, - ARM_STACK_SIZE, - LCD_WIDTH, - LCD_HEIGHT, - EXTRA_RAM_MB_DYNAMIC_HEAP, BOOT_CPU_SPEED, PATCH_INCONSISTENT_APIS, /*add new entries above*/ diff --git a/tools/palm/muExpansionDriver/devNotes.txt b/tools/palm/muExpansionDriver/devNotes.txt deleted file mode 100644 index 6caf883..0000000 --- a/tools/palm/muExpansionDriver/devNotes.txt +++ /dev/null @@ -1,10 +0,0 @@ -This project can't use global variables, its executed without being launched so writing to globals will corrupt the currently running application, reading will just retrieve random numbers or crash because of invalid access. - -*.func files are binary blobs containing ASM code to perform sensitive functions: -m68kCallWithBlob.func is 68k ASM that copys the stack args blob requested by the armCall68k.func to the 68k stack and executes the function pointer returning A0 or D0 -armCall68k.func is ARM asm that sets up a path back to 68k code without ending ARM execution -armExit.func is ARM asm that terminates ARM execution - -m68kCallWithBlob.func function prototype is: -uint32_t m68kCallWithBlobFunc(uint32_t functionAddress, uint32_t stackBlob, uint32_t stackBlobSize, uint16_t returnA0); -The smallest type on the 68k stack allowed is uint16_t, this is because of alignment restrictions. \ No newline at end of file diff --git a/tools/palm/muExpansionDriver/globals.h b/tools/palm/muExpansionDriver/globals.h index 7eb678b..0e95ffd 100644 --- a/tools/palm/muExpansionDriver/globals.h +++ b/tools/palm/muExpansionDriver/globals.h @@ -4,10 +4,7 @@ #include enum{ - ARM_STACK_START = 0, - TUNGSTEN_W_DRIVERS_INSTALLED, - CURRENT_RESOLUTION, - ORIGINAL_FRAMEBUFFER + EMPTY_LIST = 0 }; uint32_t getGlobalVar(uint16_t id); diff --git a/tools/palm/muExpansionDriver/hires.c b/tools/palm/muExpansionDriver/hires.c deleted file mode 100644 index 686b063..0000000 --- a/tools/palm/muExpansionDriver/hires.c +++ /dev/null @@ -1,196 +0,0 @@ -#include "sdkPatch/PalmOSPatched.h" -#include - -#include "debug.h" -#include "globals.h" -#include "traps.h" -#include "palmOsPriv.h" -#include "palmGlobalDefines.h" -#include "specs/emuFeatureRegisterSpec.h" - - -typedef struct{ - BitmapTypeV3 bitmap; - uint16_t* data; -}BitmapTypeV3Indirect; - - -static Boolean setTungstenWDriverFramebuffer(uint16_t width, uint16_t height){ - if(getGlobalVar(TUNGSTEN_W_DRIVERS_INSTALLED)){ - BitmapTypeV3Indirect* newBitmap; - int16_t newBitmapWidth; - int16_t newBitmapHeight; - WindowType* driverWindow; - Err error; - - /*remove special cases for the presence of a silkscreen, they would waste extra memory*/ - if(width == 160 && height == 220){ - newBitmapWidth = 160; - newBitmapHeight = 160; - } - else if(width == 320 && height == 440){ - newBitmapWidth = 320; - newBitmapHeight = 320; - } - else{ - newBitmapWidth = width; - newBitmapHeight = height; - } - - driverWindow = WinGetWindowPointer(WinGetDisplayWindow()); - - newBitmap = MemChunkNew(0, sizeof(BitmapTypeV3Indirect), memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); - if(!newBitmap){ - debugLog("Couldnt create new framebuffer bitmap struct!\n"); - return false; - } - - error = MemSet(newBitmap, sizeof(BitmapTypeV3Indirect), 0x00); - if(error != errNone) - debugLog("Couldnt clear bitmap struct:%d\n", error); - - /*build bitmap manually to prevent having to duplicate a V2 bitmap*/ - newBitmap->bitmap.width = newBitmapWidth; - newBitmap->bitmap.height = newBitmapHeight; - newBitmap->bitmap.rowBytes = newBitmapWidth * sizeof(uint16_t); - newBitmap->bitmap.flags.indirect = true; - newBitmap->bitmap.flags.forScreen = false;/*this is a lie, it is for the screen, but no screen rendering routines should be used*/ - newBitmap->bitmap.flags.directColor = true; - newBitmap->bitmap.size = sizeof(BitmapTypeV3); - newBitmap->bitmap.pixelFormat = pixelFormat565; - newBitmap->bitmap.compressionType = BitmapCompressionTypeNone; - newBitmap->bitmap.density = kDensityDouble; - - newBitmap->data = MemChunkNew(0, newBitmapWidth * newBitmapHeight * sizeof(uint16_t), memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); - if(!newBitmap->data){ - debugLog("Couldnt create new framebuffer!\n"); - return false; - } - - /*white out framebuffer*/ - /*this dident work?*/ - error = MemSet(newBitmap->data, newBitmapWidth * newBitmapHeight * sizeof(uint16_t), 0xFF); - if(error != errNone) - debugLog("Couldnt clear framebuffer:%d\n", error); - - /*clean up old framebuffer if its not the original one and set new one*/ - /*driverWindow->bitmapP->flags.forScreen = false;*/ - /*BmpDelete(driverWindow->bitmapP);*/ - - driverWindow->bitmapP = (BitmapType*)&newBitmap->bitmap; - - /*tell the emu where the framebuffer is*/ - writeArbitraryMemory32(EMU_REG_ADDR(EMU_SRC), (uint32_t)newBitmap->data); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE), (uint32_t)width << 16 | height); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_LCD_SET_FB); - - return true; - } - - /*driver is not loaded, cant set window*/ - return false; -} - -Boolean installTungstenWLcdDrivers(void){ - /*check that all driver files are installed and launch drivers boot entrypoints*/ - if(!getGlobalVar(TUNGSTEN_W_DRIVERS_INSTALLED)){ -#if 1 - LocalID database; - DmOpenRef highDensityDisplay; - MemHandle highDensityDisplayInitHandle; - void (*installHighDensityDisplay)(void); - - /*Hi Res Blitter.prc, this is the Tungsten W GPU driver, this will crash the device so dont install it*/ - /*PRC ID:bhal hire*/ - /*Resource ID:boot0000*/ - - /*HighDensityFonts.prc, font pack, only need to check if present*/ - /*PRC ID:data hidd*/ - /*Resource ID:nfnt????*/ - database = DmFindDatabase(0, "HighDensityFonts"); - if(!database){ - /*file does not exist*/ - debugLog("HighDensityFonts.prc not installed!\n"); - return false; - } - - /*HighDensityDisplay.prc, HAL addon, need to jump to exte0000*/ - /*PRC ID:extn hidd*/ - /*Resource ID:????????*/ - database = DmFindDatabase(0, "HighDensityDisplay"); - if(!database){ - /*file does not exist*/ - debugLog("HighDensityDisplay.prc not installed!\n"); - return false; - } - - highDensityDisplay = DmOpenDatabase(0, database, dmModeReadOnly); - if(!highDensityDisplay){ - /*cant open file*/ - debugLog("Cant open HighDensityDisplay.prc!\n"); - return false; - } - - highDensityDisplayInitHandle = DmGetResource('exte', 0x0000); - if(!highDensityDisplayInitHandle){ - /*cant open file resource*/ - debugLog("Cant open HighDensityDisplay.prc exte0000!\n"); - return false; - } - installHighDensityDisplay = (void(*)(void))MemHandleLock(highDensityDisplayInitHandle); - - /*backup original LCD window for SED1376*/ - setGlobalVar(ORIGINAL_FRAMEBUFFER, (uint32_t)WinGetBitmap(WinGetDisplayWindow())); - - debugLog("Attempting Tungsten W driver install!\n"); - - /*patch HwrDisplayAttributes before running so driver will install*/ - SysSetTrapAddress(sysTrapHwrDisplayAttributes, emuHwrDisplayAttributes); - - /*remove things that cause crashes*/ - SysSetTrapAddress(sysTrapScrDrawChars, emuScrDrawChars); - - /*run HighDensityDisplay.prc exte0000*/ - installHighDensityDisplay(); - debugLog("Tungsten W drivers installed!\n"); - - /*close everything*/ - MemHandleUnlock(highDensityDisplayInitHandle); - DmCloseDatabase(highDensityDisplay); -#endif - - /*success*/ - setGlobalVar(TUNGSTEN_W_DRIVERS_INSTALLED, true); - return true; - } - - debugLog("Tungsten W drivers already installed!\n"); - - /*already installed*/ - return true; -} - -Boolean setDeviceResolution(uint16_t width, uint16_t height){ - uint32_t oldResolution = getGlobalVar(CURRENT_RESOLUTION); - uint32_t newResolution = (uint32_t)width << 16 | height; - - debugLog("Setting custom FB size w:%d, h:%d\n", width, height); - - if(newResolution != oldResolution){ - if(!setTungstenWDriverFramebuffer(width, height)) - return false; - - setGlobalVar(CURRENT_RESOLUTION, newResolution); - } - - return true; -} - -void screenSignalApplicationStart(void){ - /*nothing for now*/ -} - -void screenSignalApplicationExit(void){ - /*put back all defaults, apps must signal they support hires before its enabled and its disabled again when the app is closed*/ - setDeviceResolution(160, 220); -} diff --git a/tools/palm/muExpansionDriver/hires.h b/tools/palm/muExpansionDriver/hires.h deleted file mode 100644 index ac5275f..0000000 --- a/tools/palm/muExpansionDriver/hires.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef HIRES_H -#define HIRES_H - -#include "sdkPatch/PalmOSPatched.h" -#include - -Boolean installTungstenWLcdDrivers(void); -Boolean setDeviceResolution(uint16_t width, uint16_t height); -void screenSignalApplicationStart(void); -void screenSignalApplicationExit(void); - -#endif diff --git a/tools/palm/muExpansionDriver/make.sh b/tools/palm/muExpansionDriver/make.sh index 55148b1..6ce0b7b 100755 --- a/tools/palm/muExpansionDriver/make.sh +++ b/tools/palm/muExpansionDriver/make.sh @@ -11,7 +11,7 @@ if [ "$1" = "clean" ]; then exit fi -declare -a FILES=("muExpDriver" "patcher" "hires" "armv5" "soundDriver" "globals" "gui" "traps" "config" "debug") +declare -a FILES=("muExpDriver" "patcher" "globals" "gui" "traps" "config" "debug") CFLAGS="-palmos4 -O3" if [ "$1" = "debug" ]; then diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 1b609f9..c6504fa 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -4,8 +4,6 @@ #include "debug.h" #include "config.h" #include "traps.h" -#include "armv5.h" -#include "hires.h" #include "globals.h" #include "palmOsPriv.h" #include "palmGlobalDefines.h" @@ -28,76 +26,6 @@ static void lockCodeXXXX(void){ } } -static void resizeTrapTable(void){ - uint16_t oldSr; - void** oldTrapTable; - void** newTrapTable; - - /*order and time sensitive code!!!*/ - oldSr = SysDisableInts(); - - /*get new trap table memory*/ - newTrapTable = MemChunkNew(0, (sysTrapLastTrapNumber - sysTrapBase) * sizeof(uint32_t), memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); - debugLog("New trap table created at:0x%08lX\n", newTrapTable); - - /*copy over old OS 4 size trap table and 0 out the OS 5 part*/ - MemMove(newTrapTable, TrapTablePtr, (sysTrapPceNativeCall - sysTrapBase) * sizeof(uint32_t)); - MemSet(newTrapTable + sysTrapPceNativeCall - sysTrapBase, (sysTrapLastTrapNumber - sysTrapPceNativeCall) * sizeof(uint32_t), 0x00); - - /*save old table pointer to free*/ - oldTrapTable = TrapTablePtr; - - /*swap the tables*/ - TrapTablePtr = newTrapTable; - - /*cant free the old table as it is in low mem globals out of the jurisdiction of the memory manager*/ - - /*return to normal execution*/ - SysRestoreStatus(oldSr); -} - -static void install128mbRam(uint8_t mbDynamicHeap){ - /*these functions are called by HwrInit, which can be called directly by apps*/ - /*PrvGetRAMSize_10002C5E, small ROM*/ - /*PrvGetRAMSize_1008442E, big ROM*/ - /*HwrPreDebugInit_10002B06, small ROM*/ - /*HwrPreDebugInit_100842DC, big ROM, sets up the default RAM card*/ - /*HwrCalcDynamicHeapSize_10005D10, small ROM*/ - /*HwrCalcDynamicHeapSize_10083B54, big ROM, sets up the heap size*/ - - - /*installs a new virtual card with the extra RAM(128mb - 16mb)*/ - - /* - Err MemCardFormat(UInt16 cardNo, const Char *cardNameP, - const Char *manufNameP, const Char *ramStoreNameP) - SYS_TRAP(sysTrapMemCardFormat); - */ - - /* - Err MemStoreSetInfo(UInt16 cardNo, UInt16 storeNumber, - UInt16 *versionP, UInt16 *flagsP, Char *nameP, - UInt32 *crDateP, UInt32 *bckUpDateP, - UInt32 *heapListOffsetP, UInt32 *initCodeOffset1P, - UInt32 *initCodeOffset2P, LocalID* databaseDirIDP) - SYS_TRAP(sysTrapMemStoreSetInfo); - */ -} - -static void installPceNativeCallHandler(uint32_t armStackSize){ - uint8_t* oldArmStack = (uint8_t*)getGlobalVar(ARM_STACK_START); - uint8_t* armStackStart; - - TrapTablePtr[sysTrapPceNativeCall - sysTrapBase] = (void*)emuPceNativeCall; - - if(oldArmStack) - MemChunkFree(oldArmStack); - - armStackStart = MemChunkNew(0, armStackSize, memNewChunkFlagPreLock | memNewChunkFlagNonMovable | memNewChunkFlagAllowLarge); - armv5SetStack(armStackStart, armStackSize); - setGlobalVar(ARM_STACK_START, (uint32_t)armStackStart); -} - static void installDebugHandlers(void){ void* sysUnimplementedAddress = SysGetTrapAddress(sysTrapSysUnimplemented); uint16_t index; @@ -114,98 +42,6 @@ static void installDebugHandlers(void){ TrapTablePtr[sysTrapErrDisplayFileLineMsg - sysTrapBase] = (void*)emuErrDisplayFileLineMsg; } -static void setProperDeviceId(uint16_t screenWidth, uint16_t screenHeight, Boolean hasArmCpu, Boolean hasDpad){ - uint32_t osVer; - uint32_t companyId; - uint32_t deviceId; - uint32_t halId; - - if(hasArmCpu){ - /*get matching OS 5 device*/ - switch((uint32_t)screenWidth << 16 | screenHeight){ - case (uint32_t)480 << 16 | 320: - /*Tapwave Zodiac 2*/ - osVer = sysMakeROMVersion(5, 4, 0, sysROMStageRelease, 0);/*needs to be verifyed!!!*/ - companyId = 'Tpwv'; - deviceId = 'Rdog'; - halId = 'MX1a'; - break; - - case (uint32_t)320 << 16 | 440: - /*Tungsten E2*/ - osVer = sysMakeROMVersion(5, 4, 0, sysROMStageRelease, 0);/*needs to be verifyed!!!*/ - companyId = 'Palm'; - deviceId = 'Zir4'; - halId = 'hspr'; - break; - - default: - /*use Palm Z22, has the same resolution as the Palm m515*/ - osVer = sysMakeROMVersion(5, 4, 0, sysROMStageRelease, 0);/*needs to be verifyed!!!*/ - companyId = 'Palm'; - deviceId = 'D051'; - halId = 'S051'; - break; - } - } - else{ - /*get matching OS 4 device*/ - switch((uint32_t)screenWidth << 16 | screenHeight){ - case (uint32_t)320 << 16 | 440: - /*Tungsten E running OS 4*/ - /*there are no 320x320 + digitizer, 16 bit color, OS 4 devices*/ - /*this is not a real device, using it may cause issues*/ - FtrGet(sysFileCSystem, sysFtrNumROMVersion, &osVer); - companyId = 'Palm'; - deviceId = 'Cct1'; - halId = 'Ect1'; - break; - - case (uint32_t)320 << 16 | 320: - /*Tungsten W*/ - osVer = sysMakeROMVersion(4, 1, 0, sysROMStageRelease, 0);/*needs to be verifyed!!!*/ - companyId = 'palm'; - deviceId = 'atc1'; - halId = 'atlc'; - break; - - default: - /*use device defaults*/ - FtrGet(sysFileCSystem, sysFtrNumROMVersion, &osVer); - FtrGet(sysFileCSystem, sysFtrNumOEMCompanyID, &companyId); - FtrGet(sysFileCSystem, sysFtrNumOEMDeviceID, &deviceId); - FtrGet(sysFileCSystem, sysFtrNumOEMHALID, &halId); - break; - } - } - - /*set CPU ID*/ - if(hasArmCpu) - FtrSet(sysFtrCreator, sysFtrNumProcessorID, sysFtrNumProcessorXscale); - else - FtrSet(sysFtrCreator, sysFtrNumProcessorID, sysFtrNumProcessorVZ); - - /*enable dpad API*/ - if(hasDpad) - FtrSet(navFtrCreator, navFtrVersion, navVersion); - else - FtrUnregister(navFtrCreator, navFtrVersion); - - /*no fixed digitizer, enable digitizer APIs*/ - if(screenHeight != 220 && screenHeight != 440) - FtrSet(pinCreator, pinFtrAPIVersion, pinAPIVersion1_1); - else - FtrUnregister(pinCreator, pinFtrAPIVersion); - - /*later Sony specific stuff may go here to allow running Clie apps*/ - /*later Tapwave specific stuff may go here to allow running Zodiac apps*/ - - FtrSet(sysFileCSystem, sysFtrNumROMVersion, osVer); - FtrSet(sysFileCSystem, sysFtrNumOEMCompanyID, companyId); - FtrSet(sysFileCSystem, sysFtrNumOEMDeviceID, deviceId); - FtrSet(sysFileCSystem, sysFtrNumOEMHALID, halId); -} - void initBoot(uint32_t* configFile){ if(configFile[DRIVER_ENABLED] && !configFile[SAFE_MODE]){ LocalID thisApp; @@ -246,26 +82,10 @@ void initBoot(uint32_t* configFile){ /*prevents the code being moved out from underneath its function pointers(in the API trap table), causing crashes*/ lockCodeXXXX(); - - /*make an OS 5 size trap table, needed if debugging or any OS 5 features are enabled*/ - if(enabledFeatures & (FEATURE_HYBRID_CPU | FEATURE_SND_STRMS | FEATURE_DEBUG)) - resizeTrapTable(); if(enabledFeatures & FEATURE_DEBUG) installDebugHandlers(); - if(enabledFeatures & FEATURE_RAM_HUGE) - install128mbRam(configFile[EXTRA_RAM_MB_DYNAMIC_HEAP]); - - if(enabledFeatures & FEATURE_HYBRID_CPU) - installPceNativeCallHandler(configFile[ARM_STACK_SIZE]); - - if(enabledFeatures & FEATURE_CUSTOM_FB) - if(installTungstenWLcdDrivers()) - setDeviceResolution(configFile[LCD_WIDTH], configFile[LCD_HEIGHT]); - - setProperDeviceId(configFile[LCD_WIDTH], configFile[LCD_HEIGHT], !!(enabledFeatures & FEATURE_HYBRID_CPU), !!(enabledFeatures & FEATURE_EXT_KEYS)); - writeArbitraryMemory32(EMU_REG_ADDR(EMU_VALUE), configFile[BOOT_CPU_SPEED]); writeArbitraryMemory32(EMU_REG_ADDR(EMU_CMD), CMD_SET_CPU_SPEED); diff --git a/tools/palm/muExpansionDriver/soundDriver.c b/tools/palm/muExpansionDriver/soundDriver.c deleted file mode 100644 index 8b13789..0000000 --- a/tools/palm/muExpansionDriver/soundDriver.c +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tools/palm/muExpansionDriver/soundDriver.h b/tools/palm/muExpansionDriver/soundDriver.h deleted file mode 100644 index 8b13789..0000000 --- a/tools/palm/muExpansionDriver/soundDriver.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 0aab6ec..a2694ff 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -1,9 +1,8 @@ #include "sdkPatch/PalmOSPatched.h" #include -#include "debug.h" -#include "armv5.h" #include "traps.h" +#include "debug.h" #include "globals.h" #include "palmOsPriv.h" #include "palmGlobalDefines.h" @@ -12,118 +11,6 @@ /*cant use normal global variables in this file!!!*/ /*functions in this file are called directly by the Palm OS trap dispatch, this means they can be called when the app isnt loaded and the globals are just a random data buffer*/ -#if 0 -static const SECTION(".text") ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ -static const SECTION(".text") ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ -static const SECTION(".text") ALIGN(2) uint8_t m68kCallWithBlobFunc[] = { - 0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, - 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, - 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0A, 0x34, 0x91, - 0x54, 0x89, 0x54, 0x8A, 0x60, 0xF2, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, - 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, - 0x4E, 0x5E, 0x4E, 0x75 - -};/*68k asm blob*/ -#endif - -UInt32 emuPceNativeCall(NativeFuncType* nativeFuncP, void* userDataP){ - /*these arnt set as "static" because the globals dont work here*/ -#if 1 - const ALIGN(2) uint32_t armExitFunc[] = {0x0000A0E3, 0xBBBBBBF7};/*ARM asm blob*/ - const ALIGN(2) uint32_t armCall68kFunc[] = {0x0100A0E3, 0xBBBBBBF7, 0x0EF0A0E1};/*ARM asm blob*/ - const ALIGN(2) uint8_t m68kCallWithBlobFunc[] = { - 0x4E, 0x56, 0x00, 0x00, 0x48, 0xE7, 0x60, 0x70, 0x26, 0x6E, 0x00, 0x08, - 0x22, 0x6E, 0x00, 0x0C, 0x22, 0x2E, 0x00, 0x10, 0x34, 0x2E, 0x00, 0x14, - 0x24, 0x4F, 0x95, 0xC1, 0xBF, 0xCA, 0x67, 0x00, 0x00, 0x0A, 0x34, 0x91, - 0x54, 0x89, 0x54, 0x8A, 0x60, 0xF2, 0x9F, 0xC1, 0x4E, 0x93, 0xDF, 0xC1, - 0x4A, 0x42, 0x67, 0x00, 0x00, 0x04, 0x20, 0x08, 0x4C, 0xDF, 0x0E, 0x06, - 0x4E, 0x5E, 0x4E, 0x75 - - };/*68k asm blob*/ -#endif - uint32_t oldArmRegisters[5]; - uint32_t returnValue; - - /*AAPCS calling convention*/ - /*on a function call R0<->R3 store the function arguments if they fit, extras will go on the stack*/ - /*first arg goes in R0, second in R1, ..., up to 4 args can go in registers*/ - /*on function return R0 and R1 store the return value of the last function, R1 is only used if the return value is 64 bit*/ - /*R4<->R7 are always local variables*/ - - /*My dual CPU calling convention, called when ARM opcode 0xF7BBBBBB is run*/ - /*R0 = 0 is execution finished, R0 = 1 is run function*/ - /*when R0 = 1, R1 = function to execute, R2 = stack blob, R3 = stack blob size and want A0*/ - - /*Fake ARM 32 bit alignment convention*/ - /*0x0XXXXXXX<->0x1XXXXXXX Normal memory access*/ - /*0x20000000<->0x3XXXXXXX Mirrored range, realAddress = address - 0x20000000 + 0x00000002*/ - - /*this will still fail if ARM allocates a 16 bit aligned buffer and passes it to the 68k,*/ - /*but it allows 16 bit aligned data to be executed from the 68k stack and works as a*/ - /*temporary measure until I get MemChunkNew patched correctly*/ - - debugLog("Called ARM function:0x%08lX\n", (uint32_t)nativeFuncP); - - /*save old ARM state, needed if this function is called recursively*/ - /*(68k(normal mode)->PceNativeCall->...->Call68kFunc->...->PceNativeCall(this could corrupt old args if they arnt backed up!!!))*/ - oldArmRegisters[0] = armv5GetRegister(0); - oldArmRegisters[1] = armv5GetRegister(1); - oldArmRegisters[2] = armv5GetRegister(2); - oldArmRegisters[3] = armv5GetRegister(14); - oldArmRegisters[4] = armv5GetRegister(15); - - armv5SetRegister(0, 0xBADC0DE);/*emulStateP is unused*/ - armv5SetRegister(1, (uint32_t)armv5ValidatePointer(userDataP)); - armv5SetRegister(2, (uint32_t)armv5ValidatePointer(armCall68kFunc)); - - armv5SetRegister(14, (uint32_t)armv5ValidatePointer(armExitFunc));/*set link register to return location*/ - armv5SetRegister(15, (uint32_t)armv5ValidatePointer((uint32_t*)nativeFuncP));/*set program counter to function*/ - - while(true){ - armv5Execute(100);/*run 100 opcodes, returns instantly with cycles remaining when service is needed*/ - if(armv5NeedsService()){ - /*ARM tried to call a 68k function or has finished executing*/ - if(armv5GetRegister(0)){ - /*call function*/ - uint32_t function = armv5GetRegister(1); - uint32_t stackBlob = armv5GetRegister(2); - uint32_t stackBlobSizeAndWantA0 = armv5GetRegister(3); - uint32_t (*m68kCallWithBlobFuncPtr)(uint32_t functionAddress, uint32_t stackBlob, uint32_t stackBlobSize, uint16_t returnA0) = (uint32_t (*)(uint32_t, uint32_t, uint32_t, uint16_t))m68kCallWithBlobFunc; - - debugLog("ARM calling 68k: function:0x%08lX, stackBlob:0x%08lX, stackBlobSize:0x%08lX, wantA0:%d\n", function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0)); - - /*API call, convert to address first*/ - if(function <= kPceNativeTrapNoMask) - function = (uint32_t)TrapTablePtr[function];/*SysGetTrapAddress cant be used because this needs to handle OS 5 API calls too*/ - - /*return whatever the 68k function did*/ - armv5SetRegister(0, m68kCallWithBlobFuncPtr(function, stackBlob, stackBlobSizeAndWantA0 & ~kPceNativeWantA0, !!(stackBlobSizeAndWantA0 & kPceNativeWantA0))); - } - else{ - /*execution is over*/ - break; - } - } - } - - returnValue = armv5GetRegister(0); - - /*load old register state*/ - armv5SetRegister(0, oldArmRegisters[0]); - armv5SetRegister(1, oldArmRegisters[1]); - armv5SetRegister(2, oldArmRegisters[2]); - armv5SetRegister(14, oldArmRegisters[3]); - armv5SetRegister(15, oldArmRegisters[4]); - - debugLog("Finished ARM function:0x%08lX\n", (uint32_t)nativeFuncP); - - return returnValue; -} - -UInt32 emuKeyCurrentState(void){ - /*need to call old KeyCurrentState then | wihth new keys*/ - return 0x00000000; -} void emuErrDisplayFileLineMsg(const Char* const filename, UInt16 lineNo, const Char* const msg){ debugLog("Error at:%s, Line:%d, Msg:%s\n", filename, lineNo, msg); @@ -136,197 +23,3 @@ void emuSysUnimplemented(void){ debugLog("Unimplemented API:0x%04X, called from:0x%08lX\n", apiNum, callLocation); } - -Err emuHwrDisplayAttributes(Boolean set, UInt8 attribute, void* dataPtr){ - /*this function is exempt from formatting standards, it is meant as an exact C reconstrution of the Tungsten W HwrDisplayAttributes patched to work on an m515*/ - static const char lcdControllerName[] = "MQ11xx LCD Controller"; - Err error = errNone; - - /*dispErrorClass | 0x01 = Cant Set???, also returned for null pointers*/ - /*dispErrorClass | 0x04 = Attribute Doesnt Exist??*/ - - switch(attribute){ - case 0: - /*display controler ID, MediaQ GPU*/ - (UInt32*)dataPtr = '12MQ'; - break; - - case 1: - /*???*/ - (UInt16*)dataPtr = 1; - break; - - case 2: - /*???*/ - (UInt16*)dataPtr = 1; - break; - - case 3: - /*???*/ - (UInt16*)dataPtr = 0x808B; - break; - - case 4: - /*read some random RAM value and fail if 0*/ - if(ScrStatePtr) - (UInt16*)dataPtr = 0x10; - else - error = dispErrorClass | 0x04; - break; - - case 5: - /*???*/ - (UInt16*)dataPtr = 8; - break; - - case 6: - /*???*/ - (UInt16*)dataPtr = 0x10; - break; - - case 7: - /*display size something, width???, PrvDisplaySize(Boolean set, void* dataPtr)*/ - /*UNTESTED*/ - (UInt16*)dataPtr = 320; - break; - - case 8: - /*display size something, height???, PrvDisplaySize(Boolean set, void* dataPtr)*/ - /*UNTESTED*/ - (UInt16*)dataPtr = 320; - break; - - case 9: - /*display chip framebuffer start address*/ - (UInt32*)dataPtr = 0x1F000000; - break; - - case 10: - /*display chip framebuffer size*/ - (UInt32*)dataPtr = 0x3C000; - break; - - case 11: - /*???*/ - (UInt16*)dataPtr = 1; - break; - - case 12: - /*full name of display controller*/ - StrCopy((char*)dataPtr, lcdControllerName); - break; - - case 13: - /*display base address*/ - /*UNTESTED*/ - (UInt32*)dataPtr = 0x1F000000; - break; - - case 14: - /*display depth*/ - /*UNTESTED*/ - (UInt16*)dataPtr = 16; - break; - - case 15: - /*read some random RAM value and write to dataPtr*/ - if(readArbitraryMemory8(0x36C)) - (UInt16*)dataPtr = 0x140; - else - (UInt16*)dataPtr = 0xA0; - break; - - case 16: - /*read some random RAM value and write to dataPtr*/ - if(readArbitraryMemory8(0x36C)) - (UInt16*)dataPtr = 0x140; - else - (UInt16*)dataPtr = 0xA0; - break; - - case 17: - /*display row bytes*/ - /*UNTESTED*/ - (UInt16*)dataPtr = 320 * sizeof(uint16_t); - break; - - case 18: - /*display backlight*/ - /*UNTESTED*/ - (UInt8*)dataPtr = 0x01; - break; - - case 19: - /*display contrast*/ - /*UNTESTED*/ - (UInt8*)dataPtr = 0x01; - break; - - /*case 20: has no handler*/ - - case 21: - /*display debug indicator*/ - /*TODO, shouldnt be needed*/ - break; - - case 22: - /*display controller chip framebuffer end address???*/ - if(set) - error = dispErrorClass | 0x01; - else - (UInt32*)dataPtr = 0x1F03C000; - break; - - /*case 23: has no handler*/ - /*case 24: has no handler*/ - /*case 25: has no handler*/ - /*case 26: has no handler*/ - - case 27: - /*???*/ - (UInt16*)dataPtr = 0x90; - break; - - case 28: - /*???*/ - (UInt16*)dataPtr = 0x40; - break; - - case 29: - /*???*/ - (UInt16*)dataPtr = 0x20; - break; - - case 30: - /*???*/ - (UInt8*)dataPtr = 1; - break; - - default: - debugLog("Invalid display attribute requested:%d\n", attribute); - error = dispErrorClass | 0x04; - break; - } - - return error; -} - -void emuScrDrawChars(WinPtr pWindow, Int16 xLoc, Int16 yLoc, Int16 xExtent, Int16 yExtent, Int16 clipTop, Int16 clipLeft, Int16 clipBottom, Int16 clipRight, Char* chars, UInt16 len, FontPtr fontPtr){ - /*do nothing*/ -} - -/* -may need to set this to change the border color like on OS 5 -Boolean UIPickColor(IndexedColorType *indexP, RGBColorType *rgbP, - UIPickColorStartType start, const Char *titleP, - const Char *tipP) -SYS_TRAP(sysTrapUIPickColor); -*/ - -/* - may need to remove these from trap table: - ScrGetGrayPat - ScrGetColortable - ScrDrawChars - ScrCopyRectangle - */ diff --git a/tools/palm/muExpansionDriver/traps.h b/tools/palm/muExpansionDriver/traps.h index 4b5a928..a3c8c41 100644 --- a/tools/palm/muExpansionDriver/traps.h +++ b/tools/palm/muExpansionDriver/traps.h @@ -17,12 +17,7 @@ typedef struct PACKED{ #define getCallLocation() (__stack_frame->pc - 4) #define getCalledApiNum() (readArbitraryMemory16(__stack_frame->pc - 2)) -UInt32 emuPceNativeCall(NativeFuncType *nativeFuncP, void *userDataP); -UInt32 emuKeyCurrentState(void); void emuErrDisplayFileLineMsg(const Char* const filename, UInt16 lineNo, const Char* const msg); void emuSysUnimplemented(void); -Err emuHwrDisplayAttributes(Boolean set, UInt8 attribute, void* dataPtr); -void emuScrDrawChars(WinPtr pWindow, Int16 xLoc, Int16 yLoc, Int16 xExtent, Int16 yExtent, Int16 clipTop, Int16 clipLeft, Int16 clipBottom, Int16 clipRight, Char* chars, UInt16 len, FontPtr fontPtr); - #endif diff --git a/tools/palm/muExpansionDriver/unimplementedFeatures.txt b/tools/palm/muExpansionDriver/unimplementedFeatures.txt index 68c7748..0ed1960 100644 --- a/tools/palm/muExpansionDriver/unimplementedFeatures.txt +++ b/tools/palm/muExpansionDriver/unimplementedFeatures.txt @@ -1,19 +1,7 @@ +HLE API forwarder Builtin Dragonball VZ LCD controller emulation -Reading OS 5 keys -Huge RAM support -Unverified OS version strings need to be verified -ARM support -OS 5 audio API -Custom FB mode -Setting window color like OS 5 -Tungsten W drivers are corrupting the trap table pointer(and a ton of other low mem globals) -For some reason the new versions of MuExpDriver dont work with Chuzzle anymore -Need to allocate a new trap table and set the global to that, not just write off the end of the existing one -Need to lock the code resources on boot, databases can be shuffled in RAM to free up space and that will corrupt old trap addresses -Need to patch SysGetOSVersionString Crash on first load when pressing "Emulator", probably caused by accessing the config file wrong(happens after driver is deleted and reinstalled) -Debug memory tools watchAppCode() is unfinished -Now that the low memory global space for the trap table is unused I have a place for global vars + Fixed: GUI \ No newline at end of file From 48d3983b72dc4fbabefed9b9c82c9b11128a10c6 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 19 Apr 2019 10:59:32 -0700 Subject: [PATCH 47/47] Remove more old stuff --- .../armPartialyWorksAt4ByteAlignment.txt | 453 ------------------ bugs/armCpu/notes.txt | 1 - bugs/disassemblyNotes.txt | 87 ---- bugs/unimplementedHardware.txt | 1 - images/silkscreen320x120.png | Bin 12960 -> 0 bytes libretroBuildSystem/mu_libretro.info | 2 +- src/flx68000.c | 6 +- 7 files changed, 4 insertions(+), 546 deletions(-) delete mode 100644 bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt delete mode 100644 bugs/armCpu/notes.txt delete mode 100644 bugs/disassemblyNotes.txt delete mode 100644 images/silkscreen320x120.png diff --git a/bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt b/bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt deleted file mode 100644 index 42392ca..0000000 --- a/bugs/armCpu/armPartialyWorksAt4ByteAlignment.txt +++ /dev/null @@ -1,453 +0,0 @@ -Cant draw screen, LCD on:false, PLL on:true, power save on:false, forced blank on:false(printed 4 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -Cant draw screen, LCD on:false, PLL on:true, power save on:false, forced blank on:false(printed 2 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -CMD_PRINT: muExpDriver:OS booting! (printed 1 times) -CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) -CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage free:15796336 bytes, Storage biggest block:15769916 bytes (printed 1 times) -CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) -CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) -CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) -SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) -CMD_PRINT: muExpDriver:Attempting to load GUI. (printed 1 times) -CMD_PRINT: muExpDriver:Attempting reboot! (printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) -CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) -CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) -SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) -Sandbox: Command 1 started(printed 1 times) -m68k jumped 0xEFF7B2D6 bytes to invalid address, from 0x10084D0A to 0xFFFFFFE0(printed 1 times) -m68k jumped 0x00000000 bytes to invalid address, from 0xFFFFFFE4 to 0xFFFFFFE4(printed 1 times) -m68k jumped 0x0000000E bytes to invalid address, from 0xFFFFFFEE to 0xFFFFFFE0(printed 1 times) -m68k jumped 0x00000000 bytes to invalid address, from 0xFFFFFFE4 to 0xFFFFFFE4(printed 1 times) -m68k jumped 0x0000000E bytes to invalid address, from 0xFFFFFFEE to 0xFFFFFFE0(printed 1 times) -m68k jumped 0x00000000 bytes to invalid address, from 0xFFFFFFE4 to 0xFFFFFFE4(printed 1 times) -Sandbox: Command 1 finished(printed 1 times) -CMD_PRINT: muExpDriver:No config file, setting default config. (printed 1 times) -CMD_PRINT: muExpDriver:Attempting to load GUI. (printed 1 times) -CMD_PRINT: muExpDriver:Attempting reboot! (printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -CMD_PRINT: muExpDriver:OS booting! (printed 1 times) -CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) -CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage free:15796364 bytes, Storage biggest block:15769940 bytes (printed 1 times) -CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) -CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) -CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) -SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) -CMD_PRINT: muExpDriver:Called ARM function:0x000D4CA2 (printed 1 times) -Bus error timeout at:0xAA22CD58, PC:0x000EC522(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -CMD_PRINT: muExpDriver:OS booting! (printed 1 times) -CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) -CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage free:15796364 bytes, Storage biggest block:15769940 bytes (printed 1 times) -CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) -CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) -CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) -SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) -CMD_PRINT: muExpDriver:Called ARM function:0x000D4CA2 (printed 1 times) -Bus error timeout at:0xAA22CD58, PC:0x000EC522(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -CMD_PRINT: muExpDriver:OS booting! (printed 1 times) -CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) -CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage free:15796364 bytes, Storage biggest block:15769940 bytes (printed 1 times) -CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) -CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) -CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) -SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) -CMD_PRINT: muExpDriver:Called ARM function:0x000D4CA2 (printed 1 times) -Bus error timeout at:0xAA22CD58, PC:0x000EC522(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0xFB(printed 1 times) -USB command 0xFB, write not handeled(printed 1 times) -USB unknown command, value:0x00(printed 1 times) -USB command 0x00, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x02(printed 1 times) -USB command 0x02, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0x04(printed 1 times) -USB command 0x04, read not handeled(printed 1 times) -USB unknown command, value:0xF2(printed 1 times) -USB unknown command, value:0xF3(printed 1 times) -USB command 0xF3, write not handeled(printed 2 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, write not handeled(printed 1 times) -USB unknown command, value:0x40(printed 1 times) -USB command 0x40, read not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, write not handeled(printed 1 times) -USB unknown command, value:0x41(printed 1 times) -USB command 0x41, read not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, write not handeled(printed 1 times) -USB unknown command, value:0x42(printed 1 times) -USB command 0x42, read not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, write not handeled(printed 1 times) -USB unknown command, value:0x43(printed 1 times) -USB command 0x43, read not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, write not handeled(printed 1 times) -USB unknown command, value:0x44(printed 1 times) -USB command 0x44, read not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, write not handeled(printed 1 times) -USB unknown command, value:0x45(printed 1 times) -USB command 0x45, read not handeled(printed 1 times) -CMD_PRINT: muExpDriver:OS booting! (printed 1 times) -CMD_PRINT: muExpDriver:RAM size:255232 bytes (printed 1 times) -CMD_PRINT: muExpDriver:RAM free:224284, RAM biggest block:224074 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage size:16514802 bytes (printed 1 times) -CMD_PRINT: muExpDriver:Storage free:15810968 bytes, Storage biggest block:15785686 bytes (printed 1 times) -CMD_PRINT: muExpDriver:New trap table created at:0x0003A39C (printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEA94.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEABA.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AEAD2.(printed 1 times) -CPU wrote 16 bits of 0x00000800 to register 0x906, PC:0x100AEAE6.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AEAEE.(printed 1 times) -CPU wrote 16 bits of 0x000000C0 to register 0x908, PC:0x100AEB1E.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE118.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE12A.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE12A.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE14C.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE150.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU wrote 16 bits of 0x00000000 to register 0x908, PC:0x100AE2E8.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2F4.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE286.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE296.(printed 1 times) -CPU read 16 bits from register 0x900, PC:0x100AE2D2.(printed 1 times) -CPU read 16 bits from register 0x908, PC:0x100AE2D6.(printed 1 times) -CPU wrote 16 bits of 0x00000020 to register 0x908, PC:0x100AE2D6.(printed 1 times) -SD command blocked by idle state: isAcmd:0, cmd:5, arg:0x00000000, CRC:0x00(printed 1 times) -CMD_PRINT: muExpDriver:Called ARM function:0x000D1484 (printed 1 times) -50 ARM opcodes have been ran(printed 16 times) -36 ARM opcodes have been ran(printed 1 times) -CMD_PRINT: muExpDriver:ARM calling 68k function:0x00000013, stackBlob:0x0003A330, stackBlobSize:0x00000004, wantA0:1 (printed 1 times) -50 ARM opcodes have been ran(printed 1 times) -20 ARM opcodes have been ran(printed 1 times) -CMD_PRINT: muExpDriver:ARM calling 68k function:0x00000013, stackBlob:0x0003A328, stackBlobSize:0x00000004, wantA0:1 (printed 1 times) -m68k jumped 0x1AAF6E8C bytes to invalid address, from 0x000EA178 to 0x1ABE1004(printed 1 times) -Bus error timeout at:0x1ABE1004, PC:0x1ABE1004(printed 1 times) diff --git a/bugs/armCpu/notes.txt b/bugs/armCpu/notes.txt deleted file mode 100644 index cabb7fa..0000000 --- a/bugs/armCpu/notes.txt +++ /dev/null @@ -1 +0,0 @@ -ARM executes mostly normal up until 68k functions are called when 32 bit aligned but acts weird when 16 bit aligned, there may be part of the CPU core I haven't patched yet. \ No newline at end of file diff --git a/bugs/disassemblyNotes.txt b/bugs/disassemblyNotes.txt deleted file mode 100644 index 83a1939..0000000 --- a/bugs/disassemblyNotes.txt +++ /dev/null @@ -1,87 +0,0 @@ -The datasheet states: -When external interrupts INT[3:0], IRQ1, IRQ2, IRQ3, and IRQ6 are programmed as edge-triggered interrupts, they can be cleared by writing a 1 to the corresponding status bit in the interrupt status register in the interrupt controller. When programmed as level-triggered interrupts, these interrupts are cleared at the requesting sources. - -But all attempts to use the INT* pins as edge triggered have failed and they continue as level triggered - -PDIUSBD12 uses CSA1 and CPU A1 as USB A0 - -All of the interrupt signals in the table can be used as system wake-up interrupts, except for the edge interrupt on INT[3:0]. Edge interrupts on INT[3:0] can only interrupt the CPU when the system is awake. The INT[3:0] signals are all level 4 interrupts, but IRQx has its own level. Any combination of Port D signals and OR (negative logic) can be selected to generate keyboard (KB) interrupts to the CPU. The KBx signal is an active low, level-sensitive interrupt of the selected pins. Like the other ports, each pin can be configured as an input or output on a bit-by-bit basis. When they are configured as inputs, each pin can generate a CPU interrupt. - -CS(A/B/C/D)1 seem to not be connected, only CS*0 is used - -PFPUEN has both pull up and pull down on it, the 4 address lines are the pull downs - -cmp.* seems like it can only set the Carry flag if the result or one of the parameters is negative - -The first argument to a function is the last pushed on the stack(proof below, the 16 bit int is the last argument and its pushed first) - -ROM:1003026C move.w d0,-(sp) ; Move Data from Source to Destination -ROM:1003026E move.l a4,-(sp) ; Move Data from Source to Destination -ROM:10030270 move.l d7,-(sp) ; Move Data from Source to Destination -ROM:10030272 trap #$F ; Trap sysTrapStrNCopy -ROM:10030272 dc.w $A2CE -Char * StrNCopy(Char *dst, const Char *src, Int16 n)SYS_TRAP(sysTrapStrNCopy); - - -HwrIRQ4Handler Interrupt Level 4 Priority(top of the list is checked first): -UART 1 and 2(they have the same priority) -RTC -All Buttons - -IVR = 0x18 -interrupt vector start = 0x60 - -vectors starting at level 0(no interrupt) to level 7 -0x00000060:0x00000000 (no interrupt, never called) -0x00000064:0x101904BE -0x00000068:0x101904EC -0x0000006C:0x1019051A -0x00000070:0x10190548 (level 4, hardware buttons) -0x00000074:0x10190576 (level 5, seems to be touchscreen) -0x00000078:0x101905A4 -0x0000007C:0x10015F34 (level 7, debugging IRQ, not used) - -SPI Routine Location: -PrvSetBB7846ChanRef or PrvReadnBB7846PwrDn -0x10081518 - -SPI Start Chunk(sent once on boot): -12 4 bit delay, 8 bit check battery command, 0x0AE0 -5 5 bit receive, continued from last command, 0x0014 - -Palm OS reads from the touchscreen SPI in 5 accesses: -SPI2 transfer, ENABLE:true, XCH:true, IRQ:false, IRQEN:false, BITCOUNT:16(printed 1 times) -SPI2 transfer, before:0xE01B, after:0x00FF(printed 1 times) - -SPI2 transfer, ENABLE:true, XCH:true, IRQ:false, IRQEN:false, BITCOUNT:3(printed 1 times) -SPI2 transfer, before:0x0004, after:0x0026(printed 1 times) - -SPI2 transfer, ENABLE:true, XCH:true, IRQ:false, IRQEN:false, BITCOUNT:5(printed 1 times) -SPI2 transfer, before:0x001D, after:0x03BF(printed 1 times) - -SPI2 transfer, ENABLE:true, XCH:true, IRQ:false, IRQEN:false, BITCOUNT:12(printed 1 times) -SPI2 transfer, before:0x0E1C, after:0xCE00(printed 1 times) - -SPI2 transfer, ENABLE:true, XCH:true, IRQ:false, IRQEN:false, BITCOUNT:16(printed 1 times) -SPI2 transfer, before:0xE01C, after:0xFEFF(printed 1 times) - - -resync event?{ - 16 0xE01B - 3 only sends 0s, delay or receive, 0x0004 - 5 only sends 0s, delay or receive, 0x001D -} -12 4 bit delay, 8 bit send command, 0x0E1C -16 0xE01C - -TouchScreen Read Order: - -//check x -Accessed ADS7846 Ch:5, Normal Mode, Power Save:0, PC:0x1008119E.(printed 1 times) -//don't know why -Accessed ADS7846 Ch:0, Normal Mode, Power Save:3, PC:0x10081208.(printed 1 times) -//don't know why -Accessed ADS7846 Ch:6, Normal Mode, Power Save:3, PC:0x10081208.(printed 1 times) -//...repeat until released -//check battery before returning -Accessed ADS7846 Ch:2, Normal Mode, Power Save:3, PC:0x10081208.(printed 1 times) diff --git a/bugs/unimplementedHardware.txt b/bugs/unimplementedHardware.txt index 909f5dc..4be1458 100644 --- a/bugs/unimplementedHardware.txt +++ b/bugs/unimplementedHardware.txt @@ -26,7 +26,6 @@ PLLFSR has a hack that makes busy wait loops finish faster by toggling the CLK32 should also not transfer data to SD card when MOSI, MISO or SPICLK1 are disabled port d data register INT* bits seem to have there data bits cleared when an edge triggered interrupt is cleared(according to MC68VZ328UM.pdf Page 10-15) sound plays too long when the category's menu is selected on the home screen and the pen is pressed and held in the middle of the screen(only happens there, other views of the same type don't have this issue)(effected by CPU speed, turning it up reduces the duration of the excess squeal) -ARM CPU state isn't saved trying to beam anything will lock up the OS Memory: diff --git a/images/silkscreen320x120.png b/images/silkscreen320x120.png deleted file mode 100644 index de60b5623cfb6aace65a14f3aca35d27056755b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12960 zcmeAS@N?(olHy`uVBq!ia0y~yV02($V5s0=V_;xtKBs+;fq{Xg*vT`5gM)*kh9jke zfq{Xuz$3Dlfq|I;gc)z1-ju+=z#v)T8c`CQpH@mmtT}V z`<;yx1A_vCr;B4q#hkZupO*_i-}iq1;=I+7c}4H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{m^vYev8Q2y=`aR z&TH&c5;(J(VV{p$x5*B@{k?AQd4pP<1hcYN$8xQ0Yj;1Cz;Wl&9ETsui4kc@-76&v z3%~XB966#g=l9p1+dHGyUVBA15uj;;HE$&H?yhS{yRvuY#mC3{KRh^Cd%=Wv z_Sv@R?b>sG-*3FdTyr&|Ky1Ou9P@>;zE@A5&R?*8J^#m#A2V`t3dCx^963At`p0wD zy8}Z)n%Mc@F*2NaW`9jZy}(_G^V7{w6CU)POmX_@d)|%VumPyXJ#{+2;rQa1Ig_}r zGQ|`yy=a)Z>EP`vR~nY7{r8=bG3(gMVD)EPy>t}~TwGlre|TsQDm{-KVDOCPQJFW3 z3)j&&jLqfKkHryK3>)JhS&l1VKl4n%!e+x}xg)ZE`UtGxZ!s&T#2Nv?l-r2rjO4Fl20j?Itl_HJ`0&(&ha;)yw zd}WJL*Q-~Eu(qWt3U%ISO=mRH5wvG|$a`eoAA_ymwx%yT#-V?})`6+f;Q^bV15@LN zV@@m+92E9!+#|%aLm)VZqvg7+-T$c*+AAB6KX=p++4x`n()Xs1P9HgJ85kHCJYD@< J);T3K0RV-icSHaH diff --git a/libretroBuildSystem/mu_libretro.info b/libretroBuildSystem/mu_libretro.info index eff57ca..f7a23be 100644 --- a/libretroBuildSystem/mu_libretro.info +++ b/libretroBuildSystem/mu_libretro.info @@ -7,7 +7,7 @@ categories = "Emulator" systemname = "Palm OS" license = "Non-commercial" permissions = "" -display_version = "v1.0.0" +display_version = "v1.1.0" supports_no_game = "false" firmware_count = 1 firmware0_desc = "bootloader-en-m515.rom (MC68VZ328 UART Bootloader)" diff --git a/src/flx68000.c b/src/flx68000.c index eda080c..67dad86 100755 --- a/src/flx68000.c +++ b/src/flx68000.c @@ -18,7 +18,7 @@ void flx68000PcLongJump(uint32_t newPc){ uint32_t dataBufferGuest; uint32_t windowSize; - switch(bankType[START_BANK(newPc)]){ + switch(dbvzBankType[DBVZ_START_BANK(newPc)]){ case DBVZ_CHIP_A0_ROM: dataBufferHost = (uintptr_t)palmRom; dataBufferGuest = chips[DBVZ_CHIP_A0_ROM].start; @@ -34,8 +34,8 @@ void flx68000PcLongJump(uint32_t newPc){ case DBVZ_CHIP_REGISTERS: //needed for when EMU_NO_SAFETY is set and a function is run in the sandbox dataBufferHost = (uintptr_t)palmReg; - dataBufferGuest = BANK_ADDRESS(START_BANK(newPc)); - windowSize = REG_SIZE; + dataBufferGuest = DBVZ_BANK_ADDRESS(DBVZ_START_BANK(newPc)); + windowSize = DBVZ_REG_SIZE; break; }