Skip to content

Commit

Permalink
Covox on PPU I/O Port A (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzeemin committed Feb 12, 2024
1 parent 628048c commit 9393e08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ UKNCBTL — UKNC Back to Life! emulator, Win32 version.
[![Build status](https://ci.appveyor.com/api/projects/status/xicur65lusd5c3ab?svg=true)](https://ci.appveyor.com/project/nzeemin/ukncbtl)
[![CodeFactor](https://www.codefactor.io/repository/github/nzeemin/ukncbtl/badge)](https://www.codefactor.io/repository/github/nzeemin/ukncbtl)

![GitHub all releases](https://img.shields.io/github/downloads/nzeemin/ukncbtl/total)

### На русском / In Russian
UKNCBTL — UKNC Back to Life! — это эмулятор компьютера Электроника МС-0511 (УКНЦ).
УКНЦ это советский домашний/учебный компьютер, построенный на двух процессорах КМ1801ВМ2, совместимых по системе команд с Электроника-60, ДВК и др.
Expand Down
4 changes: 2 additions & 2 deletions emulator/emubase/Board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1534,8 +1534,8 @@ void CMotherboard::DoSound(void)
{
// Get byte from printer port output register, inverted, and merge it with the channel data
CSecondMemoryController* pSecondMemCtl = dynamic_cast<CSecondMemoryController*>(m_pSecondMemCtl);
uint8_t valuecovox = pSecondMemCtl->m_Port177100 ^ 0xff;
value |= valuecovox << 7;
uint16_t valuecovox = (pSecondMemCtl->m_Port177100 ^ 0xff) << 7;
value ^= valuecovox;
}

if (m_SoundGenCallback != nullptr)
Expand Down

0 comments on commit 9393e08

Please sign in to comment.