LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Thu Oct 25 18:16:50 CEST 2007
    Subject: [cvs-checkins] MODIFIED: mips789 ...
    Top
    Date: 00/07/10 25:18:16

    Modified: mips789/Clib dvc_lib.c
    Log:
    no message


    Revision Changes Path
    1.4 mips789/Clib/dvc_lib.c

    http://www.opencores.org/cvsweb.shtml/mips789/Clib/dvc_lib.c.diff?r1=1.3&r2=1.4

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: dvc_lib.c
    ===================================================================
    RCS file: /cvsroot/mcupro/mips789/Clib/dvc_lib.c,v
    retrieving revision 1.3
    retrieving revision 1.4
    diff -u -b -r1.3 -r1.4
    --- dvc_lib.c 13 Oct 2007 08:57:03 -0000 1.3
    +++ dvc_lib.c 25 Oct 2007 16:16:50 -0000 1.4
    @@ -47,8 +47,16 @@

    void uart0_putstr(char*str)
    {
    - while(1)if(*str=='\0')return ;
    - else uart0_putc(*str++);
    + while(1){
    + if(*str=='\0')return ;
    + else if(*str=='\n')
    + {
    + uart0_putc('\r');
    + uart0_putc(*str++);
    + }
    + else
    + uart0_putc(*str++);
    + }
    }

    void __inline led1_on(void)
    @@ -151,7 +159,8 @@
    uart0_putstr((char*)"This is MIPS789 BOOTLOADER\n");
    dis_byte(0xcc);
    //attenions please'!'
    - while(uart0_getc()!='!')uart0_putc((unsigned char)('O'));
    + while(uart0_getc()!='!');
    + uart0_putc((unsigned char)('O'));
    //'O'k .i am ready
    while(1)
    {



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.