]>
Commit | Line | Data |
---|---|---|
1 | ; This is the main file, glueing all parts together. | |
2 | ||
3 | ; Copyright (C) 2010 Sprite_tm | |
4 | ; Copyright (C) 2010 Leo C. | |
5 | ; | |
6 | ; This file is part of avrcpm. | |
7 | ; | |
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. | |
12 | ; | |
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. | |
17 | ; | |
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/>. | |
20 | ; | |
21 | ; $Id$ | |
22 | ; | |
23 | ||
24 | .nolist | |
25 | ||
26 | #if defined atmega8 | |
27 | .include "m8def.inc" | |
28 | #elif defined atmega88 | |
29 | .include "m88def.inc" | |
30 | #elif defined atmega168 | |
31 | .include "m168def.inc" | |
32 | #else /* default */ | |
33 | .include "m328Pdef.inc" | |
34 | #endif | |
35 | .include "config.inc" | |
36 | .include "svnrev.inc" | |
37 | .include "macros.inc" | |
38 | #if DRAM_8BIT /* Implies software uart */ | |
39 | .include "dram-8bit.inc" | |
40 | #else | |
41 | .include "dram-4bit.inc" | |
42 | #endif | |
43 | ||
44 | .list | |
45 | ||
46 | #if MMCBOOTLOADER | |
47 | .cseg | |
48 | .org FLASHEND-3 - BOOTLDRSIZE/2 ; | |
49 | .db DEVID_S ; | |
50 | #if TESTVERSION | |
51 | .db 0,0 | |
52 | #else | |
53 | .db VMINOR, VMAJOR ; | |
54 | #endif | |
55 | .dw 0 ;placeholder for crc | |
56 | #endif /* MMCBOOTLOADER */ | |
57 | ||
58 | .cseg | |
59 | .org 0 | |
60 | rjmp start ; reset vector | |
61 | ||
62 | .org INT_VECTORS_SIZE | |
63 | ||
64 | .include "utils.asm" | |
65 | .include "init.asm" | |
66 | .include "dram-refresh.asm" | |
67 | .include "timer.asm" | |
68 | #if DRAM_8BIT /* Implies software uart */ | |
69 | .include "sw-uart.asm" | |
70 | .include "i2c.asm" | |
71 | .include "dram-8bit.asm" | |
72 | #else /* 4 bit RAM, hardware uart */ | |
73 | .include "hw-uart.asm" | |
74 | .include "dram-4bit.asm" | |
75 | #endif | |
76 | .include "heap.asm" | |
77 | .include "mmc.asm" | |
78 | ; .include "mmc-old.asm" | |
79 | ||
80 | ; >>>-------------------------------------- File System Management | |
81 | .include "dsk_fsys.asm" ; Basic Filesystem definitions | |
82 | .include "dsk_mgr.asm" ; Disk- Manager | |
83 | .include "dsk_cpm.asm" ; CPM- Disk Interaktion | |
84 | .include "dsk_fat16.asm" ; FAT16-DISK Interaktion | |
85 | .include "dsk_ram.asm" ; RAM- Disk Interaktion | |
86 | .include "virt_ports.asm" ; Virtual Ports for BIOS | |
87 | ; <<<-------------------------------------- File System Management | |
88 | ||
89 | ; .include "8080int-orig.asm" ;Old 8080 interpreter. | |
90 | ; .include "8080int.asm" ;New 8080 interpreter. | |
91 | ; .include "8080int-t3.asm" ;Another 8080 interpreter | |
92 | ; .include "8080int-t3-jmp.asm" ;Can't get enough | |
93 | ; .include "8080int-jmp.asm" ; | |
94 | .include "Z80int-jmp.asm" ; | |
95 | ||
96 | ||
97 | .dseg | |
98 | ramtop: .byte 0 | |
99 | ||
100 | .cseg | |
101 | ||
102 | ; vim:set ts=8 noet nowrap | |
103 |