C Program Using 8086 Interrupts to Restrict Mouse Pointer Into a Circle of Given Center and Radius

C Program Using 8086 Interrupts to Restrict Mouse Pointer Into a Circle of Given Center and Radius. The mouse ponter will be restricted to a circle of user specified center and radius using the interrupt 33 of 8086 in c complier. I have tested this program in Turbo C compiler.
How to restrict mouse cursor or pointer within a user specified circle Using 8086 INT33 service interrupts arrow mice radius centre Turbo c program Turbo C++ code source code without thread screen rectangle
Mouse pointer restricted into a circle in Turbo C


#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>

How to Hard Reset Samsung Galaxy Note 2 (N7100)

Samsung Galaxy Note II N7100  note 2 hard reset touch android tab how to hard reset complete full total restore default factory settings root android Samsung smart touch phone video tutorial
Samsung Galaxy Note II N7100
This post is to show you how to hard reset Samsung Galaxy Note II. Samsung Galaxy Note 2 a.k.a N7100 can be easily hard reset  using a 3 button combination. You have to press and hold 3 buttons together for a while after switching off the phone. The steps are as follows:

  • Switch off the phone first. (If your phone is problem is not turning on, you can try only this method of reseting)
  • Wait for some seconds (~30s).
  • Now press and hold the following buttons together : Home button, power button and volume up button.
  • Keep these three buttons pressed together until you see the Samsung logo.
  • You will be led to the menu.
  • You can use volume up or down buttons to highlight an option and power button to select that option.

C Program to Display and Set System Time and Date Using 8086 Interrupts

This is a C Program to Display and Set System Time and Date Using 8086 Interrupts. Interrupt number 21 (in hexadecimal) is used to:
C program to get system time and date and also to set it using 8086 interrupt INT 21 interrupt 0x21 21h int86() function call interrupts in C program
Output of c Program to get and set system time and date 

  • Get System time
  • Set System time
  • Get System Date
  • Set System Date
To Get system date:
- Call interrupt 0x21 (hexadecimal) 
- AH (higher byte of accumulator) should be made equal to 2A (hex) before calling interrupt
Output: