-----Mensaje original-----
De: Maarten ter Huurne <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: domingo 21 de junio de 1998 3:50
Asunto: Re: Problems with assembler


>>I want to write data to the Pattern Table of Screen 2. Doing it from BASIC
>>with VPOKE and VPEEK works good, but in assembler not. I've write this
>>little program:

>Why don't you simply go through the loop NUMCHAR*8 times? You gain very
>little speed by doing the last VPOKE outside the loop. Besides, when your
>assembly programs become larger, the size of your code is as important as
>the speed, believe me.

Thanks! It was not a good coded example...


>I can't spot anything wrong. Maybe I am overlooking something, but...
>There is always a possibility you should be aware of: maybe the code is
>fine, but you are expecting to see the wrong thing. For example: did you
>set the values in the color table to such values that would enable you to
>see the changed characters? You might have seen them black on black...


Oh! It's true... what an "stupid" error! That was the problem, I were seeing
black on black!
The "problem" was that, when doing it from BASIC with VPOKEs, i see the
images white on blue, and I presumed that in assembler would be the same.
But now, writing the correct data on the colour table of screen 2 it works
fine.

Thanks!

+------------------------------------------------+
|            Toni Burguera Burguera              |
+------------------------------------------------+
| E-mail :    [EMAIL PROTECTED]               |
+------------------------------------------------+
|            9D - La Novena Dimensio             |
| http://www.geocities.com/Area51/Dimension/9812 |
+------------------------------------------------+



****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to