Difference between revisions of "OSWORD &B5"

From BeebWiki
Jump to: navigation, search
 
m (typo)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:OSWORD]]
 
[[Category:OSWORD]]
OSWORD &B2 (178) - Used by PRES BASIC Editor and Toolkit
+
OSWORD &B5 (181) - Used by PRES BASIC Editor and Toolkit
  
 
  OSWORD &B5 - PRES Advanced BASIC Editor
 
  OSWORD &B5 - PRES Advanced BASIC Editor

Latest revision as of 00:17, 21 October 2015

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