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.

Cramming Solitaire onto a Nintendo E-Reader card

127 pointsby retro_guy7 months ago

18 comments

palsecam7 months ago
<i>&gt; A single E-Reader dotstrip can store 2,192 bytes of data, which is just over 2kb. But there is some overhead with the headers […] data on the dotstrip is compressed though</i><p><i>&gt; In the end I didn&#x27;t need to do too much space optimization to keep Solitaire down to two dotstrips</i><p>So, a full implementation of Solitaire in ~4KiB. Count me impressed!<p>I like to show off that my own (as a web app: <a href="https:&#x2F;&#x2F;FreeSolitaire.win" rel="nofollow">https:&#x2F;&#x2F;FreeSolitaire.win</a>) is &quot;only&quot; 21KiB, but that’s small fry in comparaison!
评论 #42027760 未加载
评论 #42027620 未加载
评论 #42031052 未加载
tsujamin7 months ago
I used to _love_ the E-Reader, and had a huge stack of cards for it.<p>It was neat that it integrated into so many different games. I think my favourites were playing NES ExciteBike and the Pokemon Ruby&#x2F;Sapphire&#x2F;Emerald trainer cards.<p>The E-Reader is only surpassed by the GameBoy Camera.
yincrash7 months ago
Reading this, it seems like the Z80 emulator is a Gameboy emulator and the quirks that the dev was finding with the Z80 emulation was due to it not really being a Z80 emulator?
评论 #42027544 未加载
评论 #42027248 未加载
dmitrygr7 months ago
The “weird crippled z80” is the GB&#x2F;C cpu which is indeed a z80 with some things removed and a few added.
评论 #42028190 未加载
Narishma7 months ago
Why do they say it&#x27;s running on a Z80 emulator? Doesn&#x27;t the GBA have a Z80 CPU (or rather the SM83 variant) to run GB and GBC games?
评论 #42029756 未加载
评论 #42027979 未加载
评论 #42027901 未加载
fennecbutt6 months ago
If you think this is cool, then check out this guy that made additional dlc for some of the pokemon games that had new items and events distributed by dot card: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;fgX36SAeTwQ?si=p5YXONlbbAHW1mLe" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;fgX36SAeTwQ?si=p5YXONlbbAHW1mLe</a> <a href="https:&#x2F;&#x2F;youtu.be&#x2F;6j4CfGlHFI8?si=Bento62buP6g974z" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;6j4CfGlHFI8?si=Bento62buP6g974z</a><p>It&#x27;s pretty cool as he covers using the internal api that the pokemon games implement to handle the dot card data as well.
relistan7 months ago
I live deep dives like this into something obscure and cool! Looks like fun
retro_guy7 months ago
Source: <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;retrogamedev&#x2F;comments&#x2F;1gglfqx&#x2F;cramming_solitaire_onto_a_nintendo_ereader_card&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;retrogamedev&#x2F;comments&#x2F;1gglfqx&#x2F;cramm...</a>
ndiddy7 months ago
Great article! I think the tiny size of the cards, the Z80 VM, and the high-ish level &quot;scripting&quot; API make the E-Reader a really interesting platform. I might try writing something for it if I ever get around to it.
davexunit7 months ago
This was a great read, the debugging substory in particular. I bought the unpopular E-Reader as a kid and felt pretty ripped off by it. If only I had known there was a z80 emulator inside. ;)
a1o7 months ago
Does someone knows what the Mosaic E-Reader API call does?<p>``` RST8_26h Mosaic ;bg&lt;n&gt;cnt.bit6=a.bit&lt;n&gt;, [400004Ch]=de ```
评论 #42026420 未加载
msephton7 months ago
Love this! And love what they did with ERAPI. Do we know specifically who created that?
mmmlinux7 months ago
Really wish i knew where my E-Reader wondered off to years ago. maybe one day it will show up again. I think about it time to time and wondered about the programming challenges it must have had.
Dwedit7 months ago
With compression, elimination of dependencies, and the THUMB instruction set, would a version written in C have fit on a single card?
whamlastxmas7 months ago
Super cool, I love this!
raymond_goo7 months ago
here is a nice Yukon solitaire variant, that is guaranteed solvable. <a href="https:&#x2F;&#x2F;www.solitairle.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.solitairle.com&#x2F;</a>
testplzignore7 months ago
But can it run Doom?
评论 #42027603 未加载
mouse_7 months ago
impressive!