Skip to content

Instantly share code, notes, and snippets.

@mattrude
Last active December 6, 2021 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattrude/36ff25e7328e52a802dc66798b1a24c6 to your computer and use it in GitHub Desktop.
Save mattrude/36ff25e7328e52a802dc66798b1a24c6 to your computer and use it in GitHub Desktop.

First start by installing the needed software on your computer.

apt -y install build-essential pkg-config git libusb-1.0-0-dev

Next download, compile, & install the minipro software

cd && rm -rf minipro
git clone https://gitlab.com/DavidGriffith/minipro.git && \
cd minipro && make && make install

Next download, compile, & install the vasm software

cd && rm -rf vasm
wget -c http://sun.hasenbraten.de/vasm/release/vasm.tar.gz && \
tar -xzf vasm.tar.gz && cd vasm/ && make CPU=6502 SYNTAX=oldstyle && \
cp vasm6502_oldstyle /usr/local/bin/

Next download the source hello-world.s file

cd; wget https://eater.net/downloads/hello-world-final.s

Now you can compile the source of the hello-world.s file

vasm6502_oldstyle -dotdir -Fbin hello-world-final.s

Check out the out put file

hexdump -C a.out

upload it to the eprom

minipro -p AT28C256 -w a.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment