--- /dev/null
+; Configuration and common defs for avrcpm BIOS and IPL\r
+\r
+; Copyright (C) 2010 Leo C.\r
+;\r
+; This program is free software: you can redistribute it and/or modify\r
+; it under the terms of the GNU General Public License as published by\r
+; the Free Software Foundation, either version 3 of the License, or\r
+; (at your option) any later version.\r
+;\r
+; This program is distributed in the hope that it will be useful,\r
+; but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+; GNU General Public License for more details.\r
+;\r
+; You should have received a copy of the GNU General Public License\r
+; along with this program. If not, see <http://www.gnu.org/licenses/>.\r
+;\r
+; $Id:$\r
+;\r
+\r
+msize equ 62 ;size of available RAM in k\r
+\r
+bias equ (msize-20) * 1024 \r
+ccp equ 3400h+bias ;base of cpm ccp\r
+bdos equ ccp+806h ;base of bdos\r
+bios equ ccp+1600h ;base of bios\r
+cdisk equ 0004h ;current disk number (0 ... 15)\r
+iobyte equ 0003h ;intel iobyte\r
+buff equ 0080h ;default buffer address\r
+retry equ 3 ;max retries on disk i/o before error\r
+\r
+READ_FUNC equ 7\r
+WRITE_FUNC equ 6\r
+BOOT_FUNC equ 5\r
+HOME_FUNC equ 4\r
+\r
+cr equ 13\r
+lf equ 10\r
+\r