5 ; first check for SYSLINUX
18 ; now get syslinux version
28 ; print version string
39 ; print copyright string
49 ; print syslinux derivative id
50 mov dx, str_derivative
57 ; print version number
58 mov dx, str_version_num
81 mov dx, str_not_syslinux
86 ; input: al = byte to print in hex
95 ; input: bottom half of al = nybble to print in hex
100 mov dl, [str_hex + bx]
106 str_hex: db "01234567890abcdef"
108 ; input: ax = word to print
132 str_not_syslinux: db "Not SYSLINUX or derivative (running on DOS?)$"
133 str_version: db "Version: $"
134 str_copyright: db 10, "Copyright: $"
135 str_derivative: db 10, "Derivative ID: 0x$"
136 str_version_num: db 10, "Version number: $"