仿真器框架

发布于 2024-07-27 01:03:42 字数 98 浏览 1 评论 0 原文

有没有好的开源框架来开发计算机系统模拟器? 我对用 Python 或 Java 编写的东西特别感兴趣,它们可以减少开发 8 位处理器(例如 6502、6510 等)模拟器的工作量。

Are there any good open source frameworks for developing computer system emulators? I am particularly interested in something written in Python or Java that can reduce the effort involved in developing emulators for 8-bit processors (e.g. 6502, 6510, etc.).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

驱逐舰岛风号 2024-08-03 01:03:42

6510不是C64里的吗?
您也许可以使用模拟 c64 代码的 java 库

http://www.dreamfabric.com/ c64/

http://www.jac64.com/ jac64-java-based-c64-emulator.html

如果您不害怕 C++,请尝试这个通用的:

http://cef.sourceforge.net/index.php

Isn't the 6510 in the C64?
You might be able to make use of the java libraries that emulate c64 code

http://www.dreamfabric.com/c64/

http://www.jac64.com/jac64-java-based-c64-emulator.html

If you aren't afraid of C++ try this general purpose one:

http://cef.sourceforge.net/index.php

扛刀软妹 2024-08-03 01:03:42

您可能需要查看 VICE,它可以模拟各种 Commodore 8 位计算机:“C64 、C64DTV、C128、VIC20、几乎所有 PET 型号、PLUS4 和 CBM-II(又名 C610)”。 其中包括 6502、6510 和 8502 处理器。 VICE 根据 GPL 发布,并用 C 语言编写。

You may want to check out VICE, which can emulates a variety of Commodore 8-bit computers: "the C64, the C64DTV, the C128, the VIC20, almost all PET models, the PLUS4 and the CBM-II (aka C610)". That includes 6502, 6510 and 8502 processors. VICE is released under GPL and is written in C.

玩心态 2024-08-03 01:03:42

我开发了一个MIX 机器的完整模拟器(Knuth 的假想计算机)几年前用 Perl 编写的 TAOCP)。 源代码有详细的文档记录,并且模拟器可以运行,因此可以通过示例进行练习。 这并不是太困难,而且我不记得需要任何特殊的框架。 机器的寄存器只是模拟器中的状态变量,剩下的就是解释指令并改变这个内部状态。

您还有更具体的问题吗? 也许这样会更容易为您指明正确的方向。

I've developed a complete emulator for the MIX machine (Knuth's imaginary computer from TAOCP) in Perl a few years ago. The source code is well documented and the simulator is runnable, so one can practice with examples. It wasn't too difficult and I don't recall needing any special framework. The machine's registers are just state variables in the simulator, and the rest is interpreting instructions and changing this internal state.

Do you have more specific questions? Perhaps it will then be easier to point you in the right direction.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文