move the image horizontally

All 680x0 related coding posts in this section please.

Moderators: exxos, simonsunnyboy, Mug UK, Zorro 2, Moderator Team

rockyone
Captain Atari
Captain Atari
Posts: 301
Joined: Thu Jan 20, 2011 8:47 pm
Contact:

move the image horizontally

Postby rockyone » Mon Dec 26, 2016 4:19 pm

What is the best technique to use to move the image horizontally one pixel without closing the menu. Of course, the hidden part must also be moved in its buffer

Image

User avatar
troed
Atari God
Atari God
Posts: 1181
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: move the image horizontally

Postby troed » Mon Dec 26, 2016 5:05 pm

rockyone wrote:What is the best technique to use to move the image horizontally one pixel without closing the menu. Of course, the hidden part must also be moved in its buffer


Don't know about _best_ but your first implementation would likely use ROXL instructions (per bitplane) before you get into optimizations.

/Troed

rockyone
Captain Atari
Captain Atari
Posts: 301
Joined: Thu Jan 20, 2011 8:47 pm
Contact:

Re: move the image horizontally

Postby rockyone » Sun Apr 16, 2017 7:24 pm

I finished moving the hidden part of the image in the right direction
For the three resolutions.

For the visible part, is Bitblit faster than Roxr and roxl?
To go left, I guess I have to start with the end of the line?

ThorstenOtto
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 126
Joined: Sun Aug 03, 2014 5:54 pm

Re: move the image horizontally

Postby ThorstenOtto » Mon Apr 17, 2017 3:07 am

rockyone wrote:I finished moving the hidden part of the image in the right direction
For the three resolutions.


Which 3? TT has at least 5, Falcon a few more, not to speak about graphics cards... Is it really neccessary to write new programs that only work in ST modes? I bet that only a few of the remaining enthusiasts will use such a confguration.

rockyone
Captain Atari
Captain Atari
Posts: 301
Joined: Thu Jan 20, 2011 8:47 pm
Contact:

Re: move the image horizontally

Postby rockyone » Mon Apr 17, 2017 9:42 am

Even if there are no users - including me - that does not bother me. :mrgreen:
The main thing is that I do it as a leisure. This does not include any other utilities

I finished this function this morning!


Social Media

     

Return to “680x0”

Who is online

Users browsing this forum: No registered users and 3 guests