-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathData.inc
24 lines (16 loc) · 811 Bytes
/
Data.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;
; Data.inc
;
; This is the definition for the global Data Segment. Note that it is
; mostly populated at Boot by Boot/RAM.inc
SEGMENT Data START=0 ALIGN=16 NOBITS
USE32
Data.RAM RESD 1 ; Beginning of available RAM
Data.RAMTop RESD 1 ; Top of RAM as reported by BIOS
Data.Key.Code RESB 1 ; Storage for key scan-code
Data.Key.Shifts RESB 1 ; Storage for current Key Shift states
RESB 12 ; Reserved
Data.RAMMap.Num RESW 1 ; Number of BIOS.RAMMap entries
Data.RAMMap RESB Data.Size - ($-$$) ; RAMMap
Data.RAMMap.Size EQU $ - Data.RAMMap
Data.RAMMap.Max EQU Data.RAMMap.Size / BIOS.RAMMap_size