source: Daodan/src/Oni_Symbols.S@ 336

Last change on this file since 336 was 326, checked in by rossy, 16 years ago

This is the first "non-working" commit of Daodan. For this reason, the last fully working release is in the /release/ folder while the current build is in the /build/ folder. The reason it's not working is that I'm trying to write a "proper" windowed mode by replacing ONrPlatform_Initialize and gl_platform_initialize. I'm currently in the middle of rewriting gl_platform_initialize and Oni's draw engine doesn't like the new code.

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