https://github.com/imakebotsforyou/assembly-paint
My final assembly 8086 project
https://github.com/imakebotsforyou/assembly-paint
Last synced: about 1 month ago
JSON representation
My final assembly 8086 project
- Host: GitHub
- URL: https://github.com/imakebotsforyou/assembly-paint
- Owner: IMakeBotsForYou
- Created: 2020-04-06T10:58:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-22T19:02:56.000Z (over 5 years ago)
- Last Synced: 2025-01-20T12:22:59.977Z (over 1 year ago)
- Language: Assembly
- Size: 3.64 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DanPaint
Dan L's final project for programming in the Assembly8086 language.\
This is a simplified version of [MS Paint](https://support.microsoft.com/en-us/help/4027410/windows-10-open-microsoft-paint).
This page is not up to date-This notice will be deleted once it is.
## Table of content
- [Getting Started](#Getting-Started)
- [Prerequisites](#Prerequisites)
- [Functionality](#Functionality)
- [Colors](#CiColorsrcle)
- [Circle](#Circle)
- [Rectangle](#Rectangle)
- [Vertical](#vertical)
- [Square](#Square)
- [Clear screen](#Clear-screen)
- [Exit](#Exit)
- [Flow Chart](#Flow-Chart)
- [Author](#Author)
- [Acknowledgments](#Acknowledgments)
## Getting Started
These instructions will get you a copy of the project up and running on your local machine.
1) Download and install [Dosbox](https://filehippo.com/download_dosbox/).
2) Download and install the correct version of [winrar](https://www.win-rar.com/download.html?&L=0) for your machine.
3) Download [TASM.rar](https://github.com/IMakeBotsForYou/Assembly-Paint/raw/master/TASM.rar), and extract it using [winrar](https://www.7-zip.org/) 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](https://filehippo.com/download_dosbox/)\
[winrar](https://www.win-rar.com/download.html?&L=0)
## Functionality
![Instructions][1]
[1]: https://cdn.discordapp.com/attachments/348067542881009665/699964208460201994/unknown.png
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](https://github.com/IMakeBotsForYou/Assembly-Paint/raw/master/DanPaint.pdf) 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](https://github.community/).
* Omer Shoshani (Yod 9)
* Guy Ofek (Yod 9)
* Dvir Hamdi (Yod 8)