diff --git a/Components/6560/6560.hpp b/Components/6560/6560.hpp index 517740115..4bd44dbb4 100644 --- a/Components/6560/6560.hpp +++ b/Components/6560/6560.hpp @@ -107,7 +107,7 @@ template class MOS6560 { void set_output_mode(OutputMode output_mode) { output_mode_ = output_mode; - // Luminances are encoded trivially: on a 0–255 scale. + // Luminances are encoded trivially: on a 0-255 scale. const uint8_t luminances[16] = { 0, 255, 64, 192, 128, 128, 64, 192, @@ -115,7 +115,7 @@ template class MOS6560 { 192, 192, 128, 255 }; - // Chrominances are encoded such that 0–128 is a complete revolution of phase; + // Chrominances are encoded such that 0-128 is a complete revolution of phase; // anything above 191 disables the colour subcarrier. Phase is relative to the // colour burst, so 0 is green. const uint8_t pal_chrominances[16] = { diff --git a/Machines/AmstradCPC/AmstradCPC.cpp b/Machines/AmstradCPC/AmstradCPC.cpp index e6e52b8aa..91cd3abe8 100644 --- a/Machines/AmstradCPC/AmstradCPC.cpp +++ b/Machines/AmstradCPC/AmstradCPC.cpp @@ -673,7 +673,7 @@ class i8255PortHandler : public Intel::i8255::PortHandler { // Bit 6: printer ready (1 = not) // Bit 5: the expansion port /EXP pin, so depends on connected hardware // Bit 4: 50/60Hz switch (1 = 50Hz) - // Bits 1–3: distributor ID (111 = Amstrad) + // Bits 1-3: distributor ID (111 = Amstrad) default: return 0xff; } } diff --git a/Machines/Commodore/1540/Implementation/C1540.cpp b/Machines/Commodore/1540/Implementation/C1540.cpp index 254ac301b..0db3a2ae2 100644 --- a/Machines/Commodore/1540/Implementation/C1540.cpp +++ b/Machines/Commodore/1540/Implementation/C1540.cpp @@ -50,10 +50,10 @@ Cycles MachineBase::perform_bus_operation(CPU::MOS6502::BusOperation operation, /* Memory map (given that I'm unsure yet on any potential mirroring): - 0x0000–0x07ff RAM - 0x1800–0x180f the serial-port VIA - 0x1c00–0x1c0f the drive VIA - 0xc000–0xffff ROM + 0x0000-0x07ff RAM + 0x1800-0x180f the serial-port VIA + 0x1c00-0x1c0f the drive VIA + 0xc000-0xffff ROM */ if(address < 0x800) { if(isReadOperation(operation)) diff --git a/Machines/Electron/Video.cpp b/Machines/Electron/Video.cpp index 5bb352e64..ab0c23b00 100644 --- a/Machines/Electron/Video.cpp +++ b/Machines/Electron/Video.cpp @@ -388,7 +388,7 @@ unsigned int VideoOutput::get_cycles_until_next_ram_availability(int from_time) // Apply the standard cost of aligning to the available 1Mhz of RAM bandwidth. result += 1 + (position&1); - // In Modes 0–3 there is also a complete block on any access while pixels are being fetched. + // In Modes 0-3 there is also a complete block on any access while pixels are being fetched. if(screen_mode_ < 4) { const int current_column = graphics_column(position + (position&1)); int current_line = graphics_line(position); diff --git a/Machines/MSX/MSX.cpp b/Machines/MSX/MSX.cpp index 4ae8b5048..0281f9ba1 100644 --- a/Machines/MSX/MSX.cpp +++ b/Machines/MSX/MSX.cpp @@ -67,7 +67,7 @@ class AYPortHandler: public GI::AY38910::PortHandler { uint8_t get_port_input(bool port_b) { if(!port_b) { - // Bits 0–5: Joystick (up, down, left, right, A, B) + // Bits 0-5: Joystick (up, down, left, right, A, B) // Bit 6: keyboard switch (not universal) // Bit 7: tape input @@ -599,7 +599,7 @@ class ConcreteMachine: audio_toggle_.set_output(new_audio_level); } - // b0–b3: keyboard line + // b0-b3: keyboard line machine_.set_keyboard_line(value & 0xf); } break; default: printf("What what what what?\n"); break; diff --git a/Machines/Oric/Video.cpp b/Machines/Oric/Video.cpp index 07443a5ea..600bb4cc4 100644 --- a/Machines/Oric/Video.cpp +++ b/Machines/Oric/Video.cpp @@ -72,8 +72,8 @@ Outputs::CRT::CRT *VideoOutput::get_crt() { } void VideoOutput::run_for(const Cycles cycles) { - // Vertical: 0–39: pixels; otherwise blank; 48–53 sync, 54–56 colour burst - // Horizontal: 0–223: pixels; otherwise blank; 256–259 sync + // Vertical: 0-39: pixels; otherwise blank; 48-53 sync, 54-56 colour burst + // Horizontal: 0-223: pixels; otherwise blank; 256-259 sync #define clamp(action) \ if(cycles_run_for <= number_of_cycles) { action; } else cycles_run_for = number_of_cycles; diff --git a/Processors/Z80/Implementation/Z80Storage.cpp b/Processors/Z80/Implementation/Z80Storage.cpp index bf462d519..a6bdd8760 100644 --- a/Processors/Z80/Implementation/Z80Storage.cpp +++ b/Processors/Z80/Implementation/Z80Storage.cpp @@ -323,9 +323,9 @@ void ProcessorStorage::assemble_cb_page(InstructionPage &target, RegisterPair &i /* 0x28 SRA B; 0x29 SRA C; 0x2a SRA D; 0x2b SRA E; 0x2c SRA H; 0x2d SRA L; 0x2e SRA (HL); 0x2f SRA A */ /* 0x30 SLL B; 0x31 SLL C; 0x32 SLL D; 0x33 SLL E; 0x34 SLL H; 0x35 SLL L; 0x36 SLL (HL); 0x37 SLL A */ /* 0x38 SRL B; 0x39 SRL C; 0x3a SRL D; 0x3b SRL E; 0x3c SRL H; 0x3d SRL L; 0x3e SRL (HL); 0x3f SRL A */ - /* 0x40 – 0x7f: BIT */ - /* 0x80 – 0xcf: RES */ - /* 0xd0 – 0xdf: SET */ + /* 0x40 - 0x7f: BIT */ + /* 0x80 - 0xcf: RES */ + /* 0xd0 - 0xdf: SET */ CB_PAGE(MODIFY_OP_GROUP, READ_OP_GROUP_D) }; InstructionTable offsets_cb_program_table = { diff --git a/SignalProcessing/FIRFilter.cpp b/SignalProcessing/FIRFilter.cpp index 5a9525af1..e7d593dd9 100644 --- a/SignalProcessing/FIRFilter.cpp +++ b/SignalProcessing/FIRFilter.cpp @@ -28,7 +28,7 @@ using namespace SignalProcessing; Original source for this filter: - "DIGITAL SIGNAL PROCESSING, II", IEEE Press, pages 123–126. + "DIGITAL SIGNAL PROCESSING, II", IEEE Press, pages 123-126. */ /*! Evaluates the 0th order Bessel function at @c a. */ diff --git a/Storage/Tape/Formats/TapePRG.cpp b/Storage/Tape/Formats/TapePRG.cpp index 4e644d6d0..868b66d37 100644 --- a/Storage/Tape/Formats/TapePRG.cpp +++ b/Storage/Tape/Formats/TapePRG.cpp @@ -195,7 +195,7 @@ void PRG::get_next_output_token() { case 0: output_token_ = WordMarker; break; - default: // i.e. 1–8 + default: // i.e. 1-8 output_token_ = (output_byte_ & (1 << (bit_offset - 1))) ? One : Zero; break; case 9: { diff --git a/Storage/Tape/Parsers/MSX.cpp b/Storage/Tape/Parsers/MSX.cpp index a63cc428a..08553a6e1 100644 --- a/Storage/Tape/Parsers/MSX.cpp +++ b/Storage/Tape/Parsers/MSX.cpp @@ -84,7 +84,7 @@ std::unique_ptr Parser::find_header(Storage::Tape::BinaryTape Attempts exactly to duplicate the MSX's TAPIN function. - @returns A value in the range 0–255 if a byte is found before the end of the tape; + @returns A value in the range 0-255 if a byte is found before the end of the tape; -1 otherwise. */ int Parser::get_byte(const FileSpeed &speed, Storage::Tape::BinaryTapePlayer &tape_player) { diff --git a/Storage/Tape/Parsers/MSX.hpp b/Storage/Tape/Parsers/MSX.hpp index 837b6c749..227b81efc 100644 --- a/Storage/Tape/Parsers/MSX.hpp +++ b/Storage/Tape/Parsers/MSX.hpp @@ -43,7 +43,7 @@ class Parser { Attempts exactly to duplicate the MSX's TAPIN function. - @returns A value in the range 0–255 if a byte is found before the end of the tape; + @returns A value in the range 0-255 if a byte is found before the end of the tape; -1 otherwise. */ static int get_byte(const FileSpeed &speed, Storage::Tape::BinaryTapePlayer &tape_player);