Welcome, Guest. Please login or register.

Author Topic: loadwb command  (Read 1494 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline pjhutchTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 452
  • Country: england
  • Gender: Male
  • Amiga user and developer
    • Show only replies by pjhutch
    • http://www.pjhutchison.org
loadwb command
« 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.
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: loadwb command
« Reply #1 on: February 26, 2005, 11:44:33 PM »
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.
On schedule, and suing
 

Offline pjhutchTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 452
  • Country: england
  • Gender: Male
  • Amiga user and developer
    • Show only replies by pjhutch
    • http://www.pjhutchison.org
Re: loadwb command
« Reply #2 on: March 01, 2005, 11:36:41 AM »
Thanks
I have never seen any references to this function in the RKRM's or NDKs. Where did you get the information from?
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: loadwb command
« Reply #3 on: March 02, 2005, 12:46:15 AM »
Quote

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.. :-?
On schedule, and suing