• Stars
    star
    1,194
  • Rank 38,895 (Top 0.8 %)
  • Language Makefile
  • Created about 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Write your own virtual machine for the LC-3 computer!

LC-3 VM

READ TUTORIAL HERE

This is a tutorial and source code for creating a VM of the LC3 computer.

Editing

The documentation and source are generated from the .lit file using srcweave. If you don't want to go through the trouble of setting it up, your contributions are welcome. Just make your edits the .lit file, and we can regenerate it for you.

License

This applies to the article and figures:

CC BY-NC-SA 4.0

This applies to all code:

MIT License

Copyright (c) 2022 Justin Meiners

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

lisp-interpreter

Embeddable lisp/scheme interpreter written in C.
Scheme
138
star
2

ios-color-wheel

A fully scalable, dynamically rendered color wheel for iOS.
Objective-C
81
star
3

srcweave

A literate programming system for any language.
Common Lisp
78
star
4

efficient-programming-with-components

Course notes for Alexander Stepanov's teachings on design and usage of C++ STL.
HTML
73
star
5

stb-truetype-example

Example of how to use stb_truetype library for rendering TrueType fonts.
C
64
star
6

image-sequence-streaming

Realtime, non-linear animation playback for interactive pieces.
Objective-C
54
star
7

classic-colors

Paint program for Unix. Inspired by MS Paint (Windows 95-98).
C
45
star
8

sgi-stl-docs

Standard template library (STL) documentation from SGI. (Mirror)
42
star
9

iOS-Quizkit

Local Quiz/Test administration and management for iOS.
Objective-C
31
star
10

lc3-rogue

Roguelike tunnel generator in LC3 assembly. (Homework)
Assembly
25
star
11

why-train-when-you-can-optimize

Learn multi-variable optimization by creating a drawing assistant. No deep learning required!
Makefile
25
star
12

text2image

Render text to images with this tiny command line tool.
C
19
star
13

c-craft

Minecraft clone written in C.
C
19
star
14

tiny-blockchain

Write your own proof-of-work blockchain.
Makefile
17
star
15

gesture-recognition

Handwriting and gesture recognition with line integrals.
JavaScript
16
star
16

pre-rendered-backgrounds

An Adventure in Pre-Rendered Backgrounds. (Video game prototype.)
C
16
star
17

molecule-viewer

3D chemical molecule visualizer for XYZ files.
C++
15
star
18

spherical-harmonics

Spherical Harmonics expository paper (undergrad) and implementation.
TeX
14
star
19

neural-nets-sim

McCulloch & Pitts neural net simulator.
JavaScript
11
star
20

c-game-debug-console

Quake style debug console for games. Written in ANSI C.
C
10
star
21

justinmeiners.github.io

My personal website on Github pages.
JavaScript
9
star
22

shamans

A 3D turn-based strategy game for the iPad.
C
8
star
23

exercises

Exercises I do from books, articles, etc.
Scheme
8
star
24

mode-7

An experiment with mode-7 software rendering.
C
5
star
25

derivative-map-tool

Compute derivative maps from height maps for bumpmapping.
C
5
star
26

c-foundation

An implementation of an ANSI C class system similar to Apple's Core Foundation. (Retain/release, autorelease, mutable/immutable, etc)
C
4
star
27

sicp-html-original

Original HTML text for the classic textbook Structure and Interpretation of Computer Programs.
HTML
4
star
28

text2cs

Converts text files to C strings, usually to be included in another program. (SQL queries, shaders, etc).
C
3
star
29

js13k-2022-volcano-drop

3D video game in 13Kb (no WebGL!).
JavaScript
3
star
30

sicm-docker

Docker container for running "Structure and Interpretation of Classical Mechanics"
Scheme
3
star
31

html-8bit-chess

8-bit Chess with HTML5 canvas.
JavaScript
3
star
32

chicken-termbox

Chicken Scheme bindings for termbox.
C
3
star
33

tcmportmapper

Automatically exported from code.google.com/p/tcmportmapper
C
1
star
34

lin-math

My attempt at creating a generalized vector/matrix library.
C++
1
star
35

google-chrome-comic-book

Archive of 2008 Google Chrome comic book: https://www.google.com/googlebooks/chrome/
HTML
1
star