mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
; The OS/K Team licenses this file to you under the MIT license.
|
|
; See the LICENSE file in the project root for more information.
|
|
|
|
;
|
|
; Limits
|
|
;
|
|
|
|
CHAR_MIN := 0x0000000000000080
|
|
SHRT_MIN := 0x0000000000008000
|
|
INT_MIN := 0x0000000080000000
|
|
LONG_MIN := 0x8000000000000000
|
|
|
|
XCHAR_MIN := 0xFFFFFFFFFFFFFF80
|
|
XSHRT_MIN := 0xFFFFFFFFFFFF8000
|
|
XINT_MIN := 0xFFFFFFFF80000000
|
|
|
|
CHAR_MAX := 0x000000000000007F
|
|
SHRT_MAX := 0x0000000000007FFF
|
|
INT_MAX := 0x000000007FFFFFFF
|
|
LONG_MAX := 0x7FFFFFFFFFFFFFFF
|
|
|
|
BYTE_MAX := 0x00000000000000FF
|
|
WORD_MAX := 0x000000000000FFFF
|
|
LWORD_MAX := 0x00000000FFFFFFFF
|
|
QWORD_MAX := 0xFFFFFFFFFFFFFFFF
|
|
|
|
FILE_MAXSZ := 0x0000000000008000
|
|
STRLEN_MAX := 0x000000007AFFFFFF
|
|
FNAME_MAX := 0x0000000000000080
|
|
|
|
;
|
|
; Magic numbers
|
|
;
|
|
|
|
PRN_CLEAR := 0x000000008BF00001
|
|
|
|
;
|
|
; CRT librairies
|
|
;
|
|
|
|
include "crt/sys.k"
|
|
include "crt/err/errno.k"
|
|
include "crt/fmt/format.k"
|
|
include "crt/str/string.k"
|
|
include "crt/mem/memory.k"
|
|
include "crt/lib/time.k"
|
|
include "crt/lib/arith128.k"
|
|
|
|
abort:
|
|
crash
|
|
|