GithubHelp home page GithubHelp logo

pik33 / 8086tiny Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noshbar/ultibo-8086tiny

0.0 3.0 0.0 1.48 MB

Ultibo baremetal port of 8086tiny: a tiny PC emulator/virtual machine

Home Page: http://www.megalith.co.uk/8086tiny

License: MIT License

C 16.83% Makefile 0.45% Pascal 34.77% Batchfile 0.39% Assembly 47.47% Shell 0.09%

8086tiny's Introduction

Bare metal 8086tiny

Bare metal 8086 emulator for Raspberry Pi

As part of a Hackathon, 8086tiny was ported hastily to the Ultibo bare metal environment for Raspberry Pi. This allows for quick booting, at the expense of other luxuries.

This is by no means a complete port, just a proof-of-concept. It has several failures:

  • Arrows keys don't work
  • Non-existent ANSI support
  • Incorrect palette handling
  • The code is awful

Running

  • Format an SD card to be FAT32
  • Copy the Raspberry Pi firmware files onto it
  • Compile lib8086tiny.a
  • Compile the Ultibo kernel7.img and copy it to the root of the SD card
  • Put your bios file in the root of the SD card
  • Put your fd.img floppy disk image file in the root of the SD card
  • (Optionally) Put your disk.img hard disk image file in the root of the SD card

Compiling

To build the library

  • Install the arm-none-eabi toolchain from here
  • Run make as usual
  • This should result in lib8086tiny.a

To build the bare metal kernel

  • Compile the project from inside Ultibo Lazarus, or by using one of the batch files Note: you will need to edit the path to your Ultibo installation in the batch files.

8086tiny

8086tiny is a completely free (MIT License) open source PC XT-compatible emulator/virtual machine written in C. It is, we believe, the smallest of its kind (the fully-commented source is under 25K). Despite its size, 8086tiny provides a highly accurate 8086 CPU emulation, together with support for PC peripherals including XT-style keyboard, floppy/hard disk, clock, audio, and Hercules/CGA graphics. 8086tiny is powerful enough to run software like AutoCAD, Windows 3.0, and legacy PC games: the 8086tiny distribution includes Alley Cat, the author's favorite PC game of all time.

8086tiny is highly portable and runs on practically any little endian machine, from simple 32-bit MCUs upwards. 8086tiny has successfully been deployed on 32-bit/64-bit Intel machines (Windows, Mac OS X and Linux), Nexus 4/ARM (Android), iPad 3 and iPhone 5S (iOS), and Raspberry Pi (Linux).

The philosophy of 8086tiny is to keep the code base as small as possible, and through the open source license encourage individual developers to tune and extend it as per their specific requirements, adding support, for example, for more complex instruction sets (e.g. Pentium) or peripherals (e.g. mouse). Forking this repository is highly encouraged!

Any questions, comments or suggestions are very welcome in our forum at 8086tiny.freeforums.net.

8086tiny's People

Contributors

adriancable avatar noshbar avatar

Watchers

 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.