Article View: comp.sys.amiga.tech
Article #7178Using PAL screen modes under 2.0
From: Dave Schreiber
Date: Mon, 03 Dec 1990 21:41
Date: Mon, 03 Dec 1990 21:41
44 lines
1978 bytes
1978 bytes
[line eater fodder....]
I'm putting the finishing touches on a program than runs under
Kickstart 2.0 and opens it's own screen. Currently, the program lets
the user choose the screen mode to use (all screens are hires):
interlaced, non-interlaced, productivity, and productivity-interlaced.
The following tags are used to define the screen type (the screen
is opened using OpenScreenTagList() ): HIRES_KEY, HIRESLACE_KEY,
VGAPRODUCT_KEY, and VGAPRODUCTLACE_KEY.
My question is, how can I be certain that if my program is run on
a PAL machine, that the PAL screen resolution will be used? I've
tried using setting my Workbench screen to use PAL Hires-Interlaced,
but my program still comes up in NTSC. I don't OR any of the MODE_KEYs
with a MONITOR_ID; is there something else that needs to be done? I've
included my program's NewScreen structure below for reference.
struct NewScreen NewScreen = {
0,0,
-1,-1,
2,
0,1,
HIRES, /*I've tried replacing this with NULL, but there's no change*/
CUSTOMSCREEN,
NULL,
"'Liner V2.10b",
NULL,
NULL,
};
The only other tag I'm using is SA_PENS, BTW.
One other, unrelated question: what's the difference between
A2024TENHERTZ_KEY and A2024FIFTEENHERTZ_KEY?
Thanks in advance.
--
Dave Schreiber davids@slugmail.ucsc.edu
or (but not both) davids@ucscb.ucsc.edu
"It was fun learning about logic, but I don't see where or when I will ever
use it again."
Technical Details
Message-ID:
<9686@darkstar.ucsc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!darkstar!ucscf.UCSC.EDU!davidsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!darkstar!ucscf.UCSC.EDU!davids From: davids@ucscf.UCSC.EDU (Dave Schreiber) Newsgroups: comp.sys.amiga.tech Subject: Using PAL screen modes under 2.0 Keywords: PAL 2.0 MONITOR_ID Message-ID: <9686@darkstar.ucsc.edu> Date: 3 Dec 90 21:41:15 GMT Sender: usenet@darkstar.ucsc.edu Organization: University of California, Santa Cruz Lines: 44