A89: Re: Re: Folder Table


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

A89: Re: Re: Folder Table



It works. I didn't know this RO_CALL. I'm too lasy to read the whole doorsos.h document ....
----------
De : Andrew Magness <AndrewM@ev1.net>
A : assembly-89@lists.ticalc.org
Objet : A89: Re: Folder Table
Date : mercredi 5 janvier 2000 21:30

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 <mailto:cygoune@libertysurf.fr> To: Liste A89 <mailto:assembly-89@lists.ticalc.org> 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!