File: os-header.sym

package info (click to toggle)
hatari 2.4.1%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 13,840 kB
  • sloc: ansic: 161,233; python: 5,787; objc: 1,900; asm: 1,679; sh: 1,629; javascript: 145; makefile: 86; xml: 32
file content (39 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# example symbol/address file for OS Header
#
# The file contents are composed of a hexadecimal addresses followed
# by space, address type, space and the corresponding symbol name.
# Empty lines and lines which first char is '#' are ignored.

# All TOS versions:
# os_entry: BRA to reset handler (shadowed at $0).
# os_version: TOS version number. The high byte is the major revision
#	number, and the low byte is the minor revision number.
# reseth: Pointer to the system reset handler.
# os_beg: Base address of the OS (same as _sysbase).
# os_end: Address of the first byte of RAM not used by the operating system.
# os_magic: Pointer to the GEM Memory Usage Parameter Block (MUPB).
# os_date: Date of system build ($YYYYMMDD).
# os_conf: OS Configuration Bits.
# os_dosdate: GEMDOS format date of system build.
#
# TOS 1.2 or newer:
# p_root: Pointer to a system variable containing the address
#	of the GEMDOS memory pool structure.
# p_kbshift: Pointer to a system variable which contains the address
#	of the system keyboard shift state variable.
# p_run: Pointer to a system variable which contains the address
#	of the currently executing GEMDOS process.

# address, type & name of symbol
00 T os_entry
02 D os_version
04 D reseth
08 D os_beg
0C D os_end
14 D os_magic
18 D os_date
1C D os_conf
1E D os_dosdate
20 D p_root
24 D p_kbshift
28 D p_run