Giter Site home page Giter Site logo

tearitco / bfloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mat-sz/bfloader

0.0 0.0 0.0 57 KB

๐Ÿง  Brainfuck IDE and interpreter in 512 bytes. (boot sector)

Home Page: https://demo.matsz.dev/bfloader/

License: BSD 3-Clause Clear License

Makefile 2.23% Assembly 97.77%

bfloader's Introduction

bfloader

Click here to open an online demo.

Screenshot

Boot sector Brainfuck IDE and interpreter, fits in 512 bytes.

This project is optimized for the resulting binary size, not performance.

You can download prebuilt binaries here.

Running in QEMU

make && qemu-system-x86_64 bfloader.bin

Usage

After running, type in your Brainfuck program using your keyboard (use arrow keys and Home/End keys to move the cursor) and press F5 to execute it (or Ctrl + F5 to start step by step execution). The output will be shown in between the separator and the blue line.

To stop the execution or to reset after completed execution hold Ctrl + C. While debugging press F5 to continue the program from the current step until the end.

To reset the state (remove the code from memory) and start from scratch, press Ctrl + F12.

Limitations

  • Program length is limited to 21 lines of 80 columns each (1680 characters).
  • Each cell is 1 byte long. (256 different values, wrapping).
  • Program memory space starts at 0xF000. It is possible to overwrite memory segments that shouldn't be overwritten.
  • Program's output is limited to 1 line of 80 columns (80 characters).
  • The editor isn't very advanced.

bfloader's People

Contributors

mat-sz 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.