Tic-Tac-Toe Over Network Using Simple ASM Simulator

From few years ago, when i was new in space technology program, our instructors gave us a report.

In this report we must develop a Tic-Tac-Toe using ASM Simulator, and this simulator we must develop it too.

Our instructors helped us a little in how we can develop a simple ASM Simulator, and left us to continue developing the game and ASM simulator and they made it worst when they asked it to be Over Network.

My Team consist of 2 people (Me and Islam My Friend), and the report deadline was 2 weeks.

After we studied the topic and the implementation with HLL (High Level Languages), we started to implement it with our custom ASM we defined in the simulator.

The game in first was a console app, but after while before we deliver it we decided to implement UI on it and we used the GTK++ to develop the simple interface.

In this article i will share the source code of the game + simulator under console and with the network support.

Continue reading

Advertisements

Introduction To UAVs

Introduction

An unmanned aerial vehicle (UAV), also known as a unmanned aircraft system (UAS), remotely piloted aircraft (RPA) or unmanned aircraft, is a machine which functions either by the remote control of a navigator, or pilot (called a Combat Systems Officer on UCAVs) or autonomously, that is, as a self-directing entity.

Continue reading

Virtual Serial Communication

The Universal Asynchronous Receiver/Transmitter (UART) controller is the key component of the serial communications subsystem of a computer. The UART takes bytes of data and transmits the individual bits in a sequential fashion. At the destination, a second UART re-assembles the bits into complete bytes. Serial transmission is commonly used with modems and for non-networked communication between computers, terminals and other devices. There are two primary forms of serial transmission: Synchronous and Asynchronous. Depending on the modes that are supported by the hardware, the name of the communication sub-system will usually include a A if it supports Asynchronous communications, and a S if it supports Synchronous communications. Some common acronyms are:

  • UART: Universal Asynchronous Receiver/Transmitter
  • USART: Universal Synchronous-Asynchronous Receiver/Transmitter

For more details about Serial Communication and USART click here

In This Post we will talk about Virtual Serial Communication and how to emulate serial port to use in you application or simulation.

Continue reading

Future Life Series: Claytronics Technology

What is Claytronics ?

Clayrtonics is nanometer-scale computers or robots called claytronic atom or catom, and this catoms can interact with each other to form 3D-Object that human can interact with.

Sometimes they call Claytronics a Programmable Matter cause in that case we can program this catoms to perform many shapes just change the program that role this matter.

What is Claytronics Applications ?

  • Telecommunication
  • Human-Computer Interfaces
  • Entertainment
  • Education
  • Healthcare
  • More

Continue reading

VMWare NAT Server Lag Solution (Windows)

In the last few months, my internet server connection was too bad and i was getting disconnect from it and after while the connection is getting back and internet too but the NAT Server don’t sense that and the Virtual Machines don’t get any internet connection, i tried to ping Google from the Virtual Machines and the same problem, no results and the only solution is to restart my pc to fix this problem.

But at last i found the solution to this problem without restarting your PC, just restart the NAT Service from Services Manager in Windows.

Steps

  • Goto Control Panel -> Administrative Tools -> Services.
  • At Services Manager Search for “VMware NAT Service” and Restart It.

Restarting the NAT Service from Service Manager Screenshot

That’s it and all connection will be restored in your Virtual Machines without Restarting your PC.

32bit Pipelined Processor with Assembler Project

In my collage, me and my team (AIExtreme) was asked to develop risc processor 32-bit pipelined with assembler. In this post i will demonstrate the latest work in the processor and show the project development phases and status.

Processor Features:

  1. Processor Support 48 Instruction up to 256 Instruction
  2. Processor Interface with 2 Memories [16bit Address, 16bit Data] Interleaved
  3. Interface with LCD Terminal using Instructions
  4. Processor have it’s Assembler

Continue reading

How to Combine Between GNOME & KDE Interfaces in Ubuntu (Natty)

First of all this idea came to me because i was suffering from switching with KDE & GNOME Interfaces to have the feature of the both, and i start reading on internet that new Ubuntu 11.04 which support Unity can support the plasma desktop if you tried to install it.

The main features of KDE is Usability & Widget Engine, and the main feature of GNOME is The Drag & Drop and the simple and organized interface.

Let’s Implement It on Your Ubuntu,

Continue reading