; Configuration and common defs for avrcpm BIOS and IPL ; Copyright (C) 2010 Leo C. ; ; This program 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 3 of the License, or ; (at your option) any later version. ; ; This program 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 this program. If not, see . ; ; $Id:$ ; msize equ 62 ;size of available RAM in k bias equ (msize-20) * 1024 ccp equ 3400h+bias ;base of cpm ccp bdos equ ccp+806h ;base of bdos bios equ ccp+1600h ;base of bios cdisk equ 0004h ;current disk number (0 ... 15) iobyte equ 0003h ;intel iobyte buff equ 0080h ;default buffer address retry equ 3 ;max retries on disk i/o before error READ_FUNC equ 7 WRITE_FUNC equ 6 BOOT_FUNC equ 5 HOME_FUNC equ 4 cr equ 13 lf equ 10