]> cloudbase.mooo.com Git - avrcpm.git/commitdiff
git-svn-id: svn://cu.loc/avr-cpm/trunk@129 57430480-672e-4586-8877-bcf8adbbf3b7
authorLeo <erbl259-lmu@yahoo.de>
Wed, 6 Oct 2010 21:17:22 +0000 (21:17 +0000)
committerLeo <erbl259-lmu@yahoo.de>
Wed, 6 Oct 2010 21:17:22 +0000 (21:17 +0000)
avrcpm/cpm/cfgacpm.lib [new file with mode: 0644]

diff --git a/avrcpm/cpm/cfgacpm.lib b/avrcpm/cpm/cfgacpm.lib
new file mode 100644 (file)
index 0000000..6f30879
--- /dev/null
@@ -0,0 +1,39 @@
+;    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