Rev 9123 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9123 | Rev 9133 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | } |
21 | } |
Line 22... | Line 22... | ||
22 | 22 | ||
23 | void uSDL_Delay(unsigned ms){ |
23 | void uSDL_Delay(unsigned ms){ |
24 | unsigned start = uSDL_GetTicks(); |
24 | unsigned start = uSDL_GetTicks(); |
25 | do{ |
25 | do{ |
26 | __asm__("int $0x40" :: "a"(68),"b"(1)); |
26 | __asm__ __volatile__("int $0x40" :: "a"(5),"b"(1)); |
27 | }while (uSDL_GetTicks()-start < ms); |
27 | }while (uSDL_GetTicks()-start < ms); |