home *** CD-ROM | disk | FTP | other *** search
-
- /************************************************************************/
- /* Fetch current number of rows and columns */
- /* from segment zero and print it */
- /************************************************************************/
-
- print_data_rc()
- {
- char far *p = 0; /* Declare far pointer */
- printf("\nCols = %X hex", p[0x44A]); /* Print columns */
- printf(", Rows = %X hex", p[0x484]+1);/* Print rows */
- }