At 06:46 PM 30/08/2002 +0200, you wrote:
>Hi Slot!
>
>> I havent tested this function in all screens, only on screen 5 and 8.
>Which
>> screen are you using?
>
>Screen 2...
>
So that's why you having those problems, the functions in MSX Pad are for
MSX2...
>
>> {$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.
>
>Hey, this didn't work with me!!!
>I had problems with "repeat until keypressed"!!!
>Maybe I've missed something... mistake is mine!
>
Sorry I wrote the program from memory -- but "repeat until keypressed;"
shouldn't give you any kind of error since it is a procedure built inside
pascal itself.
The correct program follows:
{$i Msxdskio.inc }
{$i msx.inc }
begin
screen(5);
LoadGraphic('bkg.gfx',256,212,0,0,0,0,0,5);
Graphicprint('Hello world',10,10,15,0);
repeat until keypressed;
screen(0);
end.
>
>
>> Anything else, just ask =)
>
>Thank you Slot, you're very kind!!!
>
>And, are you writing MSX Pad tutorials?
>If yes, many of these kind of questions could be answered!
>
Yes, I will write some stuff in the future, but not right now since I'm
busy with other projects and also with real life 8/
>Thank you again,
>Enrico
>
Cheers,
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