ADF Radio Entities

The following example shows the BGL file format of ADF radio entities.

;DATABASE HEADER ********************************************************
dw0001;00 world set number (not saved to file list)
.
.
ddADF_DATA;78 ADF DATA
ADF_DATA:
rel_base=adf_data
LATBAND_REL9139-200,9139+200,adf_band1
EOL

adf_band1:
;glenview=N 4766bbh m   W c17ab55bh d.p pseudo
ADF0269h,0,23h,0b35dh,0c1h,7ab5h,180,80,'GLNxx','GLENVIEW ADF xxxxxxxxxxx'
EOL

;ADF ENTITY OPCODE DEFINITIONS
;OpFormatDefinition
;-----------------------------------------------------------------
;4ADF
ADF macro freq,ext_freq,lathi,latlo,lonhi,lonlo,alt,rng,id_strng,name_strng
db4;;00 op
dwfreq;;01 bcd frequency
dbext_freq;;03 extended freq bcd - hi digit=1 MHz
;;lo digit=100 Hz
dwlatlo;;04 N (2M units)
dblathi
dwlonlo;;07 W (24-bit pseudo)
dblonhi
dwalt;;10 altit M
dbrng;;12 range in 2048M units (approx 2 KM)
dbid_strng;;13 5-byte identifier (ascii)
dbname_strng;;18 24-byte name of navaid (ascii)
;;42=size
endm