summaryrefslogtreecommitdiff
path: root/Source/Applications/ASMApps/syscalls.asm
blob: 1a634d764d4998c3d990936964560d12bb439172 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[bits 32]

%ifidn __OUTPUT_FORMAT__, bin

%define MEM_ORIGIN 0x10000000

dd 0xFEEDBEEF		; magic number ^^
dd end - start
dd MEM_ORIGIN

; the ($-$$) permits not taking into account the header above
[org MEM_ORIGIN - ($-$$)]

%endif

%define SC_PUTCH 0xFFFFFF01
%define SC_SLEEP 0xFFFFFF02
%define SC_WHEX 0xFFFFFF03