Commit Graph

445 Commits

Author SHA1 Message Date
beeanyew
ea48014e54 Break IRQs again 2021-06-24 09:52:36 +02:00
beeanyew
75c73650a6 Fix Musashi compilation with MMU emulation enabled 2021-06-24 09:34:29 +02:00
beeanyew
0a83e0f5f3 Add System ROM pos setvar to Mac platform 2021-06-24 02:25:33 +02:00
beeanyew
39f4ef5cf8 Actually revert to old IRQ behavior 2021-06-23 10:27:04 +02:00
beeanyew
6695f9335e Revert to new IRQ behavior after some unsuccessful experiments
This brings back all the graphics and music glitches, but it does make fewer games and software lock up on missed IRQs.
2021-06-23 06:43:25 +02:00
beeanyew
77a6ed0756 Actually remove the read/write ranges "properly" 2021-06-23 04:52:44 +02:00
beeanyew
16a902fad2 Add some more Mac68k handling stuff 2021-06-23 04:42:58 +02:00
beeanyew
d485267523 Some more write-through cache RAM map OVL handling 2021-06-22 14:32:45 +02:00
beeanyew
f7034d052a Add OVL handling to write-through cache RAM 2021-06-22 14:00:36 +02:00
beeanyew
ce1c064e71 Add write-through cached RAM for Mac experiments 2021-06-22 13:13:13 +02:00
beeanyew
b550b0d632 Merge pull request #49 from runehol/main
Pass around a m68i_cpu_core pointer instead of accessing it as a global variable
2021-06-21 03:16:16 +02:00
Rune Holm
747b19f7c8 removed most traces of direct access to the m68ki_cpu global variable 2021-06-20 21:42:03 +01:00
Rune Holm
0c763fca70 introducing CPU state parameter 5 - now switched most register state over 2021-06-20 21:42:03 +01:00
Rune Holm
514f1d4e24 introducing CPU state parameter 4 2021-06-20 21:41:55 +01:00
Rune Holm
d06400230f introducing CPU state parameter 3 2021-06-20 21:35:37 +01:00
Rune Holm
6d74804193 introducing CPU state paramter 2 2021-06-20 21:54:08 +02:00
Rune Holm
14636790c6 introducing CPU state parameter 2021-06-20 21:54:05 +02:00
Rune Holm
18cba7ddc6 step 1: add a state parameter to all opcode functions 2021-06-20 21:50:15 +02:00
beeanyew
b7f62f8e5d [HAX] Fix old-new IRQ behavior a bit? 2021-06-20 18:00:31 +02:00
beeanyew
bab7a847c0 Make experimental bitstream optional 2021-06-20 16:59:11 +01:00
beeanyew
9a043dfb87 [HAX] Try some different IRQ behavior
May or may not require a make clean, also may or may not require a custom firmware to work.
2021-06-20 06:13:40 +02:00
beeanyew
22b742ee9e Disable mouse/kb hook on Amiga platform shutdown 2021-06-19 01:05:08 +02:00
beeanyew
cdd7b35e35 Merge pull request #48 from runehol/main
Smaller speed improvements
2021-06-19 00:39:10 +02:00
Rune Holm
a2b0521dbd move address translation cache fields from global variables to the m68k struct, as
this way we can pass around one pointer and access them all in the future.
This happens to win 5-10% performance, because now the code generator can generate a single
global variable pointer to get to all of the translation cache/range fields at once.
2021-06-18 22:01:22 +01:00
Rune Holm
b91e0e809d optimise away an unnecessary subtract on the instruction fetch fast path 2021-06-18 22:01:20 +01:00
beeanyew
ae4e0ae9f1 Add some Mac thing to enable/disable ROM overlay 2021-06-18 22:01:20 +01:00
beeanyew
e01f68fd4f Move Amiga register read/write checks to PLATFORM_AMIGA scope 2021-06-18 22:01:19 +01:00
shanshe
a315cdb7b8 Improve 68k cycle state machine
S7 and S0 states are made faster to gain almost a c7m cycle, making Chip
access faster. (sysinfo 4.4 chip speed from 0.97 to 1.13)
2021-06-18 22:01:19 +01:00
beeanyew
4b2af2ee35 Fix config reload?
Apparently I forgot to stage a hunk, also don't attempt to initialize A314 emulation if it has already been initialized.
2021-06-18 22:01:18 +01:00
beeanyew
635711f798 [HAX] Inline ps_read8/16/32 in emulator.c to avoid long jumps on bus transactions 2021-06-18 22:01:17 +01:00
beeanyew
a48402ce6c Fix Musashi compilation with prefetch emulation disabled 2021-06-18 22:01:17 +01:00
Jarno Lehtinen
46074e70cc Suppress CLI-window at startup when using AmiTCP
Redirect AmiTCP:bin/startnet output to NIL: so it doesn't open new persistent CLI-window at startup.
2021-06-18 22:01:17 +01:00
Marcus Agehall
5043664ac4 Fixed building of the generated sources. 2021-06-18 22:01:17 +01:00
Marcus Agehall
aa4076daad Added dependency tracking of include files. 2021-06-18 22:01:17 +01:00
beeanyew
19ef9bfe60 Do not free MAPTYPE_RAM_NOALLOC mapped data 2021-06-18 22:01:17 +01:00
beeanyew
5254d4c6bf Add some Mac thing to enable/disable ROM overlay 2021-06-18 17:32:32 +02:00
beeanyew
14792d798d Move Amiga register read/write checks to PLATFORM_AMIGA scope 2021-06-18 16:58:28 +02:00
beeanyew
2033fc29d5 Merge pull request #46 from shanshe/wip-crap
Improve 68k cycle state machine
2021-06-18 11:52:40 +02:00
shanshe
d602910beb Improve 68k cycle state machine
S7 and S0 states are made faster to gain almost a c7m cycle, making Chip
access faster. (sysinfo 4.4 chip speed from 0.97 to 1.13)
2021-06-18 11:48:45 +02:00
beeanyew
fb39e1127d Fix config reload?
Apparently I forgot to stage a hunk, also don't attempt to initialize A314 emulation if it has already been initialized.
2021-06-18 10:39:39 +02:00
beeanyew
ec8b429671 [HAX] Inline ps_read8/16/32 in emulator.c to avoid long jumps on bus transactions 2021-06-17 20:14:42 +02:00
beeanyew
df50e562c2 Fix Musashi compilation with prefetch emulation disabled 2021-06-17 19:10:02 +02:00
beeanyew
7b83e4d736 Merge pull request #45 from mcgurk/wip-crap
Suppress CLI-window at startup when using AmiTCP
2021-06-17 15:48:49 +02:00
Jarno Lehtinen
351bb9e8d8 Suppress CLI-window at startup when using AmiTCP
Redirect AmiTCP:bin/startnet output to NIL: so it doesn't open new persistent CLI-window at startup.
2021-06-17 14:10:54 +03:00
beeanyew
9a8dc15850 Merge pull request #44 from agehall/wip-crap
Fixed building of the generated sources.
2021-06-17 00:35:08 +02:00
Marcus Agehall
a5aac44c39 Fixed building of the generated sources. 2021-06-16 23:29:13 +01:00
beeanyew
3adb44e3b3 Merge pull request #43 from agehall/wip-crap
Added dependency tracking of include files.
2021-06-17 00:06:40 +02:00
Marcus Agehall
6818d053ca Added dependency tracking of include files. 2021-06-16 23:00:53 +01:00
beeanyew
f415c021c3 Do not free MAPTYPE_RAM_NOALLOC mapped data 2021-06-16 20:36:46 +02:00
beeanyew
eac4c78c3e Merge pull request #30 from beeanyew/wip-crap
Current WIP features and fixes
2021-06-14 01:03:05 +02:00