Skip to content

misterblack1/6502_ror_bug_test

Repository files navigation

Boot rom for Apple II to test for 6502 ROR instruction bug

Use this ROM at your own risk!

This code was created by Frank IZ8DWF to test 6502 processors to see if they contain the ROR instruction bug.

Early 6502 chips (until about May or June 1976) contained a bug where the ROR instruction didn't behave correctly. Because of this, MOS did not include the ROR instruction on the list of 6502 instructions, even though people knew it was supposed to be there.

This ROM which is designed for the Apple II will initialize the system and then test the CPU for this bug. It will then simply display a message telling you which CPU you are running.

The ROM does not do anything else.

The BIN file can be flashed onto a 2764 or 2864 and installed into the EF ROM rocket on an Apple IIe. It should work just fine on the original Apple II and II+, but you will need to figure out how to get the code into the F0XX ROM space as these computer use custom ROM chips.

Frank IZ8DWF's YouTube channel: https://www.youtube.com/c/iz8dwf/videos

To use the ROM:

  • Install the code into a ROM chip
  • Install it into the computer
  • Power on the computer

For a CPU that does not have the ROR bug, you will see this: (Post May/June 1976 chips)

For a CPU that has the ROR bug, you will see this: (Before May/June 1976 chips)

To read more about the ROR bug: https://www.pagetable.com/?p=406

About

Test boot ROM for the Apple II to allow testing of bugged 6502 processors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published