1 ; This is the main file, glueing all parts together.
3 ; Copyright (C) 2010 Sprite_tm
4 ; Copyright (C) 2010,2012,2013 Leo C.
6 ; This file is part of avrcpm.
8 ; avrcpm is free software: you can redistribute it and/or modify it
9 ; under the terms of the GNU General Public License as published by
10 ; the Free Software Foundation, either version 3 of the License, or
11 ; (at your option) any later version.
13 ; avrcpm is distributed in the hope that it will be useful,
14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ; GNU General Public License for more details.
18 ; You should have received a copy of the GNU General Public License
19 ; along with avrcpm. If not, see <http://www.gnu.org/licenses/>.
28 #elif defined atmega88
30 #elif defined atmega168
31 .include "m168def.inc"
33 .include "m328Pdef.inc"
38 #if DRAM_8BIT /* Implies software uart */
39 .include "dram-8bit.inc"
41 .include "dram-4bit.inc"
48 .org FLASHEND-3 - BOOTLDRSIZE/2 ;
55 .dw 0 ;placeholder for crc
56 #endif /* MMCBOOTLOADER */
60 ljmp start ; reset vector
64 #if DRAM_8BIT /* Implies software uart */
65 .include "sw-uart.asm"
66 #else /* 4 bit RAM, hardware uart */
67 .include "hw-uart.asm"
76 #if DRAM_8BIT /* Implies software uart */
77 .include "dram-8bit.asm"
78 #else /* 4 bit RAM, hardware uart */
79 .include "dram-4bit.asm"
81 #if DRAM_8BIT /* Implies software uart */
84 ; >>>-------------------------------------- File System Management
85 .include "dsk_cpm.asm" ; CPM- Disk Interaktion
86 .include "dsk_fat16.asm" ; FAT16-DISK Interaktion
87 .include "dsk_ram.asm" ; RAM- Disk Interaktion
88 .include "dsk_mgr.asm" ; Disk- Manager
89 .include "dsk_fsys.asm" ; Basic Filesystem definitions
91 ; <<<-------------------------------------- File System Management
93 ; .include "8080int-orig.asm" ;Old 8080 interpreter.
94 ; .include "8080int.asm" ;New 8080 interpreter.
95 ; .include "8080int-t3.asm" ;Another 8080 interpreter
96 ; .include "8080int-t3-jmp.asm" ;Can't get enough
97 ; .include "8080int-jmp.asm" ;
98 .include "Z80int-jmp.asm" ;
100 .include "virt_ports.asm" ; Virtual Ports for BIOS
101 .include "dram-refresh.asm"
109 ; vim:set ts=8 noet nowrap