Rev 6862 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6862 | Rev 8827 | ||
---|---|---|---|
Line 352... | Line 352... | ||
352 | } |
352 | } |
353 | 353 | ||
Line 354... | Line 354... | ||
354 | 354 | ||
355 | 355 | ||
356 | void kol_screen_get_size(unsigned *w, unsigned *h) |
356 | /*void kol_screen_get_size(unsigned *w, unsigned *h) |
357 | { |
357 | { |
358 | unsigned size; |
358 | unsigned size; |
359 | asm volatile ("int $0x40":"=a"(size):"a"(14)); |
359 | asm volatile ("int $0x40":"=a"(size):"a"(14)); |
360 | *w = size / 65536; |
360 | *w = size / 65536; |
Line 361... | Line 361... | ||
361 | *h = size % 65536; |
361 | *h = size % 65536; |
362 | } |
362 | }*/ |
Line 420... | Line 420... | ||
420 | { |
420 | { |
421 | asm volatile ("int $0x40"::"a"(68), "b"(23), "c"(name)); |
421 | asm volatile ("int $0x40"::"a"(68), "b"(23), "c"(name)); |
422 | } |
422 | } |
423 | 423 | ||
Line 424... | Line 424... | ||
424 | int kol_clip_num() |
424 | /*int kol_clip_num() |
425 | { |
425 | { |
426 | asm volatile ("int $0x40"::"a"(54), "b"(0)); |
426 | asm volatile ("int $0x40"::"a"(54), "b"(0)); |
427 | } |
427 | } |
Line 428... | Line 428... | ||
428 | 428 | ||
Line 433... | Line 433... | ||
433 | 433 | ||
Line 434... | Line 434... | ||
434 | int kol_clip_set(int n, char buffer[]) |
434 | int kol_clip_set(int n, char buffer[]) |
435 | { |
435 | { |
436 | asm volatile ("int $0x40"::"a"(54), "b"(2), "c"(n), "d"(buffer)); |
436 | asm volatile ("int $0x40"::"a"(54), "b"(2), "c"(n), "d"(buffer)); |
437 | } |
437 | }*/ |
Line 438... | Line 438... | ||
438 | 438 | ||
439 | void set_cwd(const char* cwd) |
439 | void set_cwd(const char* cwd) |
440 | { |
440 | { |
441 | __asm__ __volatile__( |
441 | __asm__ __volatile__( |