1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-02 20:41:33 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
Matthias
c58bba1f4c Code Cleanup
This adds some new directives for clippy and fixes all warnings.
Also updated the dependencies to their latest versions.
2024-04-26 12:03:56 +02:00
Sam M W
9f75d1a6b5 the get_byte method needs to take mutable reference to self
the reson for this is it's possible for external hardware to have some
side effect on a read.
2023-04-03 22:46:46 +01:00
Sam M W
26926a9feb set_byte method does not need to return old_value 2023-04-03 22:44:02 +01:00
Sam M W
a8dac6e805 extract memory functionality into a trait 2023-04-03 06:59:40 +01:00
Sam M W
f3f15de8cc remove memory.get_slice
real hardware won't have the ability to dive in and grab a slice from
memory
2023-04-03 05:50:13 +01:00
Sam M W
4254c02f55 Remove unit test test_memory_set_bytes
This is the right thing to do because its pass depends on
zero-initilization. Real memory will not behave this way
2023-04-03 05:50:13 +01:00
Sam M W
131b0f312d remove get_byte_mut_ref method from Memory
This is the right thing to do, because the actual hardware will perform
a read and then perform a write. This could have observable side effects
on a real system
2023-04-03 05:50:06 +01:00
Sam M W
766143d52f remove is_stack_address; it's never used 2023-04-02 21:21:46 +01:00
Sam M W
8c6591f6a4 remove last of Address and AddressDiff 2022-10-18 10:10:38 +01:00
Sam M W
3de8f9158d move tests and README away from Address 2022-10-18 10:01:55 +01:00
Sam M W
7328eb416a misc clippy fixes. 2022-10-18 09:38:05 +01:00
Sam M W
4b26e83529 remove Address and AddressDiff from equation 2022-10-18 06:57:59 +01:00
Matthias Endler
24973d7fbd Upgrade to Rust 2018 edition 2021-04-07 13:55:41 +02:00
Matthias Endler
93a39980e4 Add Default impls 2021-01-28 23:34:41 +01:00
Andrey Kutejko
cb8800689f Make changes suggested by Clippy and few more 2019-10-06 23:23:38 +02:00
Matthias Endler
35b6ea6179 Switch back memory from vector to raw byte slice 2017-10-08 17:26:45 +02:00
Matthias Endler
0a3f628168 Fix compilation with latest rustc 2017-08-08 23:24:41 +02:00
Andrew Keeton
5e4dc965bf Fix breaking changes. 2015-01-17 17:53:21 -05:00
Johannes Muenzel
3355699a94 Fix the build 2014-12-18 17:57:42 -05:00
Johannes Muenzel
b7e4125fcd Implement LSR, INC, INX, INY 2014-11-02 15:40:34 -05:00
Alex Weisberger
34cd5edd44 compiler fixes, static -> const 2014-10-16 18:50:45 -04:00
Johannes Muenzel
7adc2bbcb4 Use a table to look up the meaning of opcodes. Use common code for addressing modes. 2014-10-04 16:33:42 -04:00
Johannes Muenzel
12f9b21bd0 Move files around to match the usual structure more 2014-10-01 00:17:33 -04:00