Changeset ca8f84f in mainline
- Timestamp:
- 2010-07-02T19:59:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fef504a
- Parents:
- bbfdf62
- Location:
- kernel/arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/asm.S
rbbfdf62 rca8f84f 347 347 * Since the EGA can only display Extended ASCII (usually 348 348 * ISO Latin 1) characters, some of the Unicode characters 349 * can be displayed in a wrong way. Only the newline character350 * isinterpreted, all other characters (even unprintable) are349 * can be displayed in a wrong way. Only newline and backspace 350 * are interpreted, all other characters (even unprintable) are 351 351 * printed verbatim. 352 352 * … … 399 399 400 400 cmp $0x0a, %al 401 jne early_putchar_ print401 jne early_putchar_backspace 402 402 403 403 /* Interpret newline */ … … 413 413 subw %dx, %bx 414 414 415 jmp early_putchar_newline 415 jmp early_putchar_skip 416 417 early_putchar_backspace: 418 419 cmp $0x08, %al 420 jne early_putchar_print 421 422 /* Interpret backspace */ 423 424 cmp $0x0000, %bx 425 je early_putchar_skip 426 427 dec %bx 428 jmp early_putchar_skip 416 429 417 430 early_putchar_print: … … 423 436 inc %bx 424 437 425 early_putchar_ newline:438 early_putchar_skip: 426 439 427 440 /* Sanity check for the cursor on the last line */ -
kernel/arch/ia32/src/asm.S
rbbfdf62 rca8f84f 428 428 * Since the EGA can only display Extended ASCII (usually 429 429 * ISO Latin 1) characters, some of the Unicode characters 430 * can be displayed in a wrong way. Only the newline character431 * isinterpreted, all other characters (even unprintable) are430 * can be displayed in a wrong way. Only newline and backspace 431 * are interpreted, all other characters (even unprintable) are 432 432 * printed verbatim. 433 433 * … … 481 481 482 482 cmp $0x0a, %al 483 jne early_putchar_ print483 jne early_putchar_backspace 484 484 485 485 /* Interpret newline */ … … 495 495 subw %dx, %bx 496 496 497 jmp early_putchar_newline 497 jmp early_putchar_skip 498 499 early_putchar_backspace: 500 501 cmp $0x08, %al 502 jne early_putchar_print 503 504 /* Interpret backspace */ 505 506 cmp $0x0000, %bx 507 je early_putchar_skip 508 509 dec %bx 510 jmp early_putchar_skip 498 511 499 512 early_putchar_print: … … 505 518 inc %bx 506 519 507 early_putchar_ newline:520 early_putchar_skip: 508 521 509 522 /* Sanity check for the cursor on the last line */
Note:
See TracChangeset
for help on using the changeset viewer.