Welcome, Guest. Please login or register.


Author Topic: Components from China (Read 5442 times)

Offline BruceTanner

  • EP lover
  • *
  • Posts: 607
  • Country: gb
Re: Components from China
« Reply #15 on: 2014.January.04. 19:28:30 »
Quote from: Zozosoft
 The EXOS 2.4 can display the CPU type (NMOS or CMOS)
Zozo just out of interest...how does EXOS 2.4 know whether it is NMOS or CMOS?

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: Components from China
« Reply #16 on: 2014.January.04. 19:40:39 »
Quote from: BruceTanner
Zozo just out of interest...how does EXOS 2.4 know whether it is NMOS or CMOS?
Use the known difference at the "OUT (C),F" (0EDh,71h) undocumented instructions, it is send 0 on NMOS and 0FFh on CMOS.
Code: ZiLOG Z80 Assembler
  1. Z80             LD C,0B1H
  2.                 OUT (C),F
  3.                 IN A,(C)
  4.                 OR A
  5.                 JR NZ,CMOS

It is also can be tested by the interrupt flag bug.

Offline BruceTanner

  • EP lover
  • *
  • Posts: 607
  • Country: gb
Re: Components from China
« Reply #17 on: 2014.January.04. 19:49:37 »
Quote from: Zozosoft
Use the known difference at the "OUT (C),F" (0EDh,71h) undocumented instructions, it is send 0 on NMOS and 0FFh on CMOS
Thanks; I didn't know of that!

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
Re: Components from China
« Reply #18 on: 2014.February.09. 21:51:16 »
Only just read this thread fully, very interesting! Out of all the IC's I have ordered from China only 1 lot did not arrive, and the ones which did arrive were genuine (they all worked fine anyway!).

I'll be a bit more wary after reading Zozo's comments...