From e556b972d1ad64453b3372b486191e2a59c91dda Mon Sep 17 00:00:00 2001 From: "Christian A. Weber" Date: Fri, 15 May 1992 03:21:10 +0000 Subject: An neue Include-Files angepasst --- Source/GetViewModes.S | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'Source/GetViewModes.S') diff --git a/Source/GetViewModes.S b/Source/GetViewModes.S index e6a10c6..bf5b4b9 100644 --- a/Source/GetViewModes.S +++ b/Source/GetViewModes.S @@ -1,13 +1,13 @@ ** -** $Id: $ -** $Revision: $ +** $Id: GetViewModes.S,v 1.1 92/05/12 22:26:49 chris Exp $ +** $Revision: 1.1 $ ** ** $Filename: GetViewModes.S $ -** $Author: Christian A. Weber $ +** $Author: chris $ ** $Release: 19.1 $ -** $Date: 92/05/11 21:11:27 $ +** $Date: 92/05/12 22:26:49 $ ** -** iff.library/IFFLib_GetViewModes +** iff.library/IFFL_GetViewModes ** ** COPYRIGHT (C) 1987-1992 BY CHRISTIAN A. WEBER, BRUGGERWEG 2, ** CH-8037 ZUERICH, SWITZERLAND. ALL RIGHTS RESERVED. NO PART @@ -17,7 +17,7 @@ ** - IDNT IFFLib_GetViewModes + IDNT IFFL_GetViewModes SECTION text,CODE INCLUDE "IffLib.i" @@ -27,30 +27,32 @@ XDEF GetViewModesFunc -******* iff.library/IFFLib_GetViewModes ************************************** +******* iff.library/IFFL_GetViewModes *************************************** * * NAME -* IFFLib_GetViewModes() -- Get Amiga-specific ViewModes +* IFFL_GetViewModes() -- Get Amiga-specific ViewModes * * SYNOPSIS -* viewmodes = IFFLib_GetViewModes( ifffile ) -* D0 A1 +* viewmodes = IFFL_GetViewModes( iff ) +* D0 A1 * -* ULONG IFFLib_GetViewModes( IFFFILE ) +* ULONG IFFL_GetViewModes( IFFL_HANDLE ) * * FUNCTION * Searches the IFF file for a 'CAMG' chunk which holds the view modes * information. If there is no CAMG chunk, the view modes are calcu- * lated using the information in the BitMapHeader structure. -* You can directly put the low WORD of the result of a GetViewModes() -* call into the ns_ViewModes field of a NewScreen structure. All -* forbidden bits are masked out, as suggested by CBM. +* You can directly put the low WORD of the result of a call to +* IFFL_ GetViewModes() into the ns_ViewModes field of a NewScreen +* structure, or you can use the whole ULONG for the SA_DisplayID tag +* under OS 2.x. * * INPUTS -* ifffile - IFF file pointer, returned from OpenIFF() +* iff - IFF file handle, from OpenIFF() * * RESULT -* viewmodes - LONG containing the view modes (HAM, LACE, HIRES ...) +* viewmodes - ULONG containing the view modes (HAM, LACE, HIRES ...) +* All forbidden bits are masked out, as suggested by CBM. * Under Kickstart V1.3, only the lower WORD is used. * * BUGS @@ -61,6 +63,7 @@ * the correct CAMG chunk. * * SEE ALSO +* * ***************************************************************************** @@ -121,4 +124,5 @@ NotHiRes: NotInterlace: rts + END -- cgit v1.2.3