Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: pjhutch on February 26, 2005, 12:02:11 PM
-
Does anyone know how LoadWB command works? I have seen source for GoWB but thats for WB2.0, what about WB1.3?
Theres not much in the NDKs about it.
-
AFAIK, it simply opens workbench.library, and calls StartWorkbench() (LVO @ -42)
Not sure about it`s paramaters, as it`s a private function, but I think it`s d0 and a0.
a0 appears to be the result of a FindTask(0) from LoadWB, dunno about d0 though.
-
Thanks
I have never seen any references to this function in the RKRM's or NDKs. Where did you get the information from?
-
pjhutch wrote:
Where did you get the information from?
Some of it was looking at the fd file from AROS, the rest was from disassembling it and having a quick look.
I`ll have to have a proper look, but I think it also takes an arg in d1 as well, but the fd from AROS didn`t mention that.. :-?