Calypsi:一系列C编译器和汇编语言交叉编译器工具链
Calypsi: A series of C compiler and assembly language cross compiler tool chains

原始链接: https://github.com/hth313/Calypsi-tool-chains

Calypsi是一个闭源的C和汇编语言交叉编译器工具链系列,主要面向复古和业余爱好者社区。5.10版本支持MOS 6502、WDC 65816、Motorola 68000和HP Nut(仅限汇编器/调试器)等目标平台,并在Arch、Debian、Fedora、macOS和Windows上运行。 其ISO C99编译器拥有可重入代码、支持最多64位整数、浮点运算、结构体、联合体、变长数组以及带有源代码级调试的优化等功能。它输出ELF/DWARF、十六进制和特定目标格式。 业余使用免费(允许少量副业收入),商业用途禁止,但HP-41 Nut目标平台例外,其采用BSD许可证。支持每个目标系列中的处理器变体(例如,6502支持MOS6502、WDC65C02、45GS02)。如有支持需求,请联系[email protected],并请考虑捐赠。HP-41 Nut目标平台包含OS4、Ladybug和Boost41等模块,以增强HP-41C的功能。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Calypsi:一系列 C 编译器和汇编语言交叉编译器工具链 (github.com/hth313) doener 1小时前 6 分 | 隐藏 | 过去 | 收藏 | 讨论 加入我们,参加 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

Calypsi is a series of C compiler and assembly language cross compiler tool chains. The current tool chains are aimed towards the retro and hobby communities. Future products will be for typical targets used in embedded programming.

Supported targets and platforms

Latest release is 5.10 available here for the following targets:

  • MOS 6502
  • WDC 65816
  • Motorola 68000
  • HP Nut (assembler and debugger only)

Supported host platforms are:

  • Arch Linux, 64-bit x86
  • Debian based Linux (built on Ubuntu 20.04), 64-bit x86
  • Fedora based Linux (built on Fedora version 40), 64-bit x86 (except Nut target)
  • macOS x86
  • Windows 64-bit, built on Windows 10
  • ISO C 99 compiler. This is a freestanding implementation with many features you will typically find in a hosted compiler.

  • Fully re-entrant code model.

  • Support for all integer types up to 64 bits long long.

  • Floating point supported (32 and 64 bits IEEE-754).

  • Full support for struct, union, typedef and what you expect to find in C.

  • Support for (stack allocated) variable sized arrays.

  • Optimizing compiler that can output source level debugging information.

  • Source code debugger included.

  • Support for ELF/DWARF, hex output as well as various target specific output formats.

The tools are closed source. You can use them free of charge for hobby purposes, which means you are not allowed to make your living based on using the tools, either directly or indirectly.

Having a small side or hobby based income from using the Calypsi tools is permitted.

An exception to the above is given to the HP-41 Nut target which is provided with a BSD license to its binary distribution. Permission is given to use the HP-41 Nut tools for commercial use, free of charge.

If you cannot find a suitable project below to post questions or report issues in, feel free to do it in this project.

If you feel need to reach me directly you can do so by sending e-mail to [email protected].

A donation helps me work on this code base and is very much appreciated.

The 6502 target supports the MOS6502, WDC65C02 and 45GS02 processors.

The 65816 target supports the WDC65816 processor.

The 68000 target supports the Motorola 68000, 68020, 68040 processors. There is also partial support for the APOLLO 68080 core.

The Nut target supports the HP-41 Nut and NEWT processors.

  • OS4 is an extension module for the HP-41C operating system which greatly expands its capabilities

  • Ladybug is an HP-16C inspired module which makes use of the OS4 module to bring a HP-16C style calculator into the HP-41C

  • Boost41 provides user functions that is based on the features provided by the OS4 module

联系我们 contact @ memedata.com