?️ VM-Mod:Minecraft 中的 8 位计算
VM-Mod 将底层计算和复古风格编程的强大功能带入你的 Minecraft 世界。无论你是红石工程师还是编程爱好者,这个模组都允许你构建、编程并运行一个功能完整的 8 位虚拟机。
? 主要特性
自定义 CPU 方块:系统的核心。一个专为执行 8 位指令设计的专用方块。
+1
集成汇编器:无需外部工具!直接在游戏内使用内置的汇编器系统编写代码。
复古终端 GUI:一款 sleek 的 400x400 终端风格界面,采用经典的绿字黑底美学,提供沉浸式的“黑客”体验。
+1
软盘存储:将你的程序、BIOS 或数据保存到物理软盘物品中,并与其他玩家分享。
+1
网络同步:完全为多人游戏优化,确保服务器上的 CPU 状态和屏幕保持同步。
+3
?️ 入门指南
制作与放置:制作 CPU 方块并将其放置在世界中。
访问终端:右键点击方块以打开自定义的 400x400 终端 GUI。
+1
编程:使用集成的汇编器编写逻辑。
执行:运行你的程序,看着你的 8 位机器活起来!
? 示例程序
为了帮助你快速上手 VM8Bit 架构,这里有一些你可以直接复制粘贴到源代码编辑器中的示例脚本:
- 打印名字 (ALPHA)
此程序演示如何将 ASCII 字符加载到寄存器中并输出到终端。
Kod snippet'i
; VMbitCodeTerminal - Name Print Example
; Developer: Alpha Records
start:
MOV R0, #'A' ; Load 'A' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'L' ; Load 'L' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'P' ; Load 'P' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'H' ; Load 'H' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'A' ; Load 'A' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #10 ; Load Newline character
OUT #0, R0 ; Create a new line in terminal
HLT ; Halt the CPU
- 简单计数器序列
一个演示如何手动输出数字 ASCII 字符(1、2、3)的序列。
Kod snippet'i
; VMbitCodeTerminal - Counter Sequence
; Displays 1, 2, 3 on the terminal screen
MOV R0, #49 ; ASCII for '1' [cite: 10]
OUT #0, R0 ; Output to terminal
MOV R0, #50 ; ASCII for '2' [cite: 10]
OUT #0, R0 ; Output to terminal
MOV R0, #51 ; ASCII for '3' [cite: 10]
OUT #0, R0 ; Output to terminal
HLT ; Stop execution
? 联系与支持
如果遇到任何错误、有新指令的建议或想进行合作,请随时联系我们:
开发者:homercake(Alpha Records)
邮箱:tayse3224@gmail.com
?️ VM-Mod: 8-Bit Computing in Minecraft
VM-Mod brings the power of low-level computing and retro-style programming into your Minecraft world. Whether you're a redstone engineer or a coding enthusiast, this mod allows you to build, program, and operate a fully functional 8-bit virtual machine.
? Key Features
Custom CPU Block: The brain of your system. A dedicated block designed to execute 8-bit instructions.
+1
Integrated Assembler: No external tools needed! Write your code using the built-in assembler system directly inside the game.
Retro Terminal GUI: A sleek, 400x400 terminal-style interface with a classic green-on-black aesthetic for an immersive "hacker" experience.
+1
Floppy Disk Storage: Save your programs, BIOS, or data to physical Floppy Disk items and share them with other players.
+1
Network Synchronization: Fully optimized for multiplayer, ensuring your CPU's state and screen stay synced across the server.
+3
?️ How to Get Started
Craft & Place: Craft the CPU Block and place it in your world.
Access the Terminal: Right-click the block to open the custom 400x400 Terminal GUI.
+1
Program: Use the integrated Assembler to write your logic.
Execute: Run your programs and watch your 8-bit machine come to life!
? Example Programs
To help you get started with the VM8Bit architecture, here are a few example scripts you can copy and paste directly into the Source Editor:
- Printing a Name (ALPHA)
This program demonstrates how to load ASCII characters into registers and output them to the terminal.
Kod snippet'i
; VMbitCodeTerminal - Name Print Example
; Developer: Alpha Records
start:
MOV R0, #'A' ; Load 'A' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'L' ; Load 'L' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'P' ; Load 'P' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'H' ; Load 'H' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #'A' ; Load 'A' into Register 0
OUT #0, R0 ; Send to Terminal output
MOV R0, #10 ; Load Newline character
OUT #0, R0 ; Create a new line in terminal
HLT ; Halt the CPU
- Simple Counter Sequence
A sequence demonstrating how to output numeric ASCII characters (1, 2, 3) manually.
Kod snippet'i
; VMbitCodeTerminal - Counter Sequence
; Displays 1, 2, 3 on the terminal screen
MOV R0, #49 ; ASCII for '1' [cite: 10]
OUT #0, R0 ; Output to terminal
MOV R0, #50 ; ASCII for '2' [cite: 10]
OUT #0, R0 ; Output to terminal
MOV R0, #51 ; ASCII for '3' [cite: 10]
OUT #0, R0 ; Output to terminal
HLT ; Stop execution
? Contact & Support
If you encounter any bugs, have suggestions for new instructions, or want to collaborate, feel free to reach out:
Developer: homercake(Alpha Records)
Email: tayse3224@gmail.com
评论 0
登录后参与评分
还没有评论,来抢沙发吧