GithubHelp home page GithubHelp logo

Comments (4)

wwarthen avatar wwarthen commented on September 28, 2024 1

Odd. Sorry I don't have any immediate thoughts.

-Wayne

from romwbw.

wwarthen avatar wwarthen commented on September 28, 2024

Q

So, I'm not totally sure that the BBR for user TPA is actually 0xF0.
Could you please confirm that matching specifically 0xF0 is the most effective method to match only the user TPA?

For a Z180 with 512K ROM & 512K RAM (normal setup), then BBR=0xF0 is synonymous with user TPA being mapped to low 32K.

Based on your description, it sounds like interrupts might be suppressed while waiting for the character. Is that possible?

Thanks,

Wayne

from romwbw.

feilipu avatar feilipu commented on September 28, 2024

Thanks. Helps so much to get clarification.

It sounds like interrupts might be suppressed while waiting for the character. Is that possible?

Things should be running normally, unless a call is inside HBIOS, then the System Tick ISR will recognise that a) the BBR is not in USR TPA, or b) the SP is set within the HBIOS call stack area (top page). If either of these things happen, then the System Tick will reset the timer, and exit. Of course the System Tick will only be entered if interrupts are enabled (which they should be). Otherwise in the normal case a Tick increment will happen and a context switch opportunity happens.

I have just resolved one issue, where the call to increment the System Tick was not properly protected by the SP location check. I just fixed that, and at the same time simplified things a little.

This has made things incrementally better. But, I'm still fishing to find the underlying problem with getchar().

from romwbw.

feilipu avatar feilipu commented on September 28, 2024

I'm still looking, but will close this as it's sure to be on my code base. Thanks again.

from romwbw.

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.