Subversion Repositories Spectranet

[/] [branches/] [gnubinutils/] [modules/] [snapman/] [snapheader.inc] - Blame information for rev 372

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 372 winston
;The MIT License
2
;
3
;Copyright (c) 2009 Dylan Smith
4
;
5
;Permission is hereby granted, free of charge, to any person obtaining a copy
6
;of this software and associated documentation files (the "Software"), to deal
7
;in the Software without restriction, including without limitation the rights
8
;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
;copies of the Software, and to permit persons to whom the Software is
10
;furnished to do so, subject to the following conditions:
11
;
12
;The above copyright notice and this permission notice shall be included in
13
;all copies or substantial portions of the Software.
14
;
15
;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
;THE SOFTWARE.
22
 
23
; Functions to load  .SNA0 (snapshot) files
24
 
25
; SNA file definitions
26
HEADER          equ 0x3000
27
SNA_I           equ HEADER
28
SNA_HLALT       equ HEADER+1
29
SNA_DEALT       equ HEADER+3
30
SNA_BCALT       equ HEADER+5
31
SNA_AFALT       equ HEADER+7
32
SNA_HL          equ HEADER+9
33
SNA_DE          equ HEADER+11
34
SNA_BC          equ HEADER+13
35
SNA_IY          equ HEADER+15
36
SNA_IX          equ HEADER+17
37
SNA_EIDI        equ HEADER+19
38
SNA_R           equ HEADER+20
39
SNA_AF          equ HEADER+21
40
SNA_SP          equ HEADER+23
41
SNA_IM          equ HEADER+25
42
SNA_BORDER      equ HEADER+26
43
HEADERSZ        equ 27
44
SNA_PC          equ HEADER+27           ; 128K  .SNA0 file - program counter
45
SNA_7FFD        equ HEADER+29           ; value of port 0x7FFD
46
SNA_TRDOS       equ HEADER+30
47