Skip to content

IMakeBotsForYou/Assembly-Paint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DanPaint

Dan L's final project for programming in the Assembly8086 language.
This is a simplified version of MS Paint. This page is not up to date-This notice will be deleted once it is.

Table of content

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

  1. Download and install Dosbox.

  2. Download and install the correct version of winrar for your machine.

  3. Download TASM.rar, and extract it using winrar in your C: drive.
    The folder C:\TASM\BIN\ Should now have the files:

    • intro.asm
    • paint.asm
    • r.bat
  4. Open Dosbox, and type in the console:

    mount c: c:/
    c:
    cd tasm
    cd bin
    cycles = max
    paint.asm
    

then press f9 to run the program.

Prerequisites

Dosbox
winrar

Functionality

Instructions

Screen after running the program.

Colors

Navigating between the background colors: Up arrow/ Down arrow Change brush color: Right arrow/Left arrow

Circle

Draw a circle, whose center is the position of the mouse: C
Inc/Dec size of circle -/+

Rectangle

Set corners for rectangle, and draw it. L
If you already have a first corner/point, you can also press ;

Diagonal

Set ends of diagonal line, and draw it. D
If you already have a first corner/point, you can also press 0

Vertical

Set corners for rectangle, and draw it. V
Feel free to add the second point functionality here yourself... I'm lazy

Square

Draw square around the mouse POS. S
Inc/Dec size of square ]/[

Clear screen

To clear the screen:BackSpace

Exit

To exit the program: ESC

Flow Chart

A flowchart is a type of diagram that represents a workflow or process. The flow chart demonstrates how the code jumps between processes and how it functions.

Download the flow chart as PDF.

Author

Dan Lvov, of De Shalit high school.

Acknowledgments

Hat tip to all contributors, whose code snippets and help are tremendously appreciated

  • The github community.
  • Omer Shoshani (Yod 9)
  • Guy Ofek (Yod 9)
  • Dvir Hamdi (Yod 8)

About

My final assembly 8086 project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published