Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!rutgers!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Message-ID: <22165@cbmvax.commodore.com> Date: 4 Jun 91 20:39:48 GMT References: <1991Jun3.221411.3198@coral.bucknell.edu> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 71 In article <1991Jun3.221411.3198@coral.bucknell.edu> hollnbgh@coral.bucknell.edu writes: >There are several things I would like to know about the A2024 monitor: > >The resolution is 1008 x 800 (2 bitplanes), but is the A2024 in Europe >a PAL monitor with 1008 x 1024 ? Yes, NTSC 2024 (60Hz) = 1008 x 800; PAL 2024 (50Hz) = 1008 x 1024. >It is the same as a Moniterm Viking I monitor (in the way the system >drives the video)? Yes, the moniterm and the 2024 are the same thing, one has the decoding stuff in the monitor and one requires a video card. The tube size is different as well. >Assuming that someone has a A2024 (or a Moniterm) with 1.3, how does a >C programmer get a 1008 x 800 screen open. I vaugely remember something >about Intuition.library V35 being the version that would allow the A2024 >to operate. What flags go into the new_screen.Flags field? You must use tags to do this. Under V35 you can set the NS_EXTENDED bit and call OpenScreen(). For V36 and later you can call OpenScreenTags() or OpenScreenTagList(). It looks like you need to set (in addition to the regular stuff): #include #include /* struct ExtNewScreen is struct NewScreen with the ** following field added to the end: ** ** struct TagItem *Extension; */ struct ExtNewScreen newscreen; /* this tag must be first for V35 compatibility. */ taglist[0].ti_Tag = NSTAG_EXT_VPMODE; taglist[0].ti_Data = VPF_A2024 | VPF_TENHZ; /* or just VPF_A2024 */ taglist[1].ti_Tag = TAG_END; if (GfxBase->LibNode.lib_Version <= 34) ; /* can't do tags or moniterm */ else if (GfxBase->LibNode.lib_Version == 35) { newscreen.extension = taglist; newscreen.Type = CUSTOMSCREEN | NS_EXTENDED; newscreen.ViewModes = 0; /* for 2024 */ newscreen.Width = 1008; newscreen.Height = 800; if (GfxBase->DisplayFlags & PAL) newscreen.Height = 1024; if (NULL != (screen = OpenScreen(&newscreen))) { /* succeeded! */ } } else if (GfxBase->LibNode.lib_Version >= 36) ; /* see AmigaMail article, described below. */ >How do I open the 1008 x 800 screen under 2.0 ? Same way, but you must check the display database to see if the mode is available. See AmigaMail article by Ewout Walraven, Jan/Feb 1991. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky