Debian Codegraph @

src/asm/_std.h

raw symbols SCIP
1 //cxx . . $ `<file>/src/asm/_std.h`/
2 // ACME - a crossassembler for producing 6502/65c02/65816 code.
3 // Copyright (C) 1998-2006 Marco Baye
4 // Have a look at "acme.c" for further info
5 //
6 // Platform specific stuff (in this case, for unknown OSes)
7 #ifndef platform_H
8 #define platform_Hcxx . . $ `src/asm/_std.h:8:9`!
9
10
11 // Symbolic constants and macros
12
13 // Called once on program startup (could register exit handler, if needed)
14 #define PLATFORM_INITcxx . . $ `src/asm/_std.h:14:9`! AnyOS_entry()
15
16 // Convert UNIX-style pathname to AnyOS-style pathname (no change)
17 #define PLATFORM_CONVERTPATHCHARcxx . . $ `src/asm/_std.h:17:9`!(a) (a)
18
19 // String containing the prefix for accessing files from the library tree
20 #define PLATFORM_LIBPREFIXcxx . . $ `src/asm/_std.h:20:9`! AnyOS_lib_prefix
21
22 // Setting the created files' types
23 #define PLATFORM_SETFILETYPE_CBMcxx . . $ `src/asm/_std.h:23:9`!(a)
24 #define PLATFORM_SETFILETYPE_PLAINcxx . . $ `src/asm/_std.h:24:9`!(a)
25 #define PLATFORM_SETFILETYPE_TEXTcxx . . $ `src/asm/_std.h:25:9`!(a)
26
27 // Platform specific message output
28 #define PLATFORM_WARNINGcxx . . $ `src/asm/_std.h:28:9`!(a)
29 #define PLATFORM_ERRORcxx . . $ `src/asm/_std.h:29:9`!(a)
30 #define PLATFORM_SERIOUScxx . . $ `src/asm/_std.h:30:9`!(a)
31
32 // Integer-to-character conversion
33 #define PLATFORM_UINT2CHARcxx . . $ `src/asm/_std.h:33:9`!(x) do {\
34 x ^= x >> 16;\
35 x ^= x >> 8;\
36 x &= 255;\
37 } while(0)
38
39 // Output of platform-specific command line switches
40 #define PLATFORM_OPTION_HELPcxx . . $ `src/asm/_std.h:40:9`!
41
42 // Processing of platform-specific command line switches
43 #define PLATFORM_SHORTOPTION_CODEcxx . . $ `src/asm/_std.h:43:9`!
44 #define PLATFORM_LONGOPTION_CODEcxx . . $ `src/asm/_std.h:44:9`!
45
46
47 // Variables
48 extern char *AnyOS_lib_prefixcxx . . $ AnyOS_lib_prefix.; // header string of library tree
49
50
51 // Prototypes
52
53 // used as PLATFORM_INIT: reads "ACME" environment variable
54 extern void AnyOS_entrycxx . . $ AnyOS_entry(49f6e7a06ebc5aa8).(void);
55
56
57 #endif