Another stab at fixing windows, set stack pointer.

This commit is contained in:
Christian Speckner 2024-07-27 11:17:01 +02:00
parent 92bd56f4ec
commit 6ceab24269
2 changed files with 2 additions and 1 deletions

View File

@ -447,6 +447,7 @@ void CartridgeELF::jumpToMain()
myCortexEmu myCortexEmu
.setRegister(0, sp ) .setRegister(0, sp )
.setRegister(13, sp)
.setRegister(14, RETURN_ADDR_MAIN) .setRegister(14, RETURN_ADDR_MAIN)
.setRegister(15, myArmEntrypoint); .setRegister(15, myArmEntrypoint);
} }

View File

@ -796,7 +796,6 @@
<ClCompile Include="..\..\emucore\CartSB.cxx" /> <ClCompile Include="..\..\emucore\CartSB.cxx" />
<ClCompile Include="..\..\emucore\CartUA.cxx" /> <ClCompile Include="..\..\emucore\CartUA.cxx" />
<ClCompile Include="..\..\emucore\CartX07.cxx" /> <ClCompile Include="..\..\emucore\CartX07.cxx" />
<ClCompile Include="..\..\emucore\CartELF.cxx" />
<ClCompile Include="..\..\emucore\Console.cxx" /> <ClCompile Include="..\..\emucore\Console.cxx" />
<ClCompile Include="..\..\emucore\Control.cxx" /> <ClCompile Include="..\..\emucore\Control.cxx" />
<ClCompile Include="..\..\emucore\Driving.cxx" /> <ClCompile Include="..\..\emucore\Driving.cxx" />
@ -1675,6 +1674,7 @@
<ClInclude Include="..\..\emucore\elf\ElfEnvironment.hxx" /> <ClInclude Include="..\..\emucore\elf\ElfEnvironment.hxx" />
<ClCompile Include="..\..\emucore\elf\BusTransactionQueue.hxx" /> <ClCompile Include="..\..\emucore\elf\BusTransactionQueue.hxx" />
<ClCompile Include="..\..\emucore\elf\VcsLib.hxx" /> <ClCompile Include="..\..\emucore\elf\VcsLib.hxx" />
<ClCompile Include="..\..\emucore\CartELF.cxx" />
<ClInclude Include="..\..\emucore\CortexM0.hxx" /> <ClInclude Include="..\..\emucore\CortexM0.hxx" />
<ClInclude Include="..\..\emucore\EmulationTiming.hxx" /> <ClInclude Include="..\..\emucore\EmulationTiming.hxx" />
<ClInclude Include="..\..\emucore\EmulationWorker.hxx" /> <ClInclude Include="..\..\emucore\EmulationWorker.hxx" />