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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A 6502 lisp compiler, sprite animation and the NES/Famicom

114 点作者 shioyama大约 9 年前

5 条评论

pcwalton将近 9 年前
Related: Game Oriented Assembly Lisp (GOAL), used in a few shipping PlayStation 2 games: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Game_Oriented_Assembly_Lisp" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Game_Oriented_Assembly_Lisp</a><p>Writing a good compiler to target the 6502 is difficult, because the CPU is so unlike modern hardware (8-bit with 16-bit addressing, only one register that isn&#x27;t crippled, zero page, no arbitrary shift amounts, no multiply, weird addressing modes, etc. etc.) I&#x27;m always impressed when anyone gets something working :)
评论 #11745355 未加载
pelle将近 9 年前
Very cool. I&#x27;m a lisp programmer now, but this reminded me that as a teenager I was learning how to do games programming on my C64 using an incredible Forth compiler and games framework called White Lightening.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=H8609Pel_RU" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=H8609Pel_RU</a><p><a href="http:&#x2F;&#x2F;www.forth.org&#x2F;lightning.html" rel="nofollow">http:&#x2F;&#x2F;www.forth.org&#x2F;lightning.html</a>
评论 #11744710 未加载
brudgers大约 9 年前
Language repository: <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;nebogeo&#x2F;co2" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;nebogeo&#x2F;co2</a>
lisper将近 9 年前
A vintage 6502 Lisp:<p><a href="http:&#x2F;&#x2F;www.flownet.com&#x2F;ron&#x2F;plisp.html" rel="nofollow">http:&#x2F;&#x2F;www.flownet.com&#x2F;ron&#x2F;plisp.html</a>
评论 #11745334 未加载
bitwize将近 9 年前
Nifty. This after I start a project to emit 6502 assembly using Scheme -- for VIC-20 development rather than NES.