Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

milliForth-6502,6502 CPU 的 Forth

Posted on 2025-04-21

Forth 在小型计算机上很流行,因为它实现简单,但功能相当强大。但当你确实需要缩小它时会发生什么?好吧,如果您的目标是 6502,那么有milliForth-6502 。

这是milliForth的一个端口,它是sectorforth 的一个分支。 Sectorforth 项目设定了标准,实现了一个非常小的 Forth,可以容纳 512 字节的引导扇区。 milliForth 项目进一步缩小了扇区范围,使其变得更小,仅重 336 字节。然而,milliForth和sectorforth都是针对x86架构的。借助 milliForth-6502,[Alvaro GS Barcellos] 想看看他能将 6502 实现实现多小。

那么 milliForth-6502 二进制文件有多大?我们的测试表明:1,110 字节。它不太适合引导扇区,但它非常小!

milliForth-6502 的大部分代码是在扇区-6502.s中的汇编代码。此代码是使用cc65项目中的工具编译的。要运行代码, lib6502用于 6502 模拟。

就目前而言,仿真一切都很好,特别是对于开发和测试而言,但我们希望看到此代码在真正的 6502 上运行。从头开始构建 6502就更好了!如果您运行此代码,我们很想听听它是如何进行的!

原文: https://hackaday.com/2025/04/20/milliforth-6502-a-forth-for-the-6502-cpu/

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Christopher Butler
  • Colin Percival
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Dustin Curtis
  • eighty twenty
  • Elad Gil
  • Ellie Huxtable
  • Ethan Dalool
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Liz Danzico
  • Lou Plummer
  • Luke Wroblewski
  • Matt Baer
  • Matt Stoller
  • Matthias Endler
  • Mert Bulan
  • Mostly metrics
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Rohit Patel
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Steve Blank
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • Understanding AI
  • Wes Kao
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme