This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

ZAsm

Files for the ZAsm assembler

Table of Contents

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 - 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