From e3e8e89b4723ce07532c499df350e2707a848dee Mon Sep 17 00:00:00 2001 From: baltdev Date: Tue, 2 Apr 2024 00:11:24 -0500 Subject: [PATCH] Documentation typo 2 --- Cargo.toml | 2 +- README.md | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index be8af45..dd25668 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "r6502" version = "1.0.5" authors = ["baltdev"] edition = "2021" -description = "A simple NMOS 6502 emulator." +description = "A simple MOS 6502 emulator." license = "Apache-2.0 OR MIT" documentation = "https://docs.rs/r6502" repository = "https://github.com/balt-dev/r6502/" diff --git a/README.md b/README.md index 537cabb..7687cfb 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ![Maintenance](https://img.shields.io/maintenance/as-is/2024?color=gold) # r6502 -### Yet another NMOS 6502 emulator. +### Yet another MOS 6502 emulator. --- @@ -20,13 +20,13 @@ instead having you step the emulator one opcode at a time and handle them yourse ## Feature Flags The following feature flags exist: -| Name | Description | -|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| bcd | Enable binary-coded decimal arithmetic.
Enabled by default. Disable if you're writing a NES emulator.
Note that invalid BCD is left untested and will not function faithfully to the NMOS 6502. | -| bytemuck | Enables [bytemuck](https://docs.rs/bytemuck/) support. | -| arbitrary | Enables [arbitrary](https://docs.rs/arbitrary/) support. This will pull in `std`. | -| serde | Enables [serde](https://docs.rs/serde) support. | -| hashbrown | Enables [hashbrown](https://docs.rs/hashbrown) support. | +| Name | Description | +|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| bcd | Enable binary-coded decimal arithmetic.
Enabled by default. Disable if you're writing a NES emulator.
Note that invalid BCD is left untested and will not function faithfully to the MOS 6502. | +| bytemuck | Enables [bytemuck](https://docs.rs/bytemuck/) support. | +| arbitrary | Enables [arbitrary](https://docs.rs/arbitrary/) support. This will pull in `std`. | +| serde | Enables [serde](https://docs.rs/serde) support. | +| hashbrown | Enables [hashbrown](https://docs.rs/hashbrown) support. | ## Example ```rust ignore @@ -54,7 +54,7 @@ fn main() { loop { let interrupt_requested = emu.step() - .expect("found an invalid opcode (only NMOS 6502 opcodes are supported)"); + .expect("found an invalid opcode (only MOS 6502 opcodes are supported)"); if interrupt_requested { // Go to IRQ interrupt vector let vector = u16::from_le_bytes([ emu.read(0xFFFE),