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: Wed Nov 30 14:01:01 CET 2005
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/05/11 30:14:01

    Modified: jop/java/target/src/app/kfl DbgRs485.java JopSys.java
    Keyboard.java Msg.java Timer.java
    Log:
    corrected package


    Revision Changes Path
    1.2 jop/java/target/src/app/kfl/DbgRs485.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/app/kfl/DbgRs485.java.diff?r1=1.1&r2=1.2

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

    Index: DbgRs485.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/app/kfl/DbgRs485.java,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- DbgRs485.java 11 May 2005 17:38:06 -0000 1.1
    +++ DbgRs485.java 30 Nov 2005 13:00:59 -0000 1.2
    @@ -1,3 +1,5 @@
    +package kfl;
    +
    /**
    * Write Rs485 Data with timestamp to serial line.
    */



    1.2 jop/java/target/src/app/kfl/JopSys.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/app/kfl/JopSys.java.diff?r1=1.1&r2=1.2

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

    Index: JopSys.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/app/kfl/JopSys.java,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- JopSys.java 11 May 2005 17:38:06 -0000 1.1
    +++ JopSys.java 30 Nov 2005 13:00:59 -0000 1.2
    @@ -14,8 +14,8 @@
    // ...
    //

    - static native int rd(int adr);
    - static native void wr(int val, int adr);
    + public static native int rd(int adr);
    + public static native void wr(int val, int adr);
    static native int rdMem(int adr);
    static native void wrMem(int val, int adr);
    static native int rdIntMem(int adr);



    1.2 jop/java/target/src/app/kfl/Keyboard.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/app/kfl/Keyboard.java.diff?r1=1.1&r2=1.2

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

    Index: Keyboard.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/app/kfl/Keyboard.java,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- Keyboard.java 11 May 2005 17:38:06 -0000 1.1
    +++ Keyboard.java 30 Nov 2005 13:00:59 -0000 1.2
    @@ -45,7 +45,7 @@
    key_out(2) <= 'Z' when key_oc(2)='0' else '0';
    key_out(3) <= 'Z' when key_oc(3)='0' else '0';
    */
    - static void loop() {
    + public static void loop() {

    int val = JopSys.rd(IO_KEY);

    @@ -66,7 +66,7 @@
    JopSys.wr(0x01<<cnt, IO_KEY);
    }

    - static int rd() {
    + public static int rd() {

    if (pressed) {
    pressed = false;



    1.2 jop/java/target/src/app/kfl/Msg.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/app/kfl/Msg.java.diff?r1=1.1&r2=1.2

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

    Index: Msg.java
    =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/app/kfl/Msg.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- Msg.java 11 May 2005 17:38:06 -0000 1.1 +++ Msg.java 30 Nov 2005 13:00:59 -0000 1.2 @@ -100,7 +100,7 @@ /** * message loop. */ - static void loop() { + public static void loop() { if (send) { // send the response doSend(); @@ -170,7 +170,7 @@ send = false; } - static int readCmd() { + public static int readCmd() { available = false; return cmd>>>12; @@ -184,7 +184,7 @@ /** * write back the answer. */ - static void write(int val) { + public static void write(int val) { int i; 1.2 jop/java/target/src/app/kfl/Timer.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/app/kfl/Timer.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: Timer.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/app/kfl/Timer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- Timer.java 11 May 2005 17:38:06 -0000 1.1 +++ Timer.java 30 Nov 2005 13:00:59 -0000 1.2 @@ -33,12 +33,12 @@ last = next; } - static int usedTime() { + public static int usedTime() { return JopSys.rd(JopSys.IO_CNT)-last; } - static void waitForNextInterval() { + public static void waitForNextInterval() { next += JopSys.INTERVAL; @@ -74,7 +74,7 @@ /** * simple wait val ms (no wd!, no next increment). */ - static void sleep(int ms) { + public static void sleep(int ms) { int j = JopSys.rd(JopSys.IO_CNT); for (int i=0; i<ms; ++i) { @@ -87,7 +87,7 @@ /** * simple wait val ms with wd. */ - static void sleepWd(int ms) { + public static void sleepWd(int ms) { int j = JopSys.rd(JopSys.IO_CNT)+JopSys.MS; for (int i=0; i<ms; ++i) {

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