At 01:12 AM 30/08/2002 +0200, you wrote:
>Hi,
>
>in some MSX Pad include file, I don't know how to use some procedures...
>
>For e., here's some questions:
>
>1) if I want to write in a graphical screen, how can I use the correct
>procedure?
>
GraphicPrint('test string', X,Y, color,LogOp);
X: X coordinate on screen
Y: Y coordinate on screen
Color: color =)
>2) what does it mean "LogOp" parameter?
>
LopOP = Logical Operation; 0 = normal copy 8 = TPset.. try different
numbers for different effects
>3) why (n.b.: I've tried fMSX and RuMSX) when I use LoadGraphic procedure,
>screen sometimes "stay there" and no out, and sometimes return to
>character screen?
>
I really dont know - I never got any type of loading error in Breakfree;
but remember the graphic to load should be the same thing as a screen saved
with the Basic COPY command, but without the 4 initial bytes (which
describe the width and height of the picture), also the last parameter of
the function should correctly indicate which screen are you using (5,8, etc).
I havent tested this function in all screens, only on screen 5 and 8. Which
screen are you using?
>Could you tell me some little pieces of code that teach me to use
>combination of these procedures?
>
{$i msx.inc }
begin
screen(5);
LoadGraphic('bkg.gfx',256,212,0,0,0,0,0,0,5);
Graphicprint('Hello world',10,10,15,0);
repeat until keypressed;
screen(0);
end.
>Thank you,
>Enrico Barbisan
>http://space.tin.it/computer/enribarb
>
Anything else, just ask =)
SLotman
MSX Files ( http://www.msxfiles.cjb.net )
Megaram Project ( http://megaram.msxfiles.cjb.net )
_______________________________________________
MSX mailing list ([EMAIL PROTECTED])
Info page: http://lists.stack.nl/mailman/listinfo/msx