which kind of fake? a VIC20 kernal that test the CPU...

Vic 20 Item Exchange

Moderator: Moderators

Post Reply
User avatar
MCes
Vic 20 Afficionado
Posts: 458
Joined: Fri Jul 24, 2015 1:19 am
Location: Italy

which kind of fake? a VIC20 kernal that test the CPU...

Post by MCes »

This kernal (PAL done, NTSC on request) tests the CPU during boot:
if CPU has the BCD flag bug then it's reported like as a normal N-MOS "6502",
if CPU execute opcode "SMB" then it will be classified as Rockwell "R65C02",
otherwise it will be classified as "65C02".

Now I can classify my fakes CPUs and use them for what really they are! :lol:


Another kernal that can be burned in a 27HC641:
http://sleepingelephant.com/ipw-web/bul ... 641#p99519
Attachments
P_20190111_180748.jpg
P_20190111_181140.jpg
P_20190111_181059.jpg
"Two things are infinite, the universe and human stupidity, and I am not yet completely sure about the universe." (Albert Einstein)
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: which kind of fake? a VIC20 kernal that test the CPU...

Post by eslapion »

A Rockwell R65C02 is fake? What about WDC's W65C02S ?
Be normal.
Kakemoms
Vic 20 Nerd
Posts: 740
Joined: Sun Feb 15, 2015 8:45 am

Re: which kind of fake? a VIC20 kernal that test the CPU...

Post by Kakemoms »

I think he meant that many MOS6502s from China are in fact other types of 6502's.

WDC 6502 should have the STP and WAI opcodes...
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: which kind of fake? a VIC20 kernal that test the CPU...

Post by eslapion »

Kakemoms wrote:I think he meant that many MOS6502s from China are in fact other types of 6502's.
If that is so then I would have to fully agree.
Be normal.
User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

Re: which kind of fake? a VIC20 kernal that test the CPU...

Post by Floopy »

I still see people telling me "I got a sweet deal on a bunch of 6502s on Ebay". They don't like to admit that they got ripped of until they get them.
-Floopy
User avatar
Kweepa
Vic 20 Scientist
Posts: 1315
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: which kind of fake? a VIC20 kernal that test the CPU...

Post by Kweepa »

Is this really more convenient than a short program?
I suppose you can test it without storage hardware, but you have to open the case and swap out a ROM...?!
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: which kind of fake? a VIC20 kernal that test the CPU...

Post by eslapion »

Floopy wrote:I still see people telling me "I got a sweet deal on a bunch of 6502s on Ebay". They don't like to admit that they got ripped of until they get them.
On the C64, a lot of programs use the illegal opcodes or intricate features of the NMOS 6502 (6510) either to make programs go faster or as part of a copy protection scheme but I truly don't know of any programs on the VIC-20 which would have problems running with a CMOS 6502 except for a few video/audio demos. I certainly don't know of any commercial programs having any problems.

In fact, on the VIC-20 using a CMOS 6502 is probably an advantage because it consumes only a small fraction of the power of the NMOS version and produces virtually no heat.

Since the 1541 drive is mostly used with the C64 then it may not be a good idea to use such an 'upgrade' there, at least if you intend to run demos or sophisticated software for the C64 which may include copy protected ones.

Also, CMOS 6502 can usually run at much higher frequencies than their NMOS counterpart. If you intend to use a 6502 CPU for a faster specific application then you may end up getting a free perk.

So, 'ripped off' is a relative thing.
Be normal.
Post Reply