[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recreate 6502 Bug
- Subject: Recreate 6502 Bug
- From: "Bryan Parkoff" <spam>
- Date: Sun, 22 Jun 2003 21:25:18 -0500
- Newsgroups: comp.sys.apple2
- Xref: archiver1.google.com comp.sys.apple2:31768
I have been reviewing an original NMOS 6502 that has a bug with BCD
flag. The report indicates that N, V, and Z flags are invalid. It is
almost incorrect since I have been analyzing data.
I wrote my 6502 code that it loops to create 65536 records. I have
exported 65536 records from NMOS 6502, CMOS 65C02 and WDC 65816 CPUs, and
then I imported them into my database. I created my own query to compare
BCD flags each record out of 65536 records between 6502, 65C02, and 65816.
I have found that C flag is always correct. V flag is always correct (I
don't understand why everybody claims to be invalid V flag.) Only Z flag
and Z flag are invalid.
With my report, 535 records show invalid Z flag, 41910 records show
invalid N flag, and 272 records show invalid N/Z flags. Total 42717 records
are wrong and total 22819 records are correct.
I suspect that Z flag has placed into N flag when it is supposed to turn
on Z flag. It has something to do with 6502 schematic that has some errors.
It is very interesting.
Recreate errors-----
It is an example with Bermuda Triangle. You will have to redesign
1920s/1930s mechanical models for airplanes. You can pilot the airplane
across Bermuda Triangle. Compare 1920s/1930s and 1990s mechanical models
like MPH, gas, feet measurement. Prove to yourself that 1920s/1930s
mechanical models will begin to operate wrong while 1990s mechanical model
will begin to operate correct during the airplane acrosses Bermuda Triangle.
It is human error that we must learn from mistakes in order to fix the
errors. There is no evidence of UFOs and/or alien beings above or under
Bermuda Triangle. The tribe of Jaredites, Nephites, and Mulekites had
acrossed to the Western continent (Like Future American Name). They had no
record which it stated UFO report. It was before Christopher Columbus was
inspired to sail to the western continent. He had no record which it stated
UFO report. He only had dairy notes from day to day. It is very clear that
someone made up the story to falsify us to believe!
If you like to see my BCD flag result, I will be more than happy to
include in the newsgroups, but it will be a very bad idea because it is over
2 megabytes of text.
Bryan Parkoff