diff --git a/README.md b/README.md index c8428f4..afe5db4 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ Resources Special thanks to [PsiLinux/OpenPsion](http://linux-7110.sourceforge.net/index.shtml) for providing an avenue to learn about the hardware definitions (registers, etc). +More information on the hardware is available in the NetBSD port: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/epoc32/?only_with_tag=MAIN + The EPOC C++ SDK is available here: https://web.archive.org/web/20071010101808/http://www.psionteklogix.com/teknet/pdk/netpad-pdk/epoc_downloads.htm The ARM variant used in the 5mx is documented here: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0033d/DDI0033D_710a_prelim_ds.pdf diff --git a/WindQt/mainwindow.cpp b/WindQt/mainwindow.cpp index 95168c0..b273ab9 100644 --- a/WindQt/mainwindow.cpp +++ b/WindQt/mainwindow.cpp @@ -273,6 +273,8 @@ void MainWindow::updateMemory() uint32_t virtBase = ui->memoryViewAddress->text().toUInt(nullptr, 16) & ~0xFF; uint32_t physBase = emu->virtToPhys(virtBase); bool ok = (physBase != 0xFFFFFFFF) && emu->isPhysAddressValid(physBase); + if (ok && (virtBase != physBase)) + ui->physicalAddressLabel->setText(QStringLiteral("Physical: %1").arg(physBase, 8, 16, QLatin1Char('0'))); uint8_t block[0x100]; if (ok) { diff --git a/WindQt/mainwindow.ui b/WindQt/mainwindow.ui index 402a0aa..7ddbdd5 100644 --- a/WindQt/mainwindow.ui +++ b/WindQt/mainwindow.ui @@ -133,6 +133,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -154,6 +167,18 @@ + + + + + Courier New + + + + TextLabel + + + @@ -161,6 +186,13 @@ + + + + Physical: XXXXXXXX + + + @@ -168,33 +200,7 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - + Write @@ -220,17 +226,18 @@ - - - - - Courier New - + + + + Qt::Horizontal - - TextLabel + + + 40 + 20 + - +