Welcome, Guest. Please login or register.


Author Topic: Components from China (Read 3271 times)

Offline BruceTanner

  • EP user
  • *
  • Posts: 487
  • Country: gb
  • OS:
  • Linux Linux
  • Browser:
  • Chrome 31.0.1650.59 Chrome 31.0.1650.59
    • View Profile
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

  • EP addict
  • *
  • Posts: 13534
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 26.0 Firefox 26.0
    • View Profile
    • 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 user
  • *
  • Posts: 487
  • Country: gb
  • OS:
  • Linux Linux
  • Browser:
  • Chrome 31.0.1650.59 Chrome 31.0.1650.59
    • View Profile
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
  • OS:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 6.0 Safari 6.0
    • View Profile
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...