TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

MartyPC, cycle accurate IBM PC/XT emulator

144 pointsby nbaksalyaralmost 2 years ago

7 comments

mmastracalmost 2 years ago
I was curious about this...<p>&quot;8253 PIT - Recently rewritten after microcontroller-based research. At least one previously undocumented feature discovered. Accurate enough for PCM audio.&quot;<p>... and it turns out that it&#x27;s this ...<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dbalsom&#x2F;martypc&#x2F;blob&#x2F;main&#x2F;core&#x2F;src&#x2F;devices&#x2F;pit.rs#L516">https:&#x2F;&#x2F;github.com&#x2F;dbalsom&#x2F;martypc&#x2F;blob&#x2F;main&#x2F;core&#x2F;src&#x2F;device...</a><p><pre><code> &#x2F;&#x2F; If the counting element was reloaded between load of LSB and MSB, it is an incomplete load. &#x2F;&#x2F; Reload the counting element again when we get the MSB. &#x2F;&#x2F; Note: This is completely undocumented behavior</code></pre>
评论 #36580759 未加载
vileralmost 2 years ago
The author has done a superb job here. Not only does it have a cycle-exact Intel 8088 implementation (matched with disassembled microcode timings and hardware-verified) - it does the same for the CGA, where the dot clock is 3 times the CPU clock frequency... and it correctly represents the monitor&#x27;s output, overscan included, which most other PC emulators have never bothered to do.<p>And those debugging tools are something else, too!
评论 #36579663 未加载
wkat4242almost 2 years ago
It was even more impressive when I read that he only started work on this less than a year ago. Wow.
autoexecalmost 2 years ago
My first computer was a hand me down IBM XT. No hard drive, but two 5.25 floppy drives. I never tried running The Secret of Monkey Island on it, but it did run games like Night Mission Pinball. Paratrooper. and JBIRD.
dirkderkdurkalmost 2 years ago
This is so neat! I&#x27;ll have to incorporate it into my Unreal Engine x86 emulator plugin menagerie!<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;yVO2VDPnI0Y" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;yVO2VDPnI0Y</a> (the first 1.5 minutes are fine to watch, the rest is of dubious worth)
mrlonglongalmost 2 years ago
There seems to be an issue with keys such as !&quot;£$%%^&amp;*():{} with this emulator, I can&#x27;t even type in D: to change drive as the colon does not get sent. It might be that I am on an UK keyboard? Otherwise, it works very well, if a bit slowly.
评论 #36622404 未加载
qingcharlesalmost 2 years ago
This is a fantastic piece of work.<p>Are there any cycle-accurate like this for 8-bit consoles?
评论 #36581013 未加载
评论 #36581744 未加载
评论 #36580857 未加载