source: Daodan/src/Oni_Symbols.S@ 418

Last change on this file since 418 was 339, checked in by rossy, 15 years ago

Developer Mode

File size: 1.9 KB
Line 
1#define symbol(name, value) .global name; .set name, 0x00400000 + value
2
3// MSVC6.0 stdlib
4symbol ( _oni_malloc , 0x0011fc24 )
5symbol ( _oni_free , 0x0011fbf5 )
6
7symbol ( _oni_fopen , 0x0011ea9f )
8symbol ( _oni_fflush , 0x0011eab2 )
9symbol ( _oni_fprintf , 0x0011ebbf )
10symbol ( _oni_vsprintf , 0x0011e860 )
11
12// Oni Engine
13symbol ( _ONiMain , 0x000d3280 )
14symbol ( @ONrPlatform_Initialize@4 , 0x0010f670 )
15symbol ( _ONrPlatform_WindowProc@16 , 0x0010f7a0 )
16
17symbol ( _g_Instance , 0x0021f9e4 )
18symbol ( _ONgPlatformData , 0x0023100c )
19
20//Oni Persistance
21symbol ( @ONrPersist_GetGamma@0 , 0x0010f450 )
22symbol ( @ONrPersist_GetWonGame@0 , 0x0010f660 )
23
24// BFW_Utility
25symbol ( _UUrStartupMessage , 0x00024860 )
26symbol ( @UUrMachineTime_High@0 , 0x00026480 )
27symbol ( @UUrMachineTime_High_Frequency@0 , 0x000264b0 )
28symbol ( @UUrMachineTime_Sixtieths@0 , 0x000263e0 )
29symbol ( _ONgFileStartup , 0x001711b8 )
30
31symbol ( @UUrPlatform_Initialize@0 , 0x00026010 )
32symbol ( @UUrPlatform_Terminate@0 , 0x00026310 )
33
34symbol ( _AUrMessageBox , 0x000378c0 )
35
36// Motoko
37
38symbol ( _M3gResolutionSwitch , 0x00131634 )
39
40// OpenGL
41symbol ( @gl_enumerate_valid_display_modes@4 , 0x000083a0 )
42symbol ( @gl_platform_set_pixel_format@4 , 0x00007b50 )
43symbol ( @gl_platform_initialize@0 , 0x00007da0 )
44
45symbol ( _gl , 0x00160600 )
46symbol ( _gl_api , 0x00160604 )
47symbol ( _gl_gamma_ramp , 0x0015fdfc )
48symbol ( _gl_gamma_ramp_valid , 0x001603fc )
Note: See TracBrowser for help on using the repository browser.