22 February 2018, 06:05 | #1 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Underscanned screen?
Is it possible to get OpenScreenTags() to yield narrow screens? I'm trying to mirror a 2 bitplane interleaved screen 64 pixels across and use the rest of the width as display dma.
|
22 February 2018, 09:54 | #2 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
You can open screens with almost any size. If it refuses to use the dimensions you set, try using SA_DClip entry in your tag list.
Be awared, though, that : 1) Low res screens narrower than 64 pixels will not display properly (seems fixed in OS 3.1). 2) If you open a screen that's only one line high, the system will crash. 3) Vertically centered screens may show other screens behind unless exclusive flag is set, and this is V39+. But... i'm not sure what you mean by using the rest as display dma. |
22 February 2018, 10:31 | #3 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
I mean using the bordersprite bit to feed a screen into an AGA sprite to mirror its content. The bottom row will be set to all zeros so the sprite will end properly. The rest of the pixels horizontally will be regular display.
|
22 February 2018, 10:48 | #4 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Still not very clear for me i'm afraid.
You say you want a narrow screen but after you say the rest of the horizontal pixels will be displayed normally - so at the end it isn't a narrow screen... Please be more specific. What is the exact display you want to setup ? Where will the sprite, the 64-bit wide screen, and the normal display be ? And what is the ultimate goal ? |
22 February 2018, 10:52 | #5 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
I'm doing a vertical split screen. 64 pixels of sprite and 256 pixels of display stacked horizontally from each other.
|
22 February 2018, 17:07 | #6 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
So all you want is to add 64 pixels of sprite at the left of a 256 pixels wide screen ?
|
22 February 2018, 17:12 | #7 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
For now, yes. To build on it more, I would like to add sidescrolling to the 256 pixel screen.
|
22 February 2018, 18:05 | #8 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Then you can simply open a 256-pixel wide screen, then activate border sprites, and put your sprite at the left on the screen.
Or maybe this fails for some reason ? That said, scrolling Intuition screens isn't something really straightforward imo, so you might be better off by just writing your own copperlist. |
22 February 2018, 18:19 | #9 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
I will figure out the guru number first, then track the bug from there. It's an 80000003 unrecoverable alert.
EDIT It turns out the reason why the first instruction in my code was failing was that the standard libraries weren't opening in the startup code. I'm coding this in AmigaE and using OPT OSVERSION=39 at the top for Kickstart 3.0 as a minimum. I'll probably bump it up to 40 later on for the bugfixes in Kick3.1 but the fact that it failed suggests a bug in the compiler. That's disturbing. Last edited by Samurai_Crow; 22 February 2018 at 19:11. |
07 March 2018, 10:13 | #10 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Update: I've gotten it working now. There were a couple of problems with my code but OpenScreenTags will indeed open a 256x240 screen. Soon I'll have to release a demo of the underscanned screen using a 64-pixel wide HUD using an AGA sprite.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smooth H-scrolling platform game in AMOS, screen copy vs screen offset? | Damiga | Coders. AMOS | 32 | 24 October 2023 19:00 |
Full-screen mode black screen with Default refresh rate | mark_k | support.WinUAE | 4 | 16 February 2016 20:29 |
Amiga 600 not booting... Yellow screen, and Red screen when turning PSU off | jbenam | support.Hardware | 34 | 20 March 2011 22:10 |
getting screen modes working full screen | damo | support.WinUAE | 1 | 06 February 2009 22:12 |
Broken Amiga Screen 15khz screen er 15pin? | redblade | support.Hardware | 2 | 10 October 2004 01:00 |
|
|