Commit Graph

563 Commits

Author SHA1 Message Date
Maxim Poliakovski
dbbaf13a78 ppcopcodes: fix cntlzw to compile properly with Clang.
Enable USE_GCC_BUILTINS by default.
2020-12-18 18:33:00 +01:00
Maxim Poliakovski
99641b1b5e ppcopcodes: fix cntlzw with __builtin_clz.
The result of __builtin_clz is undefined when the source operand
is zero. Add a check for this case and handle it accordingly.
2020-12-07 14:37:20 +01:00
dingusdev
5cba9c1dae Merge branch 'cpu-refactor' 2020-12-04 11:01:34 -07:00
Maxim Poliakovski
180cb0d25f Make 68k debugger optional and disabled by default. 2020-12-03 02:18:13 +01:00
Maxim Poliakovski
df39a59190 Build Capstone as static library. 2020-12-03 01:39:39 +01:00
Maxim Poliakovski
f0315e98ee Add Capstone submodule. 2020-12-03 00:53:28 +01:00
Maxim Poliakovski
6c6247b94f Clean up program exceptions. 2020-11-30 20:59:36 +01:00
Maxim Poliakovski
f61277e46d
README.md: minor corrections. 2020-11-30 14:47:22 +01:00
Maxim Poliakovski
da3a6c71fd
README.md: add C++11 compiler requirement. 2020-11-30 14:45:03 +01:00
Maxim Poliakovski
acfa09af65 Illegal opcodes raise program exception. 2020-11-29 23:54:10 +01:00
dingusdev
54fcfca8e9
Fixed floating point loading and storing instructions 2020-11-29 06:52:01 -07:00
Maxim Poliakovski
a775007d3a MMU: implement misaligned cross-page accesses. 2020-11-29 00:23:30 +01:00
Maxim Poliakovski
2be8e7b542 Set minimum Capstone version to 4.0.2
This version has fixed a bug with Capstone's main header.
2020-11-28 02:23:47 +01:00
Maxim Poliakovski
0e83ffe435 Fix broken CMakeLists.txt to work on MacOS. 2020-11-28 01:08:34 +01:00
dingusdev
0c202b0c2d Merging the 68k debugger from another branch 2020-11-26 20:00:08 -07:00
Maxim Poliakovski
81b3c3c4a0 Default initialization of Heathrow registers. 2020-11-26 03:03:52 +01:00
Maxim Poliakovski
7be6cb30ac
README: fix submodules update command. 2020-11-22 00:17:09 +01:00
Maxim Poliakovski
6124dfd897 Add virtual CPU benchmarking code. 2020-11-14 03:05:41 +01:00
Maxim Poliakovski
b81de4af48 ppcexec: initialize interpreter lookup tables. 2020-11-14 03:05:41 +01:00
Maxim Poliakovski
2b19b0b237 ppcmmu: better initialization of last used entries. 2020-11-14 02:57:36 +01:00
dingusdev
f417df0630 Fixes Issue #18
Courtesy of webspacecreations
2020-10-25 16:23:53 -07:00
dingusdev
1fe9ffe3e5 Further refactoring to clean up the interpreter 2020-10-17 21:46:38 -07:00
dingusdev
dc58386237 Started re-refactoring opcode retrieval 2020-10-17 14:30:37 -07:00
dingusdev
6cc88d3b02 Started a timing mechanism 2020-10-15 21:10:17 -07:00
dingusdev
5d2f3ca3c0
Fixed an issue with a command line arg description 2020-10-14 08:02:34 -07:00
Maxim Poliakovski
3b29ff9514 atirage: fix monitor identification. 2020-10-14 16:55:38 +02:00
dingusdev
fc50e3c4f6 Some fix-ups and updates for readme.md 2020-10-14 07:45:18 -07:00
Maxim Poliakovski
2df2d089d7 list properties now prints out valid values. 2020-10-14 16:19:11 +02:00
dingusdev
4c0c32c02c Initial cleanup for the help print-outs 2020-10-13 20:20:44 -07:00
Maxim Poliakovski
90b2eb712a Implement CLI list subcommand. 2020-10-13 04:24:54 +02:00
Maxim Poliakovski
27f5d981da Remove more unused code. 2020-10-13 04:01:37 +02:00
Maxim Poliakovski
ce9e8e7244 Fix valid values for gfxmem_size. 2020-10-09 16:33:17 +02:00
Maxim Poliakovski
a3b17d46ce Attach value checks to properties. 2020-10-09 15:58:47 +02:00
Maxim Poliakovski
246a7f2082 Remove unused machineconfig source. 2020-10-09 14:28:28 +02:00
Maxim Poliakovski
2eba8acc23 Fix MSVC compilation. 2020-10-09 12:39:31 +02:00
Maxim Poliakovski
c81c00f918 Make properties overridable from the command line. 2020-10-09 12:25:12 +02:00
dingusdev
0ca03be001 Fixed booting up to emulator 2020-10-04 09:58:21 -07:00
dingusdev
55ea643974 Full directory name
Makes VS2019 happier
2020-09-25 17:54:14 -07:00
Maxim Poliakovski
599659495b Initial CLI11 integration. 2020-09-26 02:38:22 +02:00
dingusdev
9efea80e43 Removed janky functions
This still compiles in VS2019
2020-09-08 07:46:54 -07:00
dingusdev
4ccfb5d527 Finished the proof-of-concept machine presets 2020-08-31 22:20:47 -07:00
dingusdev
4f59407cd0 Repair code for powermacg3 presets 2020-08-30 16:14:58 -07:00
dingusdev
2f2c9aadcb Typo fix 2020-08-29 17:49:50 -07:00
dingusdev
d21515d964 Fixed RAM check and help prompts 2020-08-29 16:20:22 -07:00
dingusdev
b28549825d Started work on machine-specific configs 2020-08-29 11:11:06 -07:00
dingusdev
14ef7564cd CLI fixes - RAM and GFXMEM work better 2020-08-25 20:07:02 -07:00
dingusdev
f04ce09a7d Clean-up + further command line options 2020-08-23 09:24:52 -07:00
dingusdev
2869755819 Initial work for configuration 2020-08-22 11:05:08 -07:00
Maxim Poliakovski
353035e9ca Prevent clobbering during debugging. 2020-07-20 23:02:07 +02:00
Maxim Poliakovski
660d227ac7 debugger: fix string formatting. 2020-07-20 18:00:04 +02:00