Rev 2427 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2427 | Rev 2693 | ||
---|---|---|---|
Line 305... | Line 305... | ||
305 | err = call_service(&io); |
305 | err = call_service(&io); |
306 | if (call_service(&io)==0) |
306 | if (call_service(&io)==0) |
307 | { |
307 | { |
308 | //bitmap->data = NULL; Not now, Serge |
308 | //bitmap->data = NULL; Not now, Serge |
309 | // printf("blit done\n"); |
309 | // printf("blit done\n"); |
310 | delay(1); |
310 | // delay(1); |
311 | return 0; |
311 | return 0; |
312 | }; |
312 | }; |
313 | return err; |
313 | return err; |
314 | }; |
314 | }; |
Line 326... | Line 326... | ||
326 | bc.stride = bitmap->pitch; |
326 | bc.stride = bitmap->pitch; |
327 | bc.bitmap = bitmap->data; |
327 | bc.bitmap = bitmap->data; |
Line 328... | Line 328... | ||
328 | 328 | ||
329 | __asm__ __volatile__( |
329 | __asm__ __volatile__( |
330 | "int $0x40" |
330 | "int $0x40" |
- | 331 | ::"a"(73),"b"(0x00),"c"(&bc) |
|
Line 331... | Line 332... | ||
331 | ::"a"(73),"b"(0),"c"(&bc)); |
332 | :"memory"); |
332 | 333 | ||
Line 338... | Line 339... | ||
338 | { |
339 | { |
339 | void *val; |
340 | void *val; |
340 | __asm__ __volatile__( |
341 | __asm__ __volatile__( |
341 | "int $0x40" |
342 | "int $0x40" |
342 | :"=a"(val) |
343 | :"=a"(val) |
343 | :"a"(68),"b"(12),"c"(size),"d"(mem) |
344 | :"a"(68),"b"(20),"c"(size),"d"(mem) |
344 | :"memory"); |
345 | :"memory"); |
Line 345... | Line 346... | ||
345 | 346 | ||
346 | return val; |
347 | return val; |