Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

441 Machine code entry points The BBC Microcomputer is unusual in a number of respects, not least because of the care taken to ensure that everything that can be done by programs written in the input/output processor (the BBC Microcomputer) can also be done in the second processor which is on the far side of the Tube . If a piece of machine code alters a particular memory location that controls the screen display directly, then that same piece of machine code will not work in the second processor because the screen will not be affected by any memory location in the second processor.

It is vital that programmers avoid reading and writing to specific memory locations such as the screen memory, zero page locations used by BASIC, and memory mapped input/output devices. System calls are provided to enable you to access all these important locations and use of these system calls will ensure that your programs interact successfully with the machine. Don’t feel that we are trying to hide anything from you – on the contrary we are offering you access to all the I/O routines that BASIC uses! Cultivate the habit of using system calls and then you will not need to rewrite your code when you move it to the second processor.