Author Topic: Anne PCW16  (Read 10823 times)

0 Members and 1 Guest are viewing this topic.

Offline steve

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.263
  • Country: gb
  • Liked: 178
  • Likes Given: 210
Re: Anne PCW16
« Reply #25 on: 21:45, 30 March 12 »
Instead of arguing over trivialities, you could explain how you would get the Z80 to run at the same speed as it would in a CPC.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: Anne PCW16
« Reply #26 on: 22:08, 30 March 12 »
Instead of arguing over trivialities, you could explain how you would get the Z80 to run at the same speed as it would in a CPC.

We should continue this discussion in the CPC# Thread. Let's stay PCW16 here :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline MaV

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.094
  • Country: at
  • Ius summum saepe summa est malitia.
  • Liked: 385
  • Likes Given: 816
Re: Anne PCW16
« Reply #27 on: 14:12, 06 June 13 »
Thread necromancy:

@TFM:

According to these sites, the PCW16 uses a standard three-button mouse with the "Mouse Systems" protocol.
Amstrad PcW16

JOYCE: Downloads
In the file bin/AnneSerialMouse.cxx there's a reference to Mouse Systems.

And finally here are the "Mouse Systems" protocol specifics:
What protocol do mice use?

In the end, you'll need to find a 3-button serial mouse, as the Mouse Systems protocol seems to be standard for 3-button PC mice.


MaV
« Last Edit: 14:17, 06 June 13 by MaV »
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

Offline ralferoo

  • Supporter
  • 6128 Plus
  • *
  • Posts: 967
  • Country: gb
  • Liked: 580
  • Likes Given: 221
