Rev 6050 | Rev 6280 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6050 | Rev 6058 | ||
---|---|---|---|
Line 435... | Line 435... | ||
435 | $mov eax, 55 |
435 | $mov eax, 55 |
436 | $mov ebx, 55 |
436 | $mov ebx, 55 |
437 | $int 0x40 |
437 | $int 0x40 |
438 | } |
438 | } |
Line 439... | Line -... | ||
439 | - | ||
440 | inline fastcall void debugln( EDX) |
- | |
441 | { |
- | |
442 | $push eax |
- | |
443 | $push ebx |
- | |
444 | $push ecx |
- | |
445 | $mov eax, 63 |
- | |
446 | $mov ebx, 1 |
- | |
447 | NEXT_CHAR: |
- | |
448 | $mov ecx, DSDWORD[edx] |
- | |
449 | $or cl, cl |
- | |
450 | $jz DONE |
- | |
451 | $int 0x40 |
- | |
452 | $inc edx |
- | |
453 | $jmp NEXT_CHAR |
- | |
454 | DONE: |
- | |
455 | $mov cl, 13 |
- | |
456 | $int 0x40 |
- | |
457 | $mov cl, 10 |
- | |
458 | $int 0x40 |
- | |
459 | $pop ecx |
- | |
460 | $pop ebx |
- | |
461 | $pop eax |
- | |
462 | } |
- | |
463 | - | ||
464 | inline fastcall void debug( EDX) |
- | |
465 | { |
- | |
466 | $push eax |
- | |
467 | $push ebx |
- | |
468 | $push ecx |
- | |
469 | $mov eax, 63 |
- | |
470 | $mov ebx, 1 |
- | |
471 | NEXT_CHAR: |
- | |
472 | $mov ecx, DSDWORD[edx] |
- | |
473 | $or cl, cl |
- | |
474 | $jz DONE |
- | |
475 | $int 0x40 |
- | |
476 | $inc edx |
- | |
477 | $jmp NEXT_CHAR |
- | |
478 | DONE: |
- | |
479 | $pop ecx |
- | |
480 | $pop ebx |
- | |
481 | $pop eax |
- | |
482 | } |
- | |
483 | - | ||
484 | - | ||
485 | inline fastcall void debugch( ECX) |
- | |
486 | { |
- | |
487 | $push eax |
- | |
488 | $push ebx |
- | |
489 | $mov eax,63 |
- | |
490 | $mov ebx,1 |
- | |
491 | $int 0x40 |
- | |
492 | $pop ebx |
- | |
493 | $pop eax |
- | |
494 | } |
439 | |
Line 495... | Line 440... | ||
495 | //------------------------------------------------------------------------------ |
440 | //------------------------------------------------------------------------------ |
496 | 441 | ||
497 | void DefineAndDrawWindow(dword x, y, size_w, size_h, byte WindowType,dword WindowAreaColor, EDI, ESI) |
442 | void DefineAndDrawWindow(dword x, y, size_w, size_h, byte WindowType,dword WindowAreaColor, EDI, ESI) |
Line 810... | Line 755... | ||
810 | #endif |
755 | #endif |
Line 811... | Line 756... | ||
811 | 756 | ||
812 | #ifndef INCLUDE_MEM_H |
757 | #ifndef INCLUDE_MEM_H |
813 | #include "../lib/mem.h" |
758 | #include "../lib/mem.h" |
- | 759 | #endif |
|
- | 760 | ||
- | 761 | #ifndef INCLUDE_DEBUG_H |
|
- | 762 | #include "../lib/debug.h" |
|
814 | #endif16; |
763 | #endif16; |