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.

An Apple I Emulator in shader language

50 pointsby nickforallover 5 years ago

8 comments

ljp_206over 5 years ago
Wow, I was expecting graphics in the style of Return of the Obra Dinn, but this is much more impressive.<p>Lucas Pope&#x27;s work on bringing the 1-bit aesthetic into the modern age is fascinating in itself. One of my favorite excerpts is how Pope &#x27;stabilized dither&#x27; in order to reduce the harsh effects that dithering moving images can create: <a href="https:&#x2F;&#x2F;forums.tigsource.com&#x2F;index.php?topic=40832.msg1363742#msg1363742" rel="nofollow">https:&#x2F;&#x2F;forums.tigsource.com&#x2F;index.php?topic=40832.msg136374...</a>
VMGover 5 years ago
Careful: froze my browser (Chromium) for 30secs or so<p>Shader language programming is one of most fascinating environments I know. Everything tells me that reading and writing data via texture coordinate lookups should be orders of magnitude slower than &quot;normal&quot; programming, yet it often is orders of magnitude faster.
评论 #21453362 未加载
cameroncooperover 5 years ago
Very cool! This emulator even correctly mimics some of the hardware in the Apple 1 TV interface that strips out invalid characters. Many emulators miss this and simply replace them with a blank space. <a href="https:&#x2F;&#x2F;apple1org.wordpress.com&#x2F;2012&#x2F;02&#x2F;19&#x2F;a-common-apple-1-emulation-bug&#x2F;" rel="nofollow">https:&#x2F;&#x2F;apple1org.wordpress.com&#x2F;2012&#x2F;02&#x2F;19&#x2F;a-common-apple-1-...</a>
pjc50over 5 years ago
Nice! I&#x27;d pondered using this technique for a while; since each shader compute element is a fairly powerful processor on its own, this can effectively run one copy of the emulator for every pixel.<p>Unfortunately since emulation is an &quot;embarrasingly serial&quot; problem, it doesn&#x27;t go particularly quickly.
评论 #21453384 未加载
tasty_freezeover 5 years ago
I can&#x27;t enter &quot;+&quot; on my US QUERTY keyboard. It is shift-equals, but both the shifted and unshifted show up as plain old equals in the emulator.
acoyeover 5 years ago
So I&#x27;m running macOS in KVM with pcie passthrough (Vega64) in order to emulate an Apple I on the GPU. What a tremendous era we live in ;D
person_of_colorover 5 years ago
I&#x27;ve been trying to understand the tao of shaders for a while. Any good resources (besides The Book of Shaders)?
wayneftwover 5 years ago
Can&#x27;t run it on Linux in Chrome or Firefox, even though the console says WebGL support is available.
评论 #21453709 未加载
评论 #21453755 未加载