Rev 9093 | Rev 9137 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9093 | Rev 9094 | ||
---|---|---|---|
Line 312... | Line 312... | ||
312 | ::"a"(5), "b"(time) |
312 | ::"a"(5), "b"(time) |
313 | :"memory" |
313 | :"memory" |
314 | ); |
314 | ); |
315 | } |
315 | } |
Line -... | Line 316... | ||
- | 316 | ||
- | 317 | /*=============== Function 7 - draw image in the window. ===============*/ |
|
- | 318 | ||
- | 319 | static inline |
|
- | 320 | void _ksys_draw_bitmap(void *bitmap, int x, int y, int w, int h) |
|
- | 321 | { |
|
- | 322 | asm_inline( |
|
- | 323 | "int $0x40" |
|
- | 324 | ::"a"(7), "b"(bitmap), |
|
- | 325 | "c"((w << 16) | h), |
|
- | 326 | "d"((x << 16) | y) |
|
- | 327 | :"memory" |
|
- | 328 | ); |
|
- | 329 | } |
|
316 | 330 | ||
Line 317... | Line 331... | ||
317 | /*=============== Function 8 - define/delete the button. ===============*/ |
331 | /*=============== Function 8 - define/delete the button. ===============*/ |
318 | 332 | ||
319 | static inline |
333 | static inline |
Line 1402... | Line 1416... | ||
1402 | } |
1416 | } |
Line 1403... | Line 1417... | ||
1403 | 1417 | ||
Line 1404... | Line -... | ||
1404 | - | ||
1405 | /* ######### Old names of functions and structures. Do not use again! ##########*/ |
- | |
1406 | 1418 | ||
Line 1407... | Line 1419... | ||
1407 | #define ksys_coff_etable_t ksys_dll_t |
1419 | /* ######### Old names of functions and structures. Do not use again! ##########*/ |