Code Monkey home page Code Monkey logo

retro-dos-graphics's Introduction

retro-dos-graphics

Various routines for programming graphics and games on MSDOS and PC-compatible 16-bit systems

Assembly code for 8086 CPU

This is a work in progress

This project includes functions for drawing sprites on screen in CGA graphic modes:

  • mid-res 320 x 200 pixels in 4 colors
  • low-res 160 x 200 pixels in 16 colors composite video mode
  • low-res 160 x 200 pixels, 16 colors Tandy 1000 graphics mode

Other graphic modes, such as EGA and Tandy mid-resolution may be supported in the future.

More functionality included:

  • Sprite-sheet animation
  • Keyboard interrupt handler
  • Joystick support
  • Using the PC Speaker for playing music
  • Hardware scrolling
  • Tile-based collision detection

For generating MSDOS executables, you need NASM. (I don't know if it works with other assemblers) A makefile is included for building the project with Make

This project has been tested on DosBox and PCem

retro-dos-graphics's People

Contributors

jasaldivara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.