Rev 2415 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2415 | Rev 2427 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #include |
2 | #include |
3 | #include |
3 | #include |
4 | #include |
4 | #include |
5 | #include |
5 | #include |
6 | #include |
6 | #include |
7 | #include |
7 | #include "../winlib/winlib.h" |
8 | #include "fplay.h" |
8 | #include "fplay.h" |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 10... | Line 10... | ||
10 | #define DISPLAY_VERSION 0x0200 /* 2.00 */ |
10 | #define DISPLAY_VERSION 0x0200 /* 2.00 */ |
Line 337... | Line 337... | ||
337 | static inline void* user_realloc(void *mem, size_t size) |
337 | static inline void* user_realloc(void *mem, size_t size) |
338 | { |
338 | { |
339 | void *val; |
339 | void *val; |
340 | __asm__ __volatile__( |
340 | __asm__ __volatile__( |
341 | "int $0x40" |
341 | "int $0x40" |
342 | :"=eax"(val) |
342 | :"=a"(val) |
343 | :"a"(68),"b"(12),"c"(size),"d"(mem) |
343 | :"a"(68),"b"(12),"c"(size),"d"(mem) |
344 | :"memory"); |
344 | :"memory"); |
Line 345... | Line 345... | ||
345 | 345 | ||
346 | return val; |
346 | return val; |