Πέμπτη 13 Ιανουαρίου 2011

Emu 8086's robot program complete!




The emu 8086's robot can be seen in the image on the left. The map is 9x6 and you can make any map using the tools provided (see Tool Box). The robot recieve commands from the command line, and gives you information from the data and status line.

I was assigned to create a program which operates the robot to do the following things:
1) Do what human want. (move forward, turn right/left, see what is in front of it, switch on/off lamp)
2) Move forward until he hits, analize what it hit and if it's a lamp in turn it on, then turns randomly right or left tries to move forward again and continues this loop. (I've put a limit of 50 loops)
3) The robot have to find all close lamps in a map and turn them on, all by it self.

After some days (3 or 4), I managed to make this program. The first 2 sub programs took me only a day or less, the third took me some time to complete because it is much more difficult that the others too. I managed to solve some of emu 8086's bugs delayed me. The program took me about 850 lines but works perfectly. I haven't found (yet) any kind of bug in my program.

Πέμπτη 9 Δεκεμβρίου 2010

Double Edge Films

I found the Double Edge Films on youtube and decided that I should tell you some info about them because I like their work very much.

Double Edge Films has made some advertisments, short movies and a movie (ink).

Here are 2 short movies made by them:

Uncle Jack

This video presents a guy who is having serious trouble. His phone rings, he answers, the call is from his brother's house. Surprisingly his brother's daughter was on the phone telling him that she cannot sleep and she wants him to tell her a story to sleep. He can't reveal the truth to her so he describes what's happening like he's telling a fairy tail. Well, that's the intro, watch the video to see what happened next. :)



Spin

This could also have the title "god is a dj". "God" is watching an accident and tries to undo what happened by adjusting his dj equipment. It is very good, especially the end!



Here are 2 advertisements made by them:

Go fast and Santa Swarm



About ink:

Ink is a movie that has to do with dreams and time manipulation. The main roles are the father, a business man with high risk in his job, his daughter and Ink. I cannot describe you ink or give you any more informations or you'll blame me for spoilers, watch the movie. :P

More info about Double Edge Films can be found at their website:
http://www.doubleedgefilms.com/

Σάββατο 4 Δεκεμβρίου 2010

Assembly usefull info no1

When you type the following commands:

MOV AH,8
INT 21H

and the user types "enter", then the AL=10.
But, if you want to type this text:

ABC
DEF

then you have to type

LEA DX,MSG*
MOV AH,9
INT 21H

*MSG DB "ABC",10,13"DEF","$"

^ note that "enter" in this case is both 10 and 13.