TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

An Ode to the Game Boy Advance

79 点作者 Brajeshwar大约 2 个月前

5 条评论

Dwedit大约 2 个月前
&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 未加载
gxd大约 2 个月前
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-enjoyer大约 2 个月前
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 未加载
Dwedit大约 2 个月前
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.
Dwedit大约 2 个月前
Memory map is wrong, VRAM is its own 96KB, and does not incoroporate the palettes or OAM.