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

452 On exit the eight bit byte will be stored in XY+4. A further feature is available on machines fitted with OS 2.00. The feature enables an additional 12K of memory to be accessed, which exists as sideways RAM at locations &8000-&AFFF. It is accessed by ROM IDs 128-255 (ie any value with the top bit set), and hence will not receive service calls. Furthermore, the MOS will not find it to contain a language. Bytes may be read from the RAM with the top two bytes of the memory block set to &FFFE. Note: references to this 12K of memory which are made in this manual are not necessarily applicable to other Acorn products .

OSWORD call with A=6 Write to I/O processor memory As pointed out previously, programs that are to work through the Tube must not attempt to access memory locations in the I/O processor directly. This call provides easy access to locations in the BBC Microcomputer wherever the user’s program happens to be. On entry X and Y point to a block of memory initialised as follows: XY LSB of address to be changed XY+1 XY+2 XY+3 MSB of address to be changed XY+4 Byte to be entered at address given Bytes may be written to the sideways RAM described under OSWORD with A=5 by setting the top two bytes of the memory block to &FFFE.

Note that shadow RAM locations &A000 to &AFFF should only be used for user supplied ‘VDU driver’ machine code programs. When shadow mode is on, the MOS VDU drivers will access shadow display RAM, not ‘normal’ display RAM (ie &3000 to &7FFF). Any access to &3000 – &7FFF by machine code running in &A000 – &AFFF will automatically be diverted to shadow display RAM. This facility gives faster VDU access when in shadow mode. OSWORD call with A=7 Make a sound This call can be used to generate a sound. The eight bytes pointed to by locations XY to XY+7 are treated as four two-byte values. These four values determine the sound effect. See the keyword SOUND for a detailed description.