Giter Site home page Giter Site logo

stopnoanime / 16ttac-web Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 4.54 MB

A web-based code editor, compiler and debugger for the 16TTAC CPU

Home Page: https://stopnoanime.github.io/16TTAC-web/

JavaScript 2.96% HTML 14.84% TypeScript 78.33% SCSS 3.86%
asm codeeditor compiler tta

16ttac-web's Introduction

16TTAC-web

screenshot

16TTAC-web is a web-based frontend and editor for 16TTAC-sim. It allows for writing, compiling, and debugging code for the imaginary 16TTAC CPU.

Features

  • syntax highlighting
  • code autocompletion
  • automatic syntax validation
  • terminal for IO
  • breakpoints
  • CPU registers viewer
  • memory and stack viewer
  • highlighting current PC and ADR location in the memory viewer and code editor

Usage guide

Documentation of the 16TTAC, including assembly syntax and instructions, can be found here.

After writing the code, click the Compile button to compile the code. Then you can either single-step through the code with the Single step button, or run it using the Start button. If running code you can change the execution speed using the CPU speed slider. Check the Full speed checkbox to make the CPU run as fast as possible.

Some general editor tips:

  • Hovering on any compiled instruction highlights its address in the memory viewer, the opposite is also true.
  • To set breakpoints click on the code editor gutter.
  • You can scroll on the memory viewer to change the address offset.

Technical info

This project is written in TypeScript using the Angular framework. It uses Ace Editor as the code editor, and Xterm.js as the terminal. Unit tests are implemented with Jasmine and Karma. E2E tests are implemented with Cypress.

Running the editor locally

$ git clone https://github.com/stopnoanime/16TTAC-web
$ cd 16TTAC-web
$ npm i
# npp start

16ttac-web's People

Contributors

stopnoanime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.