>
>(The line is from (0,0) to (511, 211))
>
>ld iy,(0faf7h)
>ld ix,085h
>call 01ch
>
>There ara some things I don't understand:
>* the call 01ch is the way to call a routine in another slot.

Right ! He is calling the MSX2- sub rom, which contains MSX2 line drawing
routine !

>The
>specification of this routine says that the slot may be specified in the 8
>order bits of the iy register... why the iy register has been loaded with
>the content of the addres 0faf7??

0FF7 is MSX2 system variable (EXBRSA) containing the MSX2 subrom slot id.

>* Is the 085h the routine to draw a line? It isn't specified in the
>Technical Handbook.

Yes,  it is ! 

>If it is, what are its parameters?
>* Why the calls are maked specifiing the number of the slot? Is to allow the
>call of the routine with different memory configurations? (from DOS or
>BASIC?)

Yes ! , but clling from dos is rther tricky ! 


****
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