Re: A89: New To 89 Assembly -3 Questions-


[Prev][Next][Index][Thread]

Re: A89: New To 89 Assembly -3 Questions-




list of romcalls comes in the documentation of the shells..
the second plane is no fixed address, you allocate memory for it. the address
for the allocaded memory is for doorsos putted in graphlib::plane1
(the first plane is in graphlib::plane0)

and.. to ldir on the 68k you kan use move.b (a0)+,(a1)+ , move.w (a0)+,(a1)+ or
move.l (a0)+,(a1)+ to move a byte, word, or longword respectivly and then put
this in a small loop:

	move.w  99,d0
loop:
	move.w (a0)+,(a1)+
	dbra	d0,loop

this moves _100_ words from (a0) to (a1)

//Olle

Timothy Buckingham wrote:
> 
> Ok, I'm new to 68k assembly but not to z80. Alot of you prolly know me.
> I'm wondering, where can I find a list of ROM CAlls?
> Also, when writing to the second plane for greyscale, what is the
> address?
> Finnaly, what is the 68k equivalent to the z80's ldir?
> 
> Thanx.
> 
> -=> InFuZeD <=-


Follow-Ups: References: