Commit Graph

348 Commits

Author SHA1 Message Date
Adrian Conlon
445853f3fc Use IDictionary, rather than Dictionary to allow for different implementations 2024-06-11 16:40:12 +01:00
Adrian Conlon
84351ea0a8 Some minor code tidying 2024-06-10 20:49:03 +01:00
Adrian Conlon
5a58d2051f use a pre-determined list capacity, if available 2024-06-10 20:47:44 +01:00
Adrian Conlon
fb79d456b0 Correct relative branch offset calculations in disassembly 2024-06-10 11:13:02 +01:00
Adrian Conlon
09f44ab28c Emit address hit counts 2024-06-10 11:12:02 +01:00
Adrian Conlon
fa46edc8ba Instruction execution begins when the SYNC line is raised. 2024-06-10 09:48:28 +01:00
Adrian Conlon
889c632e1a Cache address scope resolution 2024-06-08 23:38:29 +01:00
Adrian Conlon
494b1ab8ac Let's try some LINQ 2024-06-07 18:53:47 +01:00
Adrian Conlon
8b6ef38a07 Some more tidying/optimisation 2024-06-07 11:11:22 +01:00
Adrian Conlon
afed01cb8f Improve performance by not using a tuple to indicate range 2024-06-07 09:39:48 +01:00
Adrian Conlon
0089bde117 Switch entirely to fast lookups. Around 10 times faster than original code! 2024-06-06 21:30:49 +01:00
Adrian Conlon
71ce8cde51 Many speed-ups for profiler generation. Especially scope resolution 2024-06-06 15:11:26 +01:00
Adrian Conlon
35ea9c7b7d Fix profiler scope output 2024-06-06 09:08:54 +01:00
Adrian Conlon
0218652650 Tidy for possible klaus/sudoku testing 2024-06-06 00:47:17 +01:00
Adrian Conlon
93e1e903f6 Transition entirely to new symbols framework and wire profiler. 2024-06-05 23:52:35 +01:00
Adrian Conlon
81e9068310 Remove some more warnings 2024-06-05 21:57:37 +01:00
Adrian Conlon
0e9967bfa2 Improve time complexity of symbol lookup 2024-06-05 15:35:57 +01:00
Adrian Conlon
2123d2195a Sort out null warnings 2024-06-05 14:45:46 +01:00
Adrian Conlon
f57563d631 Add CC65/CA65 symbol handling module 2024-06-05 12:51:40 +01:00
Adrian Conlon
69874231ea Support IO and symbol access in tests. 2024-06-02 20:32:17 +01:00
Adrian Conlon
42fda278c1 Add better symbol file support to the disassembler 2024-06-02 20:27:32 +01:00
Adrian Conlon
098c888dae Correct ROM load limit 2024-06-01 22:11:13 +01:00
Adrian Conlon
80ba7ef0da Switch to a version of 6502 tests with proper output 2024-06-01 11:29:40 +01:00
Adrian Conlon
4609536212 Add (old) profiler code 2024-05-31 12:01:28 +01:00
Adrian Conlon
0f9fdd95d5 Layout into regions 2024-05-31 12:01:00 +01:00
Adrian Conlon
301cd0c1e2 More tidyups 2024-05-31 12:00:31 +01:00
Adrian Conlon
75c96929bf Whoops: fix closing curly. 2024-05-30 22:26:27 +01:00
Adrian Conlon
a3a8c41ff1 More analysis suggestions 2024-05-30 22:20:26 +01:00
Adrian Conlon
59098d0305 Tidy a couple of bits in the 6502 implementation 2024-05-30 00:09:55 +01:00
Adrian Conlon
a64f370d7c Compilation fixes 2024-05-29 10:56:16 +01:00
Adrian Conlon
07ed273688 Improve performance of ADC_d (decimal) 2024-05-28 16:15:35 +01:00
Adrian Conlon
243cd9e969 Couple of small updtes 2024-05-28 14:00:15 +01:00
Adrian Conlon
9e9d86423d get the C# code up to date with the C++ code. Much better support for undocumented modes/instructions etc. 2024-05-28 13:59:37 +01:00
Adrian Conlon
6d7e936a60 Don't crash if disassembly can't be generated. 2024-05-27 23:15:51 +01:00
Adrian Conlon
339af72d3b Rewrite 6502 interrupt handling 2024-05-22 17:08:33 +01:00
Adrian Conlon
f4ea6a0b13 Use IDE suggested changes 2024-05-21 21:49:10 +01:00
Adrian Conlon
bd1f7c285b Sort out hex formatting in Harte test 2024-05-21 21:38:10 +01:00
Adrian Conlon
1e15b090f6 First stab at implementing M6502 Harte tests 2024-05-21 19:41:16 +01:00
Adrian Conlon
e0235f396e IDE suggestions 2024-05-19 09:07:20 +01:00
Adrian Conlon
6cbffa1051 Fix compilation issues 2024-05-18 22:14:51 +01:00
Adrian Conlon
291a212504 Ugrade to .NET 8.0: First pass 2024-05-18 21:57:33 +01:00
Adrian Conlon
a8926b63a4 Apply analysis recommendations to 6502 disassembler.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-07-14 16:35:43 +01:00
Adrian Conlon
47ecdad3e8 Work towards accurate bus/memory/io timings. Especially Z80 m-cycle timing.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-07-05 00:09:51 +01:00
Adrian Conlon
cd4af67177 Work my way through a bunch of the analysis suggestions.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-06-22 00:00:15 +01:00
Adrian Conlon
db0e8c613f Update all analysis (and other!) nuget packages, ensure builds across all projects.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2020-06-21 18:35:10 +01:00
Adrian Conlon
20c7dafc97 Use full PDB generation (good for performance analysis)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-12-07 12:48:11 +00:00
Adrian Conlon
2becf0e220 Apply any analysis suggestions.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-12-04 23:23:48 +00:00
Adrian Conlon
73d08fe7a7 Upgrade .net version and analysis packages en mass.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-12-04 01:03:17 +00:00
Adrian Conlon
3a40d0103a Update some framework and analysis versions.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-12-03 23:01:09 +00:00
Adrian Conlon
e98f841e9f Merge branch 'master' of https://github.com/MoleskiCoder/EightBitNet 2019-11-30 14:06:48 +00:00