A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Some help with OS friendly screens and overscan needed :(

 

Author Message
Arno Nuem
Member
#1 - Posted: 27 Oct 2007 01:06
Reply Quote
Hello!

I try to make a neat game for AGA Amigas using the OS functions and encountered a (minor) problem:

I tried to make the display NTSC friendly, too, and need some more lines to display the full graphics. It is no problem to open a max overscan screen, BUT this one (without using the overscan prefs of the workbench) wonīt fit on a NTSC tv, some portion of the display will reach over upper bounds of the possible display.

(I should mention that the game should start from disk right after switching the machine on, so the Workbench wouldnīt be loaded at this time -> no overscan prefs loaded, too)

I searched in the RKMs for some hint on how IPrefs sets the preferences overscan values but canīt find anything about it (besides the information about the prefs file format, which isnīt of much help for this purpose). I only stumbled across the ViewPort structure and the associated copperlist, which could be changed and made up with RethinkDisplay() and related functions. Nonetheless, it didnīt give me a clue on how to change the display start, scanlines and end :(

Anybody here who is able to help me with this? Would be appretiated!
kasie
Member
#2 - Posted: 27 Oct 2007 10:05
Reply Quote
try on http://utilitybase.com, i think you will have help from it. (i am got all answers on all my questions regarding any amiga coding, which i try to put here with no lack).
doom
Member
#3 - Posted: 29 Oct 2007 22:42
Reply Quote
I don't really understand the problem. Do you want a screen larger than max overscan?
Arno Nuem
Member
#4 - Posted: 4 Nov 2007 05:04
Reply Quote
I solved it, finally. Somebody should have written down to the RKMs, that the display clip region, if chosen >OSCAN_MAX, may lead to very unexpected results ;) So, I use OSCAN_MAX as max value now (lost some lines nonetheless) for NTSC lowres by giving the appropriate SA_DClip attribute to OpenScreenTags().

Nonetheless, thank you very much.

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0