Commit Graph

737 Commits (ac54cd13dbb8e82ccc9134aab212271d2f32b0c8)

Author SHA1 Message Date
archshift 5749d1eabe Fix complaints about functions that could not be found
archshift 5741f2fb26 Problematic class with no current implementation
archshift b9fc729928 Problematic template functions
archshift 48deb45624 Xcode complains that the class name is redundant.
archshift ff48c8bed3 Rect to BasicRect
Somewhere along the line an OSX header had already taken the name Rect.
bunnei af921daa4c added virtual address conversion for firmware FW0B
bunnei 81cb80997a add missing bswap functions
bunnei 535947a0e1 fix for issue Linux build , not sure why this is broken but its unused code I'm just getting rid of it
bunnei 438dba40c1 Merge branch 'hle-interface-updates'
bunnei a48c6b947d removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class
bunnei 451a14f98c fixed weird spacing
bunnei f76a60be05 removed commented out line - this was for an unimplemented MRC call, no longer need to leave this here
bunnei 1142ccba03 fixed renderer to use correct framebuffer location
bunnei a6c925112a hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS)
bunnei b2a6ad52f4 added helper functions to mem_map to convert physical addresses to virtual addresses
bunnei f0525a1eb4 added code to LCD modules keep track of framebuffer location in FCRAM or VRAM
bunnei f78794961e - changed HW IO map to use virtual addresses
- added hooks to catch LCD IO read/writes
bunnei 9e047e32d4 added simple GSP GPU ReadHWRegs function to support returning the framebuffer address
bunnei a272803dcb added preliminary DataSynchronizationBarrier support with simple DMA copy
bunnei 25d595d869 added (fake) physical addresses for where to put framebuffer in VRAM
bunnei 86a515e5ac added vram to memory_map
Thomas Edvalson a226dc57bf Need to add Xcursor to linker?
bunnei cb0663de51 moved HLE::MRC to its own module, added support for catching data synchronization barrier command
bunnei 6151e26958 added disassembly to unimplemented instruction
bunnei 2672e7d883 removed some cruft
bunnei e08f242141 fixed bug where svc_ControlMemory was not properly getting passed in parameters
Thomas Edvalson c51e4822b1 Fixed CMake's import of GLFW.
Thomas Edvalson 08e1ba746f Resolved undefined Common::g_scm_branch error.
bunnei 890c7261d2 - added preliminary support for svc_MapMemoryBlock
- added shared memory region
- moarrrr cleanups to memory_map
bunnei b7cd4c9e90 added functions to map Heap and Shared memory space
bunnei 66e1f8ab33 added GSP::RegisterInterruptRelayQueue function
bunnei cd0664eb77 - refactored how service functions are called
- added option to create/delete service handles
bunnei 66a98ea686 made qt window title consistent
bunnei 80a040ac77 fixes to scm_rev generation to make it conistent with windows build
ShizZy 121960a2eb updated windows scm_rev code to use new style
bunnei 4405a53cf3 added scm rev generation on Linux/cmake
bunnei 7a136b8a84 fixes to build on linux
ShizZy c479921142 removed duplicate rotl/rotr functions
ShizZy 5c89324809 updated CMakeLists for missing files
Mathieu Vaillancourt 81f6062c85 Re-enable toggling window mode.
Mathieu Vaillancourt 5ad1aa8b68 Add a quick way to load Launcher.dat files
bunnei bf025ed03c fixed order of LogManager and System init
bunnei 7a080551ac fixed GL context acquire (applies to Qt GUI only)
Mathieu Vaillancourt ad0734acee Remove unused QTableView
Mathieu Vaillancourt e5f09b8be6 UI/debugger changes
bunnei 958bca606e Merge branch 'hle-interface'
bunnei 70c2cce963 renamed hw_lcd module to just lcd
bunnei c3a4b4bfca added NDMA hardware interface
bunnei b2baafaf8b added GSP heap memory allocation
bunnei 33e7d97d46 fixed bug in Memory::GetPointer
bunnei fb026f6b46 moved enums into Memory:: namespace
bunnei a9dba388eb added memory read/write to GSP heap
bunnei 09ffe87360 more various refactors to memory interface
bunnei ae99574b6d cleaned up memory interfaces a lot, removed some hackish stuff
bunnei 9d5a561c1b fixed framebuffer color order
bunnei f0797dcf1f added a new function wrapper
bunnei d4411acfd0 removed hard-coded framebuffer addresses from renderer_opengl.cpp
bunnei 9d1a17ca88 fixed bug with printing std::string in log messages
bunnei 795d6bf5b7 changed unknown memory read/write to report the size
bunnei bb5bc2df25 added class stub for HID:User service
bunnei b8851305bd updated service comments
bunnei de3dcd38f6 - fixed tabs in function_wrappers.h
- fixed log message wording in hle.cpp
- added syscall stubs for CloseHandle and WaitSynchronization1
bunnei 32c3462047 - added stubbed out GSP::Gpu service interface
- various cleanups/refactors to HLE services
bunnei acef5e0b17 removed no longer used function header
bunnei ffabed8c25 restructured hle:services completely to use function lookup tables
bunnei 386dd722e7 fixed naming for APT_U
bunnei 7ec5950bc4 - extracted srv: calls from service.cpp and put in its own module
- added function tables for service calls
- lots of refactoring
bunnei cb504e236b added helper functions for upper/lowercase strings
bunnei 18766b9e69 added a stub for GetLockHandle
bunnei 9f4d677cdf added framework for APT service (application and title launching service)
bunnei 524e78ece8 renamed class Interface_SRV to SRV
bunnei ce822b6815 replace tabs with spaces
bunnei 5ea4679630 added some very initial command parsing for SRV Sync
bunnei 67f6e41470 added a GetPointer function for reading from HLE command buffer
bunnei f2f63a0f05 fixed hw write declarations to not be const
bunnei 6f6d5158de added OS memory read/write for thread command buffer
bunnei b24e6f2b60 cleanups to service HLE
bunnei 68e198476f - added HLE to connect to "srv:" service
- added a manager for keeping track of services/ports
- added a memory mapped region for memory accessed by HLE
- added HLE for GetThreadCommandBuffer function
Mathieu Vaillancourt 68a8594d04 Init window size from VideoCore. Start changing the default window behavior...
Mathieu Vaillancourt 0ecb0365e4 Show symbols in disasm
Mathieu Vaillancourt 67095f8083 Implement simple LoadSymbols for ELF files
Mathieu Vaillancourt d046cfbba1 Add symbols map
bunnei 4d88318903 hacked CPU interpreter to ignore branch on SVC instruction (as we are HLEing this...)
bunnei cd7de52fea added a SETABORT method that does not update LR (for HLE'd SVC that does not jump appcore CPU to an IRQ vector)
bunnei 9a9b7b289a added a memory mapped option for HLE
bunnei 02fbd42e7f - renamed hle_syscall to just syscall
- added service.h as an initial service interface
bunnei 7ea7585898 replace tabs with spaces
bunnei f6c328cf37 moved hle.cpp into hle folder (due to mistake earlier)
bunnei ec19c679d7 Fixed GPLv2 license issue
Doing this from work via GitHub - Sorry for not combining with previous commits
bunnei 1c491d5c98 Fixed GPLv2 license issue
Doing this from work via GitHub - Sorry for not combining with previous commits
bunnei 503e584ee1 Fixed GPLv2 license issue
bunnei e9f0e4967d added remaining known syscall functions to Syscall_Table
bunnei 2bde8f2856 base code to call a syscall from ARM11 appcore
bunnei 01bedbf956 updated logging message
bunnei 5d95bb9843 cleaned up some logging messages
bunnei d4cb2aab63 added logger for generic HLE
bunnei 3bd041f5b0 changed some naming/misc cleanups
bunnei 2a7d7ce55d - removed syscall classes (will just use HLEFunction)
- added hle.cpp and module registration
- removed unused code
Mathieu Vaillancourt ff4fe52bf6 Temporarily "fix" citra_qt for Windows
bunnei 95f237a086 Merge branch 'master' into hle-interface
bunnei 17b32b7b3f removed scm_rev.h from version control
bunnei b0ae99e177 removed unused macros from citra.h
bunnei 7b3cde1f3a added missing const to GetWindowTitle
bunnei f68de21ad1 added initial modules for setting up SysCall HLE
bunnei fccbfc208c missed this file with commit 95e5436f
bunnei d9bb4f11c6 added Memory::GetCharPointer to read strings from HLE functions
bunnei 95e5436f41 cleaned up arm_interface, added a setter to set registers for use with HLE return values
bunnei 9527fc74ad fixed a bunch of errors in CMakeLists
bunnei 6b83509a7e updated CMakeLists
bunnei 5da03e821e - removed deprecated version.h
- cleaned up window title
- cleaned up emu_window_glfw/emu_window
bunnei d0674cc98b fixed licensing and updated code style naming for arm_interface/arm_interpreter frontend module
bunnei ad4fffca0d fixed license headers in citra project
bunnei 2c54d5eee2 fixed scm_rev_gen
bunnei de0a034a84 fixed project includes to use new directory structure
bunnei 63e46abdb8 got rid of 'src' folders in each sub-project
bunnei 03c245345e fixed some license headers that I missed
bunnei c0796cf762 fixed all license file headers in core
bunnei 3dc3bd5627 fixed licensing issue with core_timing being GPL v2+ instead of Dolphin's GPL v2
bunnei ef7cfa0207 fixed license header in video_core
bunnei 8c60294243 - removed lots of unused code from gekko
- updated code style/naming conventions
bunnei f446f79da2 Merge branch 'hardware-interface'
Conflicts:
	src/core/src/core.h
bunnei efef514fd8 removed unused comments, changed main processing loop to be infinite
bunnei 8cf851f68a added support for renderering the external framebuffers
bunnei 506e6049d3 added external framebuffer GL handles
bunnei 6f7fd741db removed log message from hw_lcd
bunnei aae52e3f8f added hack physical memory reads with Memory::GetPointer
bunnei aa3ae1af49 added "citra" instead of "emu" to title bar
bunnei 0716470609 added logger option specifically for the renderer
bunnei f0d49253e4 calling SwapBuffers from hw_lcd.cpp
bunnei 551b2a52e0 initialize VideoCore
bunnei 080f847550 added initial renderer code
bunnei e4d1ad4bda set window size to correspond to framebuffer sizes
bunnei a604eaee54 added project linker reference
bunnei 23506defe3 added video_core project to solution
bunnei 89fd6eb237 added missing includes to common_types.h
bunnei e022717477 added g_app_core->Step and HW::Update to Core::SingleStep to be consistent with other changes made
bunnei ed15feebf1 changed hw_lcd to use ARM core correct tick counter instead of [what was actually] just an instruction count. this seems to fix timing issues with the 3DS_Homebrew_Pong3Dv2 demo.
bunnei 02bcb4cfad Updated common_types.h to use Gekko's version w/ Rect and some useful unions
bunnei 925a894c1b added DISALLOW_COPY_AND_ASSIGN macro
bunnei 7509a9b21f added LCD logger
bunnei c874c1d06c add hw_lcd.* to VS project files
bunnei 6433f4d6f9 added an "Update" method to update all hardware
bunnei 9c2355ba4f added a module for interfacing to hardware LCD
bunnei c1dfa75845 added a tick counter
bunnei 31abc42d3d added initial support for hw.cpp module
Mathieu Vaillancourt 9b6041d818 Remove Core::GetState(). Use new ARM_Interface instead.
Mathieu Vaillancourt f1fd84aa0f Support vs express edition without having to get platform sdk
bunnei 670ac5643a added hw module to interface h/w register reads/writes
bunnei 006bb834df added a HW option to logging
bunnei 590f294d8e renamed some functions
bunnei c89f3a5c38 added entry point loading from ELF file
bunnei 69223d007e - added an interface layer for ARM cores
- cleaned up core.cpp a bit
bunnei d601d2e696 renamed ARM disassembler class from "Arm" to "ARM_Disasm"
bunnei f5f6428b97 got rid of some really poorly named macros in SkyEye core
bunnei 66299a4880 moved arm core to interpreter directory
bunnei c2d4c7d4f4 added some commented out ARMulator functions
bunnei 829952834a added hack to allow physical mem read/writes
bunnei cbd1de38be made memory #define's enum to make debugging easier
Mathieu Vaillancourt 1c7120b3aa More Qt changes for debugger
Mathieu Vaillancourt 564e3f5032 Add Core::GetState() for debugger
bunnei 20bf361b95 removed some useless log messages
bunnei 7bf24c066b added thumb mode emulation
bunnei c9b5b89e21 convert tabs to spaces
bunnei 4860480c36 convert tabs to spaces
bunnei e05be0145c -converted tabs to spaces
-moved scratchpad memory out of MemArena
Mathieu Vaillancourt 81b61ee720 Load file in qt window
Mathieu Vaillancourt 05be8d2f0c Basic QT window
bunnei d4b529111a added very hackish ARMulator core initialization and CPU stepping
bunnei c7f4914a90 added simple processing loop and ELF loading to main()... hackish, will cleanup later
bunnei 85e8da6fc8 added ELF loading support to loader.cpp
bunnei e32c03e860 commented out bswap stuff... ARM ELF files are little endian anyway
bunnei a36f9492cc added support for reading/writing to stack mem
bunnei 07ea22de5c grabbed ppsspp's MemArena
bunnei 4fdeadb8e2 replaced some error logs with debug asserts
bunnei 7c5d8f6dad removed unnecessary debug assert
bunnei 328c415c74 added ARM11 MMU from skyeye
bunnei bd38abf249 initialize mem regions
bunnei 6b255111d5 added various arm modules from skyeye to make project link OK
bunnei 20807c4d5a added a GetPointer function to Memory for use with ELF loading
bunnei 97e4d9f211 updated Windows project files to include ELF files
bunnei 872d9ae87f added Dolphin's ELF reader to the project
ShizZy e0cfd6b0b8 renamed FILETYPE_CTR_DIRECTORY to FILETYPE_DIRECTORY_CXI
ShizZy 8a95dd3f11 fixed a typo in declaration of meta file system
ShizZy e0cb54ea35 moved some core functions over to system module
ShizZy 9d79fc7aa6 added core_timing and system modules to core vcproj
ShizZy 4c24ea3d88 added an early function for booting from a directory
ShizZy 539bf8bc86 added a message option to Core::Halt function
ShizZy 2f2a980c92 added TIME logger for core timing
ShizZy eab69534c6 renamed GC_ALIGNED* macros to MEMORY_ALIGNED*
ShizZy a79fb90d62 upgraded proj files to vs 2013
ShizZy c71868a6b1 added system.h to project
ShizZy 8bb0c457bc renamed from citrus to citra
ShizZy a7b06698ff added meta_file_system to project
ShizZy 05d5113701 renamed file_sys_directory.* to directory_file_system.*
ShizZy 5b0b60ad6b moved file_sys back to core
ShizZy 00287b7a65 removed <windows.h> include from common.h and added it only where needed
ShizZy 29cdc1df39 moved file_sys to common
ShizZy e83de18f4b removed unused commented-out code
ShizZy 59020e8d9c renamed PSPFileInfo to just FileInfo
ShizZy 1af6ae2f48 added PPSSPP's file system directory module for game loading
ShizZy 1114eb9aaf added localtime_r for use on windows
ShizZy a8c3c2a391 added utf8 to common module, utils for dealing with utf8
ShizZy 80b85ee7e6 ppsspp file system module - currently unused
ShizZy a5b31dea56 updated to chunk_file module from ppsspp
ShizZy 8990b51ac8 added a module for loading bootable binaries
ShizZy bf3938d56e added mem_map hardware writing
ShizZy 030c836793 added hw R/W/ memory functions
ShizZy f24f4ff978 added swap types to common
ShizZy cd6e998e9a refactored some mem_map stuff
ShizZy b2c5690413 added log msg to core
ShizZy 9a248afb5a added core initialization to app entry point
ShizZy a658419946 removed CORE and LOADER from LogTypes
ShizZy 5417346585 added CORE and LOADER to LogTypes
ShizZy 7dcfb9c1cf added ARMulator/skyeye ARM11 core to the project
ShizZy cdbe6557e8 changed log CPU from PPC to ARM11
ShizZy d5863c415e added default windows include
ShizZy dab2d6917b initialized log manager
ShizZy 71d4fa9d3f added file platform.h
ShizZy b8ca09160b renamed project to 'citrus'
ShizZy 9709dd2def added scm_rev_gen project to automatically create a header with the git revision on build
ShizZy 2161364258 cleaned up VS project files
ShizZy 4f5d397379 fixed some code warnings
ShizZy c2867f7e14 removed unneeded dolphin paths code, fixed linker problems with common.lib
ShizZy 7ea22ffcdb re-enabled GetLastErrorMsg
ShizZy 0ec884c433 removed ignored specific libraries section from project file
ShizZy 6847033b27 updated common paths
ShizZy 62d873da3e start of 3DS memory map
ShizZy d708e2d68a added core and mem_map files to the project
ShizZy b5c78f8a20 added an ARM disassembler from the android project
ShizZy 48db82013b added missing files
ShizZy ed79f16b6e deleting renamed directory
ShizZy 86495a83c1 various fixes to be able to build project
ShizZy 4ca6d6452e added emu_window.h to define interface to drawing to a window
ShizZy d9c849586e updated CMakeLists.txt file for new common files
ShizZy 7564d28faf replaced common code with dolphin common
ShizZy 72325bef1d deleted gekko's common files
ShizZy 27474060e1 adding initial project layout