16 January 2008, 16:26 | #1 |
TDI
Join Date: Feb 2007
Location: Blitter Town
Posts: 124
|
Attached sprite coming out 8 pixels wide (UAE)
Does anyone have any ideas as to why a data structure for a 16 pixel wide sprite would appear on screen, 8 pixels across? (This is in UAE).
I'm trying to create a 32x32pix, 8 colour sprite using 2 sets of 16x32 attached sprites (so, four sprites total). In a stripped out piece of code the data structure tests out fine and the full 32x32 sprite appears with the correct palette. All good. In the game I'm working on, the same data structure produces 2 8x32pix sprites. It's literally only drawing every other pixel, with no spaces. And even more strangely, if I unattach the sprites, even the single sprite data can be the wrong width. This only appears to happen at certain positions, occasionally I can get the full width (unattached) sprites to appear. Just wondering if there's anything obvious that could cause this? |
16 January 2008, 16:44 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Hires sprites? (Pre-1.4.5 WinUAE hires sprites would appear as half-resolution doubled lores sprites over lores bitplane)
|
16 January 2008, 17:02 | #3 |
TDI
Join Date: Feb 2007
Location: Blitter Town
Posts: 124
|
Nah, everything's low res.
Edit: hang on, lemme update to the latest UAE and double check. Last edited by korruptor; 16 January 2008 at 17:10. |
16 January 2008, 17:17 | #4 |
TDI
Join Date: Feb 2007
Location: Blitter Town
Posts: 124
|
Ah, ok, 1.4.5 is giving me different results. They are coming out hi-res.
I've no idea how I've made my sprites hi-res, but thanks, that gives me something else to look at |
16 January 2008, 17:20 | #5 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Quote:
Probably bad startup-code that forgets to disable AGA features properly. |
|
16 January 2008, 17:26 | #6 |
TDI
Join Date: Feb 2007
Location: Blitter Town
Posts: 124
|
It's magically sorted itself now and is displaying them low res, so you're probably right, I'll need to swot up more on the startup stuff.
Thanks Toni, I've been staring at this all day. |
16 January 2008, 17:41 | #7 |
TDI
Join Date: Feb 2007
Location: Blitter Town
Posts: 124
|
Edit: yeah, sussed it. Wasn't setting bplcon3. Thanks again!
|
16 January 2008, 22:20 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
|
17 January 2008, 09:04 | #9 |
Registered User
Join Date: Dec 2007
Location: Dark Kingdom
Posts: 213
|
yes, but on AGA + OS 3.0, the 2xLoadView(NULL) set the display in PAL with 0 bitplanes, but don't reset BPLCON3 and BPLCON4 to the default OCS values.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga Coverdisks - How were they attached? | bill-rhit | Nostalgia & memories | 23 | 13 February 2013 17:08 |
Minimising attached picture size | mark_k | project.EAB | 1 | 03 February 2013 21:12 |
Identify attached module | absence | request.Modules | 7 | 12 August 2012 23:45 |
WinUAE 2.4.1 does not boot with attached HD anymore | Jasmin68k | support.WinUAE | 9 | 18 June 2012 09:31 |
hd wont boot with df0 attached | terexuk | support.Hardware | 5 | 30 March 2011 07:48 |
|
|