An Apple I Emulator in shader language
shadertoy.com
An Apple I Emulator in shader language
1–10 of 19 posts
Re: An Apple I Emulator in shader language
#2Shader 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 "normal" programming, yet it often is orders of magnitude faster.
Re: An Apple I Emulator in shader language
#3Unfortunately since emulation is an "embarrasingly serial" problem, it doesn't go particularly quickly.
Re: An Apple I Emulator in shader language
#4Careful: froze my browser (Chromium) for 30secs or so 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 "normal" programming, yet it often is orders of magnitude faster.
Re: An Apple I Emulator in shader language
#5Nice! I'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. Unfortunately since emulation is an "embarrasingly serial" problem, it doesn't go particularly quickly.
Re: An Apple I Emulator in shader language
#6Re: An Apple I Emulator in shader language
#7Can't run it on Linux in Chrome or Firefox, even though the console says WebGL support is available.
Re: An Apple I Emulator in shader language
#8Can't run it on Linux in Chrome or Firefox, even though the console says WebGL support is available.
Re: An Apple I Emulator in shader language
#9Nice! I'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. Unfortunately since emulation is an "embarrasingly serial" problem, it doesn't go particularly quickly.
Actually, not inherently serial. If you think about, an Apple consists of a lot of chips, which could be nicely modeled in say, Verilog, which is good for modelling parallel stuff. But it does not lend itself well to shader language.
Re: An Apple I Emulator in shader language
#10Lucas Pope's work on bringing the 1-bit aesthetic into the modern age is fascinating in itself. One of my favorite excerpts is how Pope 'stabilized dither' in order to reduce the harsh effects that dithering moving images can create: https://forums.tigsource.com/index.php?topic=40832.msg136374...