OSWORD &B5

From BeebWiki
Jump to: navigation, search

OSWORD &B5 (181) - Used by PRES BASIC Editor and Toolkit

OSWORD &B5 - PRES Advanced BASIC Editor
---------------------------------------
On entry,
XY+0   Output control block length
XY+1   Returned control block length
XY+2   Command 0, 1, 2
XY+3   "BASIC Editor & Toolkit", &00
XY+26  Command string,  terminated with &00

Commands:
&00 - Returns available OSWORD &B5 commands at XY+2
XY+2  &02,"Load",&00,"Append",&00

&01 - Enters BASIC Editor specifying filename to Load
      Inserts "L ",command string, <cr> then executes '*BE'

&02 - Enters BASIC Editor specifying filename to Append
      Inserts "A ",command string, <cr> then executes '*BE'

See Also