log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Git client updated to 0.07 (News:1)
- Archive Edition 27:1 reviewed (News:)
- Rougol April 2024 meeting on monday is Anniversary time (News:1)
- WROCC April 2024 meeting o...changes to our phone lines (News:1)
- April developer 'fireside' chat is on saturday night (News:)
- March 2024 News Summary (News:4)
- WROCC Newsletter Volume 41:11 reviewed (News:)
- WROCC March 2024 meeting o... Hughes and Peter Richmond (News:1)
- Rougol March 2024 meeting on monday with Bernard Boase (News:)
- Drag'n'Drop 13i2 edition reviewed (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Programming: 32K plotter
 
  32K plotter
  andreww (15:04 27/3/2002)
  Phlamethrower (22:04 27/3/2002)
    andreww (09:44 28/3/2002)
      andreww (09:49 29/3/2002)
 
Andrew Message #86229, posted by andreww at 15:04, 27/3/2002
AA refugee
Posts: 555
I'm plotting a 32K sprite using a routine I've used before but I'm getting a double image effect (the sprite is appearing twice: once where it should be on the rhs and once in the middle of the x-axis of the screen)
i can't see a problem with the code and I'm using a mode selector block to get the 640x480 32K mode which also works with the original plotter program.

What could be wrong?
regards

Andrew

  ^[ Log in to reply ]
 
Jeffrey Lee Message #86230, posted by Phlamethrower at 22:04, 27/3/2002, in reply to message #86229
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15100
The most obvious problem would be adding on 1 times the screen width instead of 2 times at the end of each row... Try fiddling round with drawing the sprite at the mouse coordinates to see if you can work out how the two images are related.

Either that or if it is the full image being duplicated (i.e. not squished to half height), then it might be a branching problem in the code causing it to draw twice. Check that all branches go to the right place, and that all registers are stored and loaded as they should be.

  ^[ Log in to reply ]
 
Andrew Message #86231, posted by andreww at 09:44, 28/3/2002, in reply to message #86230
AA refugee
Posts: 555
Yes, I think you've got it Jeffrey! I don't know why it worked with the original 32K plotter program though.
I'll check this and get back.
Thanks again.


Andrew

  ^[ Log in to reply ]
 
Andrew Message #86232, posted by andreww at 09:49, 29/3/2002, in reply to message #86231
AA refugee
Posts: 555
Yes that's right, forgot to add 1280 at the end of each scanline plot!
  ^[ Log in to reply ]
 

The Icon Bar: Programming: 32K plotter