]> cloudbase.mooo.com Git - avrcpm.git/blame - avr/avrcpm.asm
* avr/Z80int-jmp.asm
[avrcpm.git] / avr / avrcpm.asm
CommitLineData
9c15f366
L
1; Z80 emulator with CP/M support. The Z80-specific instructions themselves
2; actually aren't implemented yet, making this more of an i8080 emulator.
3; This is the main file, glueing all parts together.
4
5; Copyright (C) 2010 Sprite_tm
6; Copyright (C) 2010 Leo C.
7;
8; This file is part of avrcpm.
9;
10; avrcpm is free software: you can redistribute it and/or modify it
11; under the terms of the GNU General Public License as published by
12; the Free Software Foundation, either version 3 of the License, or
13; (at your option) any later version.
14;
15; avrcpm is distributed in the hope that it will be useful,
16; but WITHOUT ANY WARRANTY; without even the implied warranty of
17; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18; GNU General Public License for more details.
19;
20; You should have received a copy of the GNU General Public License
21; along with avrcpm. If not, see <http://www.gnu.org/licenses/>.
22;
23; $Id$
24;
25
26.nolist
27#if defined atmega8
28 .include "m8def.inc"
29#elif defined atmega168
30 .include "m168def.inc"
31#elif defined atmega328P
32 .include "m328Pdef.inc"
33#else /* default */
34 .include "m88def.inc"
35#endif
36 .include "config.inc"
fa9059af 37 .include "svnrev.inc"
9c15f366
L
38 .include "macros.inc"
39#if DRAM_8BIT /* Implies software uart */
40 .include "dram-8bit.inc"
41#else
42 .include "dram-4bit.inc"
43#endif
44 .list
45 .cseg
b741422e 46
9c15f366
L
47 .org 0
48 rjmp start ; reset vector
49
50 .org INT_VECTORS_SIZE
51
52 .include "init.asm"
9c15f366
L
53#if DRAM_8BIT /* Implies software uart */
54 .include "sw-uart.asm"
55 .include "dram-8bit.asm"
56#else /* 4 bit RAM, hardware uart */
57 .include "hw-uart.asm"
58 .include "dram-4bit.asm"
59#endif
5985ce1c
L
60 .include "dram-refresh.asm"
61 .include "timer.asm"
62 .include "utils.asm"
29ce189c 63 .include "heap.asm"
b741422e
L
64 .include "mmc.asm"
65; .include "mmc-old.asm"
64219415
FZ
66
67; >>>-------------------------------------- Virtual Devices
68 .include "virt_ports.asm" ; Virtual Ports for BIOS
69; <<<-------------------------------------- Virtual Devices
70
71; >>>-------------------------------------- File System Management
72 .include "dsk_fsys.asm" ; Basic Filesystem definitions
637689de 73 .include "dsk_mgr.asm" ; Disk- Manager
64219415 74 .include "dsk_cpm.asm" ; CPM- Disk Interaktion
64219415 75 .include "dsk_fat16.asm" ; FAT16-DISK Interaktion
637689de 76 .include "dsk_ram.asm" ; RAM- Disk Interaktion
64219415 77; <<<-------------------------------------- File System Management
9c15f366
L
78; .include "z80int.asm" ;Old 8080 interpreter.
79; .include "8080int.asm" ;New 8080 interpreter.
4675c141
L
80; .include "8080int-t3.asm" ;Another 8080 interpreter
81; .include "8080int-t3-jmp.asm" ;Can't get enough
fa9059af
L
82; .include "8080int-jmp.asm" ;
83 .include "Z80int-jmp.asm" ;
9c15f366
L
84
85
86 .dseg
87ramtop: .byte 0
88
89 .cseg
90
91; vim:set ts=8 noet nowrap
92