From 1f82a90833990db8efe6111f89a9126a2fde74c5 Mon Sep 17 00:00:00 2001 From: Sophie Forrest Date: Fri, 4 Oct 2024 23:25:44 +1300 Subject: feat: refactor tooling --- src/cpu.rs | 2 ++ src/instruction.rs | 2 ++ src/main.rs | 9 ++++++--- src/memory.rs | 2 ++ 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cpu.rs b/src/cpu.rs index b009160..8437d10 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later + //! Implementation of the MOS 6502 CPU. use bitflags::bitflags; diff --git a/src/instruction.rs b/src/instruction.rs index 2744048..d3aa725 100644 --- a/src/instruction.rs +++ b/src/instruction.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later + //! Implementation of instructions for MOS 6502. /// List of all instructions for MOS 6502. diff --git a/src/main.rs b/src/main.rs index 003d198..4d64f3c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later + //! 6502 Emulator written in Rust. Based off of information from Dave's playlist -//! using the now defunct -//! obelisk 6502 documentation. +//! +//! using the now defunct obelisk 6502 documentation. //! -//! Many comments are sourced from the Obelisk 6502 documentation +//! Many comments are sourced from the Obelisk 6502 documentation +//! mod cpu; mod instruction; diff --git a/src/memory.rs b/src/memory.rs index d251231..3f1aadf 100644 --- a/src/memory.rs +++ b/src/memory.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later + //! Implementation of memory for the MOS 6502. /// Maximum amount of memory that exists within the emulator. -- cgit 1.4.1