Re: Anne PCW16
« Reply #28 on: 15:35, 06 June 13 »
Hehe! The British won't take DIN, but DIN would be good for the whole world ;-)
Ummm, what? Plenty of stuff had DIN connectors in the 80s in Britain as the default multi-pole connector choice. And we used to refer to them all as n-pin DIN too (although I can't remember how we used to differentiate between the 180° and 270° versions).

Reel-to-reel tape recorders, other tape recorders, CPC monitor, Dragon joystick ports, etc. You can still just walk into any branch of Maplin and buy them ready for soldering on to things...

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.877
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3821
  • Likes Given: 391
Re: Anne PCW16
« Reply #29 on: 16:42, 06 June 13 »
Even the "As British as it gets" BBC computers used DIN connectors!

Edit: I probably should mention, there's an entire PCW16 including mouse/manuals and all the rest on offer over on Amibay at the moment: http://www.amibay.com/showthread.php?t=46396

Bryce.
« Last Edit: 17:20, 06 June 13 by Bryce »

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.139
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 951
  • Likes Given: 2108
Re: Anne PCW16
« Reply #30 on: 18:31, 06 June 13 »
Are the protocols that different so that one has tried to build a PS/2 or USB to mouse systems adapter?

I'm pretty sure that it would be cheaper than trying to find that kind of mice.


Edit: I found this description of the protocols.
« Last Edit: 18:38, 06 June 13 by robcfg »

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: Anne PCW16
« Reply #31 on: 18:42, 06 June 13 »
DIN in GB? I never stop learning!
 
Thanks Rob for the link!
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline MaV

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.094
  • Country: at
  • Ius summum saepe summa est malitia.
  • Liked: 385
  • Likes Given: 816
Re: Anne PCW16
« Reply #32 on: 18:56, 06 June 13 »
Well, yeah, someone is making money out of this market niche:
PS/2 and Serial Mouse Protocol Converters from Vetra Systems, the Industry's
PS/2 and Serial Mouse Protocol Converters from Vetra Systems, the Industry's

VIP-327-PS-3B
for 65$

Perhaps there's a Chinese company for that.

They may be hard to find, but buying a used serial three button mice will be much cheaper, even if you have to wait a little to find one.

Anyway, as I said in my previous post, the point is: The PCW16's mouse is a PC standard 3 button mouse and has a known protocol.
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: Anne PCW16
« Reply #33 on: 19:00, 06 June 13 »

Yes, and it's extremely hard to get it. I tried about 10 mice, and not a single one worked.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.877
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3821
  • Likes Given: 391
Re: Anne PCW16
« Reply #34 on: 16:31, 12 June 13 »
Here's the original user manual on offer, in case you might get more info there: Amstrad PCW16 User Manual 1996 | eBay

Bryce.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: Anne PCW16
« Reply #35 on: 19:23, 12 June 13 »
Sadly only UK  :(
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
  • Likes Given: 554
Re: Anne PCW16
« Reply #36 on: 15:04, 15 March 15 »

Exactly! And this ASIC lacks some of the illegal Z80 instructions. (I'm not talking about the undocumented thought, that's a difference).

Sorry for digging out this old thread, but this is exactly, what I am wondering about:
Does the "Z80" in the PcW16 ANNE Asic support all kind of 8bit index register access? Like LD r,IXL or DEC IYH or ADD IXH etc. etc.

CU,
Prodatron

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.139
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 951
  • Likes Given: 2108
Re: Anne PCW16
« Reply #37 on: 16:51, 15 March 15 »
I've just asked Habi (CP/M Box author) and he thinks that all these are supported . He also thinks it passes all zexall test. Not so sure it supports the illegal instructions. He'll be testing it and I'll be telling you the results as soon as he tells me.

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
  • Likes Given: 554
Re: Anne PCW16
« Reply #38 on: 17:51, 15 March 15 »
Thanks a lot! :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: Anne PCW16
« Reply #39 on: 23:45, 15 March 15 »
Sorry for digging out this old thread, but this is exactly, what I am wondering about:
Does the "Z80" in the PcW16 ANNE Asic support all kind of 8bit index register access? Like LD r,IXL or DEC IYH or ADD IXH etc. etc.

CU,
Prodatron


Looked at the PCB (back the day), it's a kind of custom chip instead of the Z80. As I know it supports at least the commonly used undocumented and illegal instructions. But honestly I didn't make a full test, just used couple source examples.

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.139
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 951
  • Likes Given: 2108
Re: Anne PCW16
« Reply #40 on: 00:12, 16 March 15 »
Habi just confirmed that the pcw16 passes all zexall tests, and at 4x speed!

He told me that scf/ccf don't work because it's a nec core, but it's normal.

He thinks that the undocumented/illegal instructions should work fine as with zilog's z80.

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
  • Likes Given: 554
Re: Anne PCW16
« Reply #41 on: 00:25, 16 March 15 »
Thanks a lot for the info!
SCF, CCF don't work?? Phew, but these are 100% "official" Z80 commands and sometimes quite usefull. Or do they still set/negate the CF but don't modify N,H?

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline Habi

  • CPC464
  • **
  • Posts: 46
  • Country: es
  • Liked: 103
  • Likes Given: 19
Re: Anne PCW16
« Reply #42 on: 23:36, 17 March 15 »
Both SCF and CCF work perfectly; it's just that the undocumented flags behave in a different way. :)
 
I’ll try to test all the undocumented instructions (including duplicates and double nops) and illegal ones (with redundant or mutual exclusive prefixes), just to be sure.

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
  • Likes Given: 554
Re: Anne PCW16
« Reply #43 on: 00:24, 18 March 15 »
Thanks, Habi, and good to read from you here!  :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: Anne PCW16
« Reply #44 on: 16:54, 18 March 15 »
Both SCF and CCF work perfectly; it's just that the undocumented flags behave in a different way. :)
 
I’ll try to test all the undocumented instructions (including duplicates and double nops) and illegal ones (with redundant or mutual exclusive prefixes), just to be sure.


That's awesome! And welcome here, even if my welcome comes a bit late.  :) :) :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Habi

  • CPC464
  • **
  • Posts: 46
  • Country: es
  • Liked: 103
  • Likes Given: 19
Re: Anne PCW16
« Reply #45 on: 17:19, 20 March 15 »
Well, it appears to behave exactly like a Zilog Z80. :D

Double o exclusive prefixes doesn’t cancel each other, redundant do nothing. The double nops ($ED) behave like that, and also the undocumented opcodes worked, redundant (NEG, IM x, …) or not (SLL).

There are two things I would like to test also: the OUT (C), 0 opcode (I suspect will be more like OUT (C), $FF because it’s CMOS) and MemPTR (which I believe will be again the same as Zilog).

I'll let you know when I have more information. :)

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 390
  • Likes Given: 60
Re: Anne PCW16
« Reply #46 on: 01:00, 23 March 15 »
Both SCF and CCF work perfectly; it's just that the undocumented flags behave in a different way. :)

Zexall doesn't test the SCF/CCF flags properly, and I don't think it's been mentioned here before. I have the info on it and it's something I'm planning on implementing in my emulators for the next release.

Offline Habi

  • CPC464
  • **
  • Posts: 46
  • Country: es
  • Liked: 103
  • Likes Given: 19
Re: Anne PCW16
« Reply #47 on: 01:40, 23 March 15 »
Finally I’ve had some time to test these things. :)

The Out puts an $FF on the bus (as expected), and MemPTR works the same way as a Zilog processor.

The PCW ASIC has also some kind of buffer for I/O which can be made float to any value, but that’s another story… ;)

Zexall doesn't test the SCF/CCF flags properly, and I don't think it's been mentioned here before. I have the info on it and it's something I'm planning on implementing in my emulators for the next release.

Yes, I know, but it is good enough to differentiate between Zilog and Nec, which was my point being it a NEC macrocell. :)

And for the record: there is NO good SCF / CCF test, because it’s dependant on the previous instruction, as seen on [Z80 at Scratchpad, the home of unlimited fan-fiction mini-wikis!].

This article is particularly interesting: [Down to the silicon: how the Z80's registers are implemented
Down to the silicon: how the Z80's registers are implemented]. It appears flags are latched in a temporal register, so we have here something similar to MemPTR logic.

For example, my Z80 emulation passes all the exhaustive Spectrum tests (way better than ZexAll) except the one specifically made to expose this double behaviour of SCF and CCF. I’ve some information on it also, but it’s a bit confusing; so I’m waiting to someone translate those high resolution z80 scans into transistors. :D

Edit: I wold like to clarify that I was referring the NEC (uPD780) version of Z80. The original Zilog behaviour is known thanks to Patrik Rak, and of course it's correctly handled in my Z80 emulation. ;)
« Last Edit: 10:20, 23 March 15 by Habi »

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
  • Likes Given: 554
Re: Anne PCW16
« Reply #48 on: 01:50, 23 March 15 »
As long as SCF, CCF and all 8bit IX/IY Index register commands (with IXL, IXH, IYL, IYH) are working "normal" I am very happy!  ;D

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM