English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 25 February 2014, 15:04   #1
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 478
Horizontal Sprite Position Confused!?

Just playing with some sprites at the moment and totally confused over the horizontal position. The HRM says the sprite can be any position on the screen horizontally, but there is only a byte value for this. How can this be if the screen is 320 pixels wide + window start position?

Am I missing something obvious here?
h0ffman is offline  
Old 25 February 2014, 16:29   #2
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,508
Check bit 0 in SPRxCTL.
StingRay is online now  
Old 25 February 2014, 16:48   #3
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 478
Jesus! Thats well hidden! So theres actually 9 bits for position with the LSB being set on the second word. FFS!
h0ffman is offline  
Old 25 February 2014, 17:27   #4
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 478
yep, that fixed it
h0ffman is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unstable horizontal picture position on 1084S monitor Photon support.Hardware 5 15 April 2011 03:25
M1438S Horizontal Position ancalimon support.Hardware 11 16 December 2009 18:19
Switching from 1.3 to 2.04!!! Im confused! Galatran New to Emulation or Amiga scene 18 08 October 2008 13:30
Saving position ? Another World support.Games 1 28 April 2007 00:32
Confused ??????? CPC464 Retrogaming General Discussion 5 24 February 2002 19:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.07215 seconds with 13 queries