Git Product home page Git Product logo

Comments (4)

cspang1 avatar cspang1 commented on July 24, 2024

Sure thing! I'll jump on it when I get home.

from jcap.

konimaru avatar konimaru commented on July 24, 2024

Thanks!

The P1 has the odd quirk that instructions at address $1FF are cancelled.

Which doesn't mean that it can't be done :)

from jcap.

cspang1 avatar cspang1 commented on July 24, 2024

@konimaru So the behavior you described is verified. The following code was used:

CON
        _clkmode = xtal1 + pll16x
        _xinfreq = 5_000_000

PUB main
  cognew(@tester,0)

DAT
              org     0

tester  jmpret          $,      #setup

        or              dira,   Pin_CP          ' Set output pin
        or              outa,   Pin_CP          ' Drive pin high

        waitpeq         $,      #0

        hubop           vscl,   #%10000_000
setup   mov             vscl,   $-1
        jmp             #$1FF        

Pin_CP        long      |< 0       

I copied the pin-driving lines directly from my 74HC165 driver, and used the logic analyzer test bench for the driver to verify:

image

Pin 0 is driven high, so the running indicator was reached.

from jcap.

konimaru avatar konimaru commented on July 24, 2024

Thanks.

from jcap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.