biged / a6502 Goto Github PK
View Code? Open in Web Editor NEWA 6502 emulator (library) written in assembly for ARM Cortex-M4
License: GNU General Public License v3.0
A 6502 emulator (library) written in assembly for ARM Cortex-M4
License: GNU General Public License v3.0
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
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.