This repo has submodules, so you have to clone it to build it - the source code archives in the releases page won't work. (This is a GitHub bug and there doesn't appear to be any way around it.)
To clone the repo:
git clone --recursive https://github.com/tom-seddon/b2.git
If you're reading this after already cloning it:
git submodule init
git submodule update
(If anything goes wrong during initial cloning or updating, a git submodule update --force
may or may not fix things. If you're not
intending to make any changes, the easiest thing is usually to delete
the working copy and start again.)
The following should always build:
master
- used to prepare latest GitHub release. Should always build and shouldn't contain anything too half-bakedwip/master
- used to prepare GitHub prereleases. I periodically merge this intomaster
. Should always build, though there may be some new stuff that isn't quite ready
(Anything else: at your own risk. Anything worth keeping always ends
up in wip/master
.)
After switching branches, you will need to do git submodule update
again, to ensure the submodules are also at the correct revisions. Git
doesn't do this for you.
Once you're all set up:
Instructions for building on Windows.
Instructions for building on macOS.
Instructions for building on Linux/macOS.
The submodules are referred to by https. Before cloning, you can use
git config --global url.ssh://[email protected]/.insteadOf https://github.com/
to have them cloned over SSH instead, if you have
a GitHub login.
Some info about the 3rd party 6502 tests that run as part of the full test set.
Some info: http://visual6502.org/wiki/index.php?title=6502TestPrograms
Everything you need to do this on Windows is included in the repo; for macOS and Linux, you'll need GNU make, and 64tass on the path.
Change to etc/testsuite-2.15
and run ..\..\bin\snmake
(Windows) or
make
(macOS/Linux). This generates bin files in
etc/testsuite-2.15/ascii-bin
and listing files in
etc/testsuite-2.15/ascii-lst
.
Original repo: https://github.com/Klaus2m5/6502_65C02_functional_tests
(I don't remember why this isn't a submodule...)
Change to etc/6502_65C02_functional_tests
and run
..\..\bin\snmake
. You get bin and listing files in
etc/6502_65C02_functional_tests
.