include
Table of Contents
1 - BeebASM
Files for the BeebASM assembler
1.1 - api
Generated file for beebasm
; ***************************************************************************
; API for BBC Micro Programming Guide
; Notes about the machines, operating system & hardware
; Author: Peter Mount, Area51.dev & Contributors
;
; URL: https://area51.dev/bbc/bbcMos/
;
; Modified: Fri, 27 May 2022 10:37:42 UTC
;
; Current version: https://area51.dev/bbc/bbcMos/reference/include/beebasm/api.asm
; ***************************************************************************
OSBYTE = &FFF4 ; Misc OS functions specified by accumulator
OSCLI = &FFF7 ; Pass string to the CLI
OSEVEN = &FFBF ; Generate an event
OSRDCH = &FFE0 ; Read character from current input stream
OSRDRM = &FFB9 ; Read byte from paged ROM
OSWORD = &FFF1 ; OS call specified by contents of A and parameter block
OSWRCH = &FFEE ; Write character to screen or output stream
OSNEWL = &FFE7 ; Write a newline
OSASCI = &FFE3 ; Write character, call OSNEWL if A=&0D
1.2 - headers
Generated file for beebasm
; ***************************************************************************
; Headers for BBC Micro Programming Guide
; Notes about the machines, operating system & hardware
; Author: Peter Mount, Area51.dev & Contributors
;
; URL: https://area51.dev/bbc/bbcMos/
;
; Modified: Fri, 27 May 2022 10:37:42 UTC
;
; Current version: https://area51.dev/bbc/bbcMos/reference/include/beebasm/headers.asm
; ***************************************************************************
USERV = &200 ; User Vector
BRKV = &202 ; BRK Vector
IRQ1V = &204 ; Interrupt request Vector 1
IRQ2V = &206 ; Interrupt request Vector 2
CLIV = &208 ; OSCLI Vector
BYTEV = &20A ; OSBYTE Vector
WORDV = &20C ; OSWORD Vector
WRCHV = &20E ; OSWRCH Vector
RDCHV = &210 ; OSRDCH Vector
FILEV = &212 ; OSFILE Vector
ARGSV = &214 ; OSARGS Vector
BGETV = &216 ; OSBGET Vector
BPUTV = &218 ; OSBPUT Vector
GBPBV = &21A ; OSGBPB Vector
FINDV = &21C ; OSFIND Vector
FSCV = &21E ; File system control entry vector
EVNTV = &220 ; Event interrupt vector
UPTV = &222 ; User print routine vector
NETV = &224 ; Used by ECONET to take control of computer
VDUV = &226 ; Unrecognised VDU23 & PLOT commands
KEYV = &228 ; Full keyboard access
INSV = &22A ; Insert into buffer vector
REMV = &22C ; Remove from buffer vector
CNPV = &22E ; Count/purge buffer vector
IND1V = &230 ; Spare Vector
IND2V = &232 ; Spare Vector
IND3V = &234 ; Spare Vector
2 - ZAsm
Files for the ZAsm assembler
2.1 - api
Generated file for zasm
; ***************************************************************************
; API for BBC Micro Programming Guide
; Notes about the machines, operating system & hardware
; Author: Peter Mount, Area51.dev & Contributors
;
; URL: https://area51.dev/bbc/bbcMos/
;
; Modified: Fri, 27 May 2022 10:37:42 UTC
;
; Current version: https://area51.dev/bbc/bbcMos/reference/include/zasm/api.z80
; ***************************************************************************
OSBYTE equ &FFF4 ; Misc OS functions specified by accumulator
OSCLI equ &FFF7 ; Pass string to the CLI
OSEVEN equ &FFBF ; Generate an event
OSRDCH equ &FFE0 ; Read character from current input stream
OSRDRM equ &FFB9 ; Read byte from paged ROM
OSWORD equ &FFF1 ; OS call specified by contents of A and parameter block
OSWRCH equ &FFEE ; Write character to screen or output stream
OSNEWL equ &FFE7 ; Write a newline
OSASCI equ &FFE3 ; Write character, call OSNEWL if A=&0D
2.2 - headers
Generated file for zasm
; ***************************************************************************
; Headers for BBC Micro Programming Guide
; Notes about the machines, operating system & hardware
; Author: Peter Mount, Area51.dev & Contributors
;
; URL: https://area51.dev/bbc/bbcMos/
;
; Modified: Fri, 27 May 2022 10:37:42 UTC
;
; Current version: https://area51.dev/bbc/bbcMos/reference/include/zasm/headers.z80
; ***************************************************************************
USERV equ &200 ; User Vector
BRKV equ &202 ; BRK Vector
IRQ1V equ &204 ; Interrupt request Vector 1
IRQ2V equ &206 ; Interrupt request Vector 2
CLIV equ &208 ; OSCLI Vector
BYTEV equ &20A ; OSBYTE Vector
WORDV equ &20C ; OSWORD Vector
WRCHV equ &20E ; OSWRCH Vector
RDCHV equ &210 ; OSRDCH Vector
FILEV equ &212 ; OSFILE Vector
ARGSV equ &214 ; OSARGS Vector
BGETV equ &216 ; OSBGET Vector
BPUTV equ &218 ; OSBPUT Vector
GBPBV equ &21A ; OSGBPB Vector
FINDV equ &21C ; OSFIND Vector
FSCV equ &21E ; File system control entry vector
EVNTV equ &220 ; Event interrupt vector
UPTV equ &222 ; User print routine vector
NETV equ &224 ; Used by ECONET to take control of computer
VDUV equ &226 ; Unrecognised VDU23 & PLOT commands
KEYV equ &228 ; Full keyboard access
INSV equ &22A ; Insert into buffer vector
REMV equ &22C ; Remove from buffer vector
CNPV equ &22E ; Count/purge buffer vector
IND1V equ &230 ; Spare Vector
IND2V equ &232 ; Spare Vector
IND3V equ &234 ; Spare Vector