Category : C Source Code
Archive   : TOOLS153.ZIP
Filename : V_COL.C

 
Output of file : V_COL.C contained in archive : TOOLS153.ZIP
/****************************************************************/
/* */
/* Filename: V_COL.C */
/* */
/* Author: Mike McCabe */
/* */
/* Release Date: October 10, 1988 */
/* */
/* Current Version: 1.0 */
/* */
/* Project Name: TC-Tools Library */
/* */
/* Compatibility: Turbo C 1.5 and 2.0 */
/* IBM-PC/PS2 Video Subsystem */
/* */
/* Copyright: (C)opyright 1988 by Mike McCabe */
/* All Rights Reserved */
/* */
/* Subroutines Called: Interrupt 10h */
/* */
/* Globals Used: Cur_text_page */
/* */
/****************************************************************/
/* */
/* Description: */
/* */
/* This routine will call bios services to get the current */
/* text pages cursor column number. */
/* */
/* Calling Parameters: */
/* */
/* int v_col(); */
/* */
/****************************************************************/
/* */
/* Revision History: */
/* */
/* Version Date Description */
/* ------- -------- ----------- */
/* 1.0 11/10/88 Original Release */
/* */
/****************************************************************/

/* Declare needed .h files */
#include
#include "tctools.h"

/* Declare v_col function */
int v_col()
{
/* get current text page into bh */
_BH = Cur_text_page;

/* set function for cursor position */
_AH = 3;

/* call video services to get cursor position */
geninterrupt(0x10);

/* return with value */
return(_DL + 1);

/* end v_col */
};


  3 Responses to “Category : C Source Code
Archive   : TOOLS153.ZIP
Filename : V_COL.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/