25 February 2017, 23:38 | #1 |
Registered User
Join Date: Feb 2017
Location: Oslo
Posts: 90
|
Screen width 1024 doesn't work
I'm having trouble setting up screens of width 1024, although the manual says this should be possible. Setting the width or height parameter of a screen open instruction to 1024 results in an illegal screen parameter error; anything less than 1024 works though, but the screen size shrinks accordingly. I need all 1024 pixels however, a trick to get it work would make my day
Last edited by adrazar; 25 February 2017 at 23:44. |
26 February 2017, 20:33 | #2 |
Registered User
Join Date: Feb 2017
Location: Oslo
Posts: 90
|
I might add that I'm using AMOS Pro v2.0 on WinUAE.
Does anyone else get the same error message if writing, say Screen Open 0,1024,200,8,Lowres ? |
26 February 2017, 21:22 | #3 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
|
|
26 February 2017, 21:24 | #4 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Actually it is a superbitmap scroller, I would imagine.
@adrazar How much Chip RAM does your system have? |
26 February 2017, 21:33 | #5 |
Registered User
Join Date: Feb 2017
Location: Oslo
Posts: 90
|
The chip ram is set to 2 MB. I tried adjusting it up to 8 MB, but it didn't do any difference.
|
26 February 2017, 21:45 | #6 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
The screen should be about 200k so that's not the problem. This may be a long-standing problem with AmosPro.
If you want to scroll one pixel at a time, there's another bug that prevented the horizontal scroll offset from using a value of 15 so every 16th pixel of scrolling will be wrong. There should be a bug-fix in a post at UltimateAmiga.co.uk but I don't know if that would fix the other problem with the maximum width. |
27 February 2017, 10:54 | #7 | |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,410
|
I did think it might be connected to Blitter limitations in OCS, but then you'd only get screens up to 1008 pixels wide so that's probably not it (unless AMOS Pro automatically rounds down screen sizes to the nearest 16 pixels horizontally - which is very possible).
Quote:
|
|
27 February 2017, 11:04 | #8 | |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Whats the largest screen size Blitz can open ECS?
Quote:
|
|
27 February 2017, 13:36 | #9 |
Unregistered User
Join Date: Nov 2005
Location: Tasmania
Age: 42
Posts: 893
|
The concept of "screens" does not really translate from AMOS to Blitz. Therefore the meaning of your question is a bit unclear.
Do you mean "what is the largest Bitmap object that can be initialised?" Well I'm pretty sure that Acid software didn't impose any arbitrary limitations on bitmap size, so therefore bitmap size would be limited only by the amount of free chip memory in the system, and the number of bitplanes of the bitmap in question. Or do you mean "What is the highest-resolution screen mode?" Well if you're using AMIGA mode then you should have no problems opening a super hi-res laced screen with full graphics overscan, albeit with an extremely limited colour palette. But if you're using BLITZ mode then while it's technically possible to access any features the Amiga's chipset has to offer, including Super hi-res and interlaced modes these features may not have any easy way to access or enable them. |
27 February 2017, 15:01 | #10 | ||
Registered User
Join Date: Feb 2017
Location: Oslo
Posts: 90
|
Quote:
Quote:
Your reference to the hardware manual about the blitter is a bit of bad news for me, as I was planning to make a couple of huge bobs stretching across the entire screen... While this could serve to explain why a screen width of 1024 is impossible, it's still a bit puzzling why it won't accept 1024 in the heigth parameter either. |
||
27 February 2017, 15:05 | #11 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
The only features of ECS that are supported in AmosPro is Chip RAM more than 512k. Full ECS support is planned for AmosPro 3.
|
27 February 2017, 15:23 | #12 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Screen open is just something like iirc Bitmap 0,320,200,4 in Blitz its all pretty much the same.
But as we can see from roondar's post OCS is limited to 1008,1024... Try 1023 for height |
27 February 2017, 15:41 | #13 | |
Unregistered User
Join Date: Nov 2005
Location: Tasmania
Age: 42
Posts: 893
|
Quote:
In Blitz "Screen" refers to an AmigaDOS screen, and if that is what you're talking about then it is possible to turn the screen into a bitmap object so you can draw to it. Code:
Screen 0,0,0,320,200,2,0," 1000 RANDOM PLOTSM ,2 ScreensBitMap 0,0 BitMapOutput 0 Last edited by Anakirob; 28 February 2017 at 00:58. Reason: Correct terminology for screens is AmigaDOS not Workbench. |
|
27 February 2017, 16:35 | #14 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
Keep in mind that the bitmap image can be bigger than the display on an Amiga if you want to scroll around it.
|
27 February 2017, 16:43 | #15 |
Registered User
Join Date: Feb 2017
Location: Oslo
Posts: 90
|
The heights appears to be rounded down to nearest multiple of 8 although the Screen Height instruction returns whatever number was given to Screen Open (unless between 1009 and 1023, these will be reduced to 1008). Anyway, the height restriction is not an issue for my application.
It seems I might have to think up another way of doing things after all then. Thanks for your assistance! Please do post if anyone finds a getaround though. |
27 February 2017, 23:08 | #16 |
Registered User
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
|
1023 works here tho (maybe start from zero) dunno why tho?
1023+0= 1024 however that doesn't seem to be the case for other resolutions.... or is it? |
31 March 2017, 17:52 | #17 |
Registered User
Join Date: Mar 2017
Location: DFO:
Posts: 15
|
Is? Correct me if I wrong, but isn't europress now defunct and Francois too busy working on Clickteam Fusion 3 to care about AMOS? Not like the sources were ever released and binary patches can ever go so far.
|
31 March 2017, 17:54 | #18 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
AmosPro is open source now. Also, François works on Friend Up now he left ClickTeam.
|
31 March 2017, 18:39 | #19 |
Registered User
Join Date: Mar 2017
Location: DFO:
Posts: 15
|
He did? I see.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
0-9 filter doesn't work well | Another World | HOL data problems | 14 | 01 December 2008 15:48 |
Entity doesn't work | Another World | support.Games | 10 | 14 May 2007 11:49 |
Flashback doesn't work ???!!!! | Another World | support.Games | 8 | 27 April 2007 21:32 |
A500 doesn't work | Jan | support.Hardware | 6 | 07 May 2003 15:48 |
WinFellow doesn't work | Ian | support.WinFellow | 5 | 03 May 2003 22:04 |
|
|