; ; insert.sh ; ; Insert zero-filled chunks of data ; ; © 1994-1998 Straylight ; ;----- Licensing note ------------------------------------------------------- ; ; This file is part of Straylight's BASIC Assembler Supplement. ; ; BAS is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2, or (at your option) ; any later version. ; ; BAS is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with BAS. If not, write to the Free Software Foundation, ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;----- Overview ------------------------------------------------------------- ; ; Functions provided: ; ; insert_align ; insert_reserve ; --- insert_align --- ; ; On entry: -- ; ; On exit: -- ; ; Use: Inserts `0' bytes to align O% and P% to the next word ; boundary. IMPORT insert_align ; --- insert_reserve --- ; ; On entry: R0 == amount of memory to reserve ; ; On exit: -- ; ; Use: Reserves R0 bytes of memory at the current position. The ; memory is filled with 0s. IMPORT insert_reserve ;----- That's all, folks ---------------------------------------------------- END