#bindings #github #wrapper #hx-c-floppy-emulator #assembly #com #image

hxcadaptor

libhxcfe 的绑定 https://github.com/jfdelnero/HxCFloppyEmulator/。未完成的工作,欢迎贡献。

5 个版本

0.1.4 2023 年 10 月 7 日
0.1.3 2023 年 10 月 7 日
0.1.2 2023 年 10 月 5 日
0.1.1 2023 年 10 月 4 日
0.1.0 2023 年 10 月 4 日

#80 in #assembly

每月 21 次下载

GPL-3.0-only

8MB
167K SLoC

C 130K SLoC // 0.2% comments Visual Studio Project 19K SLoC C++ 11K SLoC // 0.1% comments Ada 1.5K SLoC // 0.2% comments Shell 1.5K SLoC // 0.3% comments Pascal 1K SLoC // 0.2% comments Visual Studio Solution 1K SLoC C# 878 SLoC // 0.4% comments Python 852 SLoC // 0.2% comments Bitbake 595 SLoC // 0.1% comments Automake 285 SLoC // 0.4% comments GNU Style Assembly 245 SLoC // 0.5% comments M4 117 SLoC // 0.7% comments Batch 110 SLoC // 0.2% comments Rust 66 SLoC // 0.1% comments Ebuild 17 SLoC // 0.1% comments Forge Config 5 SLoC

hxc_rs

这是一个基于 libxcfe 库的 Rust 包装器 https://github.com/jfdelnero/HxCFloppyEmulator。我只实现了我的其他项目 https://github.com/cpcsdk/rust.cpclib 需要的功能(主要是为了允许 basm 汇编器 在 HFE 光盘图像中写入)。我没有对可变性做出好的选择:Rust 端的所有非可变对象在 C 端仍然是可变的。我可能有内存泄漏,即使我已经尽力避免了。

请随意提供补丁以改进包装器的封装,修复错误或其他任何问题。我可以很乐意将仓库所有权交给比我更有动力继续这项任务的人(我只添加我主要项目所需的内容)。

x86_64-pc-windows-gnu 是 Windows 所需的工具链:cargo +nightly-x86_64-pc-windows-gnu test。这可能是对依赖项的字符串限制。

依赖关系