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.

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

114 pointsby shioyamaabout 9 years ago

5 comments

pcwaltonabout 9 years ago
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 未加载
pelleabout 9 years ago
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 未加载
brudgersabout 9 years ago
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>
lisperabout 9 years ago
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 未加载
bitwizeabout 9 years ago
Nifty. This after I start a project to emit 6502 assembly using Scheme -- for VIC-20 development rather than NES.