GithubHelp home page GithubHelp logo

arm_texteditor's Introduction

Text Editor

App built using code for ARM framework. Main.c can be compiled and run on https://cpulator.01xz.net/?sys=arm-de1soc to simulate the ARM DE1-SoC environment.

How to use the text editor:

  • Ensure that you are typing in the first PS/2 CPULator “Type Here” box (address FF200100, not FF200108). Type freely using your keyboard and move the cursor (denoted with “<”) with arrow keys. *Note: due to FPGA/CPUlator limitations, if you type too fast some keys won’t register, this was an unavoidable limitation.
  • To access upper case letters and special characters press shift once. Then press the key with the special character. Shift will stay on until pressed a second time.
  • To copy, paste and cut, press control once and then highlight text using the left arrow key. Then use c, v or x respectively to perform your operation. Control will remain on until pressed a second time.

Notable features:

  • Use of character buffer and pixel buffer simultaneously
  • Use of dynamic memory allocation and freeing for copy/cut words on to the heap, then pasting at any desired location
  • Reduction of PS/2 key signal bouncing using simple boolean flags
  • Ability to move cursor to mid sentence and add/delete spaces/characters and cause other characters in that line to shift forward/back
  • All formatting keys do their respective jobs (e.g. tab, enter, space etc.)

arm_texteditor's People

Contributors

hannahbrooks avatar wasifbutt avatar

Watchers

James Cloos avatar  avatar  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.