A89: Re: Folder Table


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

A89: Re: Folder Table



Try this:
 

move.w #doorsos::FolderListHandle,d0
doorsos::DEREF d0,a0
addq.l #4,a0
move.w #4,-(a7) ;color
move.l a0,-(a7) ;adress of the string
move.w #0,-(a7) ;y coord
move.w #0,-(a7) ;x coord
jsr doorsos::DrawStr
lea 10(a7),a7

Since the folder tables are diffrent on all the ROMS you should use a ROM call. Other than that its all good!

----- Original Message -----
From: Cyril Pascal
To: Liste A89
Sent: Wednesday, January 05, 2000 7:05 AM
Subject: A89: Folder Table

Could someone help me: I want to print on my screen the first folder's name on ROM 2.03...
I tried this:

move.l #$B,d0
doorsos::DEREF d0,a0
addq.l #4,a0

move.w #4,-(a7) ;color
move.l a0,-(a7) ;adress of the string
move.w #0,-(a7) ;y coord
move.w #0,-(a7) ;x coord
jsr doorsos::DrawStr
lea 10(a7),a7

Thanks!


References: