/************************************************************************** Copyright (c) 1998 - 2000 Abhishikt N. Jain.< http://abhishikt.8k.com > ------------------------------------------------------------------------ This program is distributed in the hope that it will be useful, permission is hereby granted, free of charge, to any person obtaining copy of the program(s), to deal in the Program(s) without restriction, without limitation, the rights to use, copy, modify, merge, publish, distribute the program(s) subject to following conditions: These Programs are provided "AS IS", without warranty of any kind, Express or Implied. In no Event shall the Author(s) be liable for any Claim, Damage or other Liability, whether in an action of contract, or otherwise, arising from, out of or in connection with the Program(s) or the use or other dealings in the Program(s). Also this Copyright notice should be included/present with the program(s). You should have received a copy of the Copyright with this program; if not, mail to the abhishikt@hotmail.com or visit http://abhishikt.8k.com **************************************************************************/ #include #include void interrupt our(); void interrupt (*prev)(); char far *scr = (char far *) 0xB8000000L; main() { randomize(); printf("\tProgram by Abhishikt\n\tThe BackGround Color is Kept Same"); prev=getvect(8); setvect(8,our); keep(0,500); return; } void interrupt our() { int i; for( i=1 ;i < 3999; i+=2) { *(scr+i)=(*(scr+i) & 0xf0) | random(16); } (*prev)(); }