Git Product home page Git Product logo

a6502's People

Contributors

biged avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

a6502's Issues

bug of macro do_ror_inner

this macro can't handle zero flag correctly now.
test case:
when cary flag is cleared and register value is 0x01, it fails to set zero flag.

fix code:

.macro do_ror_inner reg
        setflags_pre
        it cs
        orrcs   \reg, #0x100
        tst     \reg, #0x1
        it ne
        orrne   \reg, #0x200
        bic     \reg, #0x1          @ clear bit 1 !!!!!
        lsls	\reg, #23
        setflags_post
        lsr	\reg, #24
.endm

Unclear on monitor commands after boot

I've loaded the a6502.bin file into a Discovery board, and it enumerates on USB and outputs the following:

Hi
 00  00  00  00  00  00  00  00
Go:  fdd3

-

According to the docs, it's starting Supermon64, although based on some Googling, the Supermon64 prompt should be a '.'. I've tried various commands, with only 'g' and 'x' doing anything. I'm guessing that 'g' should be 'go', but don't know how to set the address. 'x' is dumping memory from 0x0000..0x007f.

Would it be possible to indicate what commands are supported, or a link? If it's running Supermon64, I did find this article.

(I did see the link to Chris Baird's stm6502 project, but that link is now dead)

Thanks!

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.