09 May 2018, 00:49 | #1 |
Registered User
Join Date: Mar 2018
Location: Prague
Posts: 35
|
320x256 on OCS?
I can't figure out how to setup 320x256 display resolution. I currently have 320x200 running but how should I modify it to show 320x256 pixels?
BTW: I'm targeting my code for OCS. Is the 256 Y-resolution even possible on OCS? EDIT 1: Actually I think I can see 211 vertical pixels on screen at the moment :-/ EDIT 2: OK, I get 216 Y pixels if I do this: DIWSTRT = 0x2781 DIWSTOP = 0xFFD1 Everywhere I've read that I should do this: DIWSTRT = 0x2C81 DIWSTOP = 0xFFD1 Is there a reason I should always go with the latter instead of the first one? Last edited by Crank; 09 May 2018 at 00:58. |
09 May 2018, 07:18 | #2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
09 May 2018, 09:25 | #3 |
Registered User
Join Date: Mar 2018
Location: Prague
Posts: 35
|
Now it works, just by changing one line of code
And by reading carefully the Hardware Reference Manual page about DIWSTRT/STOP I now see that both registers assume that there are some extra bits in play which make the values written in them different. I.e. in DIWSTOP the V8 is automatically different than V7, but in DIWSTRT V8 is always 0. My ignorance about these details explains why I couldn't figure out how to use these registers properly. |
19 May 2018, 18:47 | #4 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trolls OCS | absence | project.SPS (was CAPS) | 41 | 13 November 2016 12:17 |
Saving a screenshot @ 320x256 ? | Mousey | support.FS-UAE | 3 | 30 January 2014 23:37 |
320x256 crashes WinUAE | bLAZER | support.WinUAE | 23 | 06 September 2007 19:20 |
Emerald Mine full-screen 320x256 patch | mark_k | support.Games | 2 | 09 May 2007 21:03 |
320x256 resolution | Kodoichi | support.WinUAE | 2 | 17 June 2006 12:21 |
|
|