Coder Social home page Coder Social logo

elmfrain / cnmcu Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 1.0 2.33 MB

A mod that adds mos6502 based microcontrollers to the Minecraft so you can automate your redstone contraptions with assembly code.

License: GNU General Public License v3.0

CMake 0.59% C++ 40.15% Java 59.26%

cnmcu's Introduction

CodeNode Micrcontrollers Mod

A mod that adds mos6502 based microcontrollers to the Minecraft so you can automate your redstone contraptions with assembly code.

Note: This mod is in Pre-Release (Alpha) stage so it may have bugs. If you find any bugs, please report them in the issues section.

ScreenShot

Table of Contents

Documentation

Detailed documentation can be found in here: CodeNode Microcontrollers Mod Documentation. This documentation contains examples and detailed information about the architecture of the microcontrollers.

The instruction set of the 6502 can be referenced here: Ultimate Commodore 64 Reference

Within the mod, you can view quick references by clicking Code Editor > Help > Documentation.

ScreenShot

License

This mod is licensed under the GNU General Public License v3.0. You can view the license here.

The assembler used in this mod, vasm, is licensed under their own license. You can view the license in section 1.2 of the vasm manual.

To clarify: The license of the assembler, vasm, is not the same as the license of this mod. Rights are reserved to the respective owners of the assembler.

cnmcu's People

Contributors

elmfrain avatar loofifteen avatar

Stargazers

aubrey avatar 명이 avatar  avatar BachErik avatar Un Kabara Qui Dev avatar  avatar  avatar GGORG avatar  avatar Piotr Krupa avatar NickAc avatar Noriskky avatar  avatar Alawapr avatar  avatar Szymon Cichy avatar  avatar Lillium avatar Horizon avatar feli avatar Theo Paris avatar Lura Skye avatar Kamilkampfwagen-II avatar

Watchers

 avatar  avatar  avatar

Forkers

loofifteen

cnmcu's Issues

Redstore direction bug

Hello! While tinkering with your mod, I think I found a bug. The video is self-explanatory.
Mods: ModMenu, Fabric api, cnmcu, and redstone resource pack.

Code:

  .org $E000 ; Start of the program memory
start:
  lda #%0001
  sta $7040 ; GPIODIR0
loop:
  lda $7003 ; GPIOPV3 (Left pin)
  eor $7001
  sta $7000
  jmp loop ; Jump back to the loop
  
  .org $FFFC ; Near the end of the program memory
  .word start ; Reset vector
  .word $0000 ; Interrupt vector (not used)
bug.mp4

models still don't work

models still don't work

image

[12:53:19] [Datafixer Bootstrap/INFO]: 198 Datafixer optimizations took 205 milliseconds
[12:53:21] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[12:53:21] [Render thread/INFO]: Setting user: nosqd
[12:53:21] [Render thread/INFO]: Native library is not installed! Downloading...
[12:53:21] [Render thread/INFO]: Downloading asset from GitHub... libcnmcu-windows-x64.dll
[12:53:21] [Render thread/INFO]: Listing assets from GitHub...
[12:53:24] [Render thread/INFO]: vasm is not installed! Downloading...
[12:53:24] [Render thread/INFO]: Downloading asset from GitHub... vasm6502_oldstyle-windows-x64.exe
[12:53:26] [Render thread/INFO]: vobjdump is not installed! Downloading...
[12:53:26] [Render thread/INFO]: Downloading asset from GitHub... vobjdump-windows-x64.exe
[12:53:28] [Render thread/INFO]: cygwin1.dll is not installed! Downloading...
[12:53:28] [Render thread/INFO]: Downloading asset from GitHub... cygwin1.dll
[12:53:56] [Render thread/WARN]: Config file not found, creating new one...
[12:53:57] [Render thread/INFO]: CodeNode Microcontrollers is up to date.
[12:53:57] [Render thread/INFO]: Loading native library...
[12:53:58] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[12:53:58] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[12:53:59] [Render thread/WARN]: Applying workaround: Prevent the NVIDIA OpenGL driver from using broken optimizations (NVIDIA_THREADED_OPTIMIZATIONS)
[12:53:59] [Render thread/INFO]: OpenGL Vendor: NVIDIA Corporation
[12:53:59] [Render thread/INFO]: OpenGL Renderer: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
[12:53:59] [Render thread/INFO]: OpenGL Version: 3.2.0 NVIDIA 552.12
[12:54:01] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, cnmcu, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, sodium
[12:54:01] [Worker-Main-4/INFO]: Found unifont_all_no_pua-15.1.04.hex, loading
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=east': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=north': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=west': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Worker-Main-8/WARN]: Unable to bake model: 'cnmcu:nano#facing=south': java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "renderer" is null
[12:54:03] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[12:54:03] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[12:54:03] [Render thread/WARN]: Missing sound for event: minecraft:entity.generic.wind_burst
[12:54:03] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on 22E1W (NVIDIA High Definition Audio)
[12:54:03] [Render thread/INFO]: Sound engine started
[12:54:03] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[12:54:03] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[12:54:03] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[12:54:03] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[12:54:03] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[12:54:03] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[12:54:04] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[12:54:04] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[12:54:04] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[12:54:04] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[12:54:04] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[12:54:26] [Render thread/INFO]: Flushed changes to Minecraft configuration
[12:54:29] [Render thread/INFO]: Flushed changes to Minecraft configuration
[12:54:35] [Render thread/INFO]: Loaded 7 recipes
[12:54:35] [Render thread/INFO]: Loaded 1271 advancements
[12:54:44] [Render thread/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.415 ms
[12:54:44] [Server thread/INFO]: Starting integrated minecraft server version 1.20.4
[12:54:44] [Server thread/INFO]: Generating keypair
[12:54:45] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[12:54:46] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:46] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:46] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:47] [Render thread/INFO]: Preparing spawn area: 0%
[12:54:47] [Render thread/INFO]: Preparing spawn area: 9%
[12:54:48] [Render thread/INFO]: Preparing spawn area: 22%
[12:54:48] [Render thread/INFO]: Preparing spawn area: 34%
[12:54:49] [Render thread/INFO]: Preparing spawn area: 48%
[12:54:49] [Render thread/INFO]: Preparing spawn area: 64%
[12:54:50] [Render thread/INFO]: Preparing spawn area: 81%
[12:54:50] [Render thread/INFO]: Preparing spawn area: 95%
[12:54:50] [Render thread/INFO]: Time elapsed: 5099 ms
[12:54:50] [Server thread/INFO]: Changing view distance to 12, from 10
[12:54:50] [Server thread/INFO]: Changing simulation distance to 12, from 0
[12:54:51] [Server thread/INFO]: nosqd[local:E:2046ef1f] logged in with entity id 1 at (9.5, 56.0, -1.5)
[12:54:51] [Server thread/INFO]: nosqd joined the game
[12:54:51] [Render thread/INFO]: Started 6 worker threads
[12:54:52] [Render thread/INFO]: Loaded 2 advancements
[12:55:04] [Server thread/INFO]: [nosqd: Gave 1 [block.cnmcu.nano] to nosqd]
[12:55:04] [Render thread/INFO]: [System] [CHAT] Gave 1 [block.cnmcu.nano] to nosqd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.