Skip to content

Velko/6502-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6502 experiments

Inspired by Ben Eater's 6502 project I've decided to try out my own experiments with it.

This repository contains several simple projects written for 6502 microprocessor. All code is meant to be compiled using VASM assembler.

Compile and run

Unfortunately I do not have a real 6502 computer right now, using Py65 emulator instead. While it is not a real thing, I'm trying to keep everything as close to Ben's design as possible. The main differences are with data output, as it can be seen by comparing the hello-world and hello-emulated projects.

For convenience, I've added simple makefiles for each project so that there is no need to enter long commands each time. Then one can use short commands to compile, run in an emulator or write to the EEPROM.

make
make run
make program

Contents

There are several subdirectories, each containing a self-contained project.

  • hello-world - Ben Eater's finished "Hello, World!" program
  • hello-emulated - "Hello, World!" adjusted for emulator
  • bin2dec - Ben Eater's binary to decimal decoder (transcribed from video)
  • double-dabble - Decode binary to decimal using Double dabble algorithm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published