Article View: comp.sys.amiga.tech
Article #75122.0 File Requestor/NTSC Questions
From: Matt Crowd
Date: Mon, 17 Dec 1990 03:30
Date: Mon, 17 Dec 1990 03:30
36 lines
1697 bytes
1697 bytes
Hi, I have a couple of questions...
1) How does one get the 2.0 standard file requestor to appear on your
own custom screen? I have it appearing on workbench at the moment.
Example code would be nice!
2) What happens if a PAL picture is loaded into a NTSC machine? Does
the picture cut off at the 200 line mark? There is a bug in my machine
that causes it to boot sometimes in NTSC instead of PAL, and on one
of the occasions it did, I loaded a PAL picture. The picture extended
down past the 200 line mark (maybe 20 lines or so), even though the
mouse could not be moved below the 200 line mark. Is this what happens
on a _real_ NTSC machine?
3) Is the OS supported solution to determine whether a program is
running on NTSC or PAL -
if(GfxBase->DisplayModes & PAL)
printf("PAL\n");
else
printf("NTSC\n");
(I might have meant DisplayFlags here, I don't have the code here, that
is from memory!)
Will this work on NTSC machines that are running PAL under 2.0?
Thanks in advance! I'm sure I would know the answer to these questions
if I were a developer, but C= Aust. won't let people programming any
kind of game (even an OS friendly adventure) become a developer...
--
Matt Crowd
Email Address glmwc@marlin.jcu.edu.au
Technical Details
Message-ID:
<1990Dec17.033055.3516@marlin.jcu.edu.au>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!glmwcShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!glmwc From: glmwc@marlin.jcu.edu.au (Matt Crowd) Newsgroups: comp.sys.amiga.tech Subject: 2.0 File Requestor/NTSC Questions Message-ID: <1990Dec17.033055.3516@marlin.jcu.edu.au> Date: 17 Dec 90 03:30:55 GMT Organization: James Cook University Lines: 36