Acorn Arcade forums: Programming: Screensave from Viewfinder - HELP !
|
Screensave from Viewfinder - HELP ! |
|
martin (09:32 15/6/2004) rich (12:12 15/6/2004) martin (12:41 16/6/2004)
|
|
martin hansen |
Message #55628, posted by martin at 09:32, 15/6/2004 |
Member
Posts: 17
|
Saveing a screen as a sprite file from a RiscPC has always been pretty easy. For example; *screensave "mypic Alas, with a viewfinder installed this no longer works. I've successfully used the viewfinder system variable to tell my program if viewfinder is installed and so branch around the screensave instruction (so it does not crash the program if a viewfinder is installed and active ) but I now need some code that will save the screen. I know it can be done as David Pillings "Snapper" works with viewfinder. Can anyone help ? |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #55649, posted by rich at 12:12, 15/6/2004, in reply to message #55628 |
Dictator for life
Posts: 6828
|
Not sure if this helps, but I had a a similar problem taking some ArthurOS screenshots. Don't have the code on me for fairly obvious reasons, but I think it was just sprite ops - create a large enough sprite area (or a dimensioned array if you're not using the sprite pool), select the whole screen area (which may require reading the current screen size), make that area a sprite, and then save that sprite to disk.
Obviously under Arthur I didn't need to worry about new format sprites and running out of memory, it was only like Mode 12 or something. ________ Cheers, Rich.
|
|
[ Log in to reply ] |
|
martin hansen |
Message #55685, posted by martin at 12:41, 16/6/2004, in reply to message #55649 |
Member
Posts: 17
|
Thanks for that Richard - It sounds like quite a lot of work but I will go down that route if no-one can suggest anything better. I'm wrestling with draw file formats at the moment: initially difficalt but now just very tedious - I guess I'll have to get to grips with the sprite file format next. Thanks, again - Viewfinder is a great product but most folks seem to now want to move on. |
|
[ Log in to reply ] |
|
|
Acorn Arcade forums: Programming: Screensave from Viewfinder - HELP ! |