Hi!
I'm recently interested in MSX2 assembler programming, and I'm reading some
examples. Now I'm reading an "Split Screen" example writed by Trunks. In the
beginning of the program, it draws a line, and the code is like this:
...
ld hl, 0fcb3h
ld (hl),0
inc hl
ld (hl),0
inc hl
ld (hl),0
inc hl
ld (hl),0
ld de,211
ld bc,511
(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. 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??
* Is the 085h the routine to draw a line? It isn't specified in the
Technical Handbook. 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?)
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/)
****