1 | ; Project name : XTIDE Universal BIOS |
---|
2 | ; Description : Silicon Valley Computer ADP50L specifications. |
---|
3 | |
---|
4 | ; |
---|
5 | ; XTIDE Universal BIOS and Associated Tools |
---|
6 | ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team. |
---|
7 | ; |
---|
8 | ; This program is free software; you can redistribute it and/or modify |
---|
9 | ; it under the terms of the GNU General Public License as published by |
---|
10 | ; the Free Software Foundation; either version 2 of the License, or |
---|
11 | ; (at your option) any later version. |
---|
12 | ; |
---|
13 | ; This program 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 | ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
18 | ; |
---|
19 | |
---|
20 | %ifndef ADP50L_INC |
---|
21 | %define ADP50L_INC |
---|
22 | |
---|
23 | ; | BIOS Segment --------- | Unknown - | ROM Chip ---------- | |
---|
24 | ; Jumper: J1 J2 J3 J4 J5 J6 J7 |
---|
25 | ; Disabled N/A N/A OFF OFF OFF OFF OFF = 2764 / 27C64 * |
---|
26 | ; C800h * OFF OFF ON ON = 27256 / 27C256 |
---|
27 | ; CA00h ON OFF ON |
---|
28 | ; CC00h OFF ON ON |
---|
29 | ; CE00h ON ON ON |
---|
30 | ; |
---|
31 | ; * Defaults |
---|
32 | ; Unknown = "Factory configured - do not alter" |
---|
33 | ; Bits 11...9 of the segment address corresponds to jumpers J3...J1. |
---|
34 | |
---|
35 | ADP50L_BIOS_SEGMENT_ADDRESS_1 EQU 0C800h ; Default |
---|
36 | ADP50L_BIOS_SEGMENT_ADDRESS_2 EQU 0CA00h |
---|
37 | ADP50L_BIOS_SEGMENT_ADDRESS_3 EQU 0CC00h |
---|
38 | ADP50L_BIOS_SEGMENT_ADDRESS_4 EQU 0CE00h |
---|
39 | ADP50L_DEFAULT_BIOS_SEGMENT_ADDRESS EQU ADP50L_BIOS_SEGMENT_ADDRESS_1 |
---|
40 | |
---|
41 | ; Offsets from BIOS segment address |
---|
42 | ADP50L_COMMAND_BLOCK_REGISTER_WINDOW_OFFSET EQU 1D00h |
---|
43 | ADP50L_CONTROL_BLOCK_REGISTER_WINDOW_OFFSET EQU 1D10h ; The low byte is (8 SHL 1) |
---|
44 | ADP50L_SECTOR_ACCESS_WINDOW_OFFSET EQU 1E00h ; 512 byte IDE Sector Access Window |
---|
45 | |
---|
46 | ; All IDE register offsets are SHL 1 compared to the standard offsets. |
---|
47 | ; Example 1: STATUS_REGISTER_in = ADP50L_COMMAND_BLOCK_REGISTER_WINDOW_OFFSET + (STATUS_REGISTER_in << 1) |
---|
48 | ; Example 2: DEVICE_CONTROL_REGISTER_out = ADP50L_CONTROL_BLOCK_REGISTER_WINDOW_OFFSET + (DEVICE_CONTROL_REGISTER_out << 1) |
---|
49 | |
---|
50 | %endif ; ADP50L_INC |
---|