OSBPUT - Write (put) a byte to open file

 6502  Z80  6809  PDP11  80x86  32016  ARM On entry: On exit:
AAAR0ALR1R0byte to write preserved
YHYR1AHR2R1file handle  preserved
An error is generated is the object is a directory or doesn't have write access. The EOF-error-flag is cleared.

Calling from BBC BASIC

  • BPUT#ch,b%  
  • calls OSBPUT

    Special handles

    Some systems allow BPUT#0 to write to the character input stream via OSWRCH.

    Entry points

  • BBC BASIC Entry Address: 
  • &FFD4
  • 6502 Entry Address:  
  • &FFD4, vectors via &0218
  • Z80 Entry Address:  
  • &FFD4, vectors via &FFD5
  • 6809 Entry Address:  
  • &FFD4, vectors via &FFD5
  • 80x86 Entry Address:  
  • INT &42, vectors via 0000:0108
  • 32000 Entry Address:  
  • SVC &0E
  • PDP-11 Entry Address:  
  • EMT 10, vector &0A
  • ARM Entry Address:  
  • SWI "OS_BPut", vector &0B

    This page last updated 11-Aug-2006