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 Ode to the Game Boy Advance

79 pointsby Brajeshwarabout 2 months ago

5 comments

Dweditabout 2 months ago
&quot;Twice the speed of the GBC&quot; is a bit misleading.<p>Clock rate of the ARM7TDMI is indeed around double the GBC (GBA runs at 16.78Mz, while GBC runs at 8.4MHz), but cycles-per-instruction is far lower on the GBA&#x27;s ARM7TDMI than the GBC&#x27;s Z80-like processor.<p>On GBA, most instructions take 1 cycle to execute (when running from fast memory). Not all instructions take one cycle, memory Read&#x2F;Write instructions, branches, and multiplying takes more than one cycle.<p>On GBC, an instruction basically takes 4 cycles per memory access. This includes the instruction fetch itself, each other byte of the instruction, each memory read&#x2F;write performed, then 4 additional cycles if the instruction performed 16-bit math. (Also stuff for branches too)<p>But GBA doesn&#x27;t always run code from fast memory. It gets the worst-case performance when executing code directly from the cartridge. When running 16-bit THUMB code, it takes 5 cycles. When running 32-bit ARM code, it takes 8 cycles. This means that a game needs to copy code into fast memory if it wants to run at a high performance.<p>So with the full penalties that come from directly executing code from the cartridge, and you&#x27;re comparing the simplest instructions, it does end up being only twice as fast. But when running code from fast memory, it&#x27;s around 16 times faster.
评论 #43531961 未加载
gxdabout 2 months ago
One clear trend in mobile devices since the GBA times is the increase in screen sizes. The Switch&#x27;s screen is just so much bigger than the GBA&#x27;s. You also see that on phones, with popular models approaching if not exceeding 7&quot; which used to be reserved to small tablets. Where do we stop? Don&#x27;t get me wrong, I like the bigger screens, but portability is suffering and most pockets no longer fit today&#x27;s &quot;portable&quot; devices.
评论 #43525321 未加载
评论 #43526227 未加载
评论 #43526129 未加载
评论 #43525471 未加载
评论 #43525750 未加载
zoklet-enjoyerabout 2 months ago
I played so much Advance Wars in high school that I would see the map whenever I closed my eyes and saw it in all my dreams.<p>The original GBA is the most comfortable handheld I&#x27;ve played. Fit perfectly in my hands and my pocket.
评论 #43525710 未加载
评论 #43526364 未加载
评论 #43525300 未加载
Dweditabout 2 months ago
What do you mean &quot;No more HDMA tricks&quot;? GBA literally does DMA transfers that are automatically carried out at the horizontal-blanking interval. It&#x27;s just encoded differently than how the SNES did it - no scanline numbers, just raw data to transfer every scanline as the horizontal-blanking period happens.
Dweditabout 2 months ago
Memory map is wrong, VRAM is its own 96KB, and does not incoroporate the palettes or OAM.