Undocumented Commands

ZXNet echo conference «code.zx»

From Orionsoft To All 8 March 2006

Hello, Vitamin The holes in the range ED40 to ED7F typically duplicate documented instructions: - NEG at ED4C, ED54, ED5C, ED64, ED6C, ED74, ED7C - NOP at ED77, ED7F - RETN at ED55, ED65, ED75 - RETI at ED5D, ED6D, ED7D - IM ? at ED4E, ED6E - IM 0 at ED66 - IM 1 at ED76 - IM 2 at ED7E - IN F,(C) at ED70 - OUT (C),0 at ED71 IM ? sets the interrupt mode flip-flops to an undefined state, which seems to act like IM 0 or IM 1. These states are indistinguishable on the CPC (!CPC chooses IM 0 to indicate an abnormal state). IN F,(C) performs the input operation, setting the flags as normal, but throws the input value away. OUT (C),0 outputs zero to the port. (Note it would output 255 if the Z80 used in the CPC were the CMOS variant rather than the NMOS variant.)

From Alexander Shushkov To All 9 March 2006

Hello, lvd lvd> Well, sorry, inf was never undocumented, at least lvd> least in branded/translated from branded docks! A command is undocumented if there is no established mnemonics for it. Yes Ivan Roshchin once said. I won’t say that this is a quote, because... I'm afraid of something make a mistake :) But it seems like a sober thought.

From Vladimir Kladov To All 10 March 2006

Hello axor not documented - only means that it is not documented in official document. That's all. Currently all undocumented commands well documented. Mnemonics are the tenth thing. I don't like mnemonics specific asma - you can use your own through macro commands and define.

From Alexander Shushkov To All 12 March 2006

Hello Max Wood Max> not documented - only means that it is not documented in Max> official document. That's why we call it that. Max> At the moment, all undocumented commands are good Max> are documented. How can this be? Some kind of contradiction.

From Vadim Osadchy To All 12 March 2006

Hello, Vladimir Kladov Vla> At the moment, all undocumented commands are good Vla> are documented. So help me find this documentation, please!!!!

From Vladimir Kladov To All 12 March 2006

Hello axor Sean Young. The Undocumented Z80 Documented. That's what it's called. z80-documented.pdf. It was on worldofspectr.org if you can’t find it by searching.

From goodboy To All 13 March 2006

Hello, Vladimir Kladov out (c),0 was used in the zxformat log, on some processors this the command was not executed

From Andrey Alexandrovich Titov To All 13 March 2006

Hello, goodboy goo> out (c),0 used in zxformat journal, on some processors goo> this command was not executed Which ones exactly?

From Andrey Alexandrovich Titov To All 13 March 2006

Hello, Vladimir Kladov Vla> Accordingly, it’s easy to create a test and write it down according to some thread Vla> code address Vla> Vla> type Vla> ld c,#FE Vla> out (c),0 Vla> ret Vla> Vla> and call from Vasik. If the border is not made black, then these are the Vla> processors. Even 10 years ago MacBuster (according to him) on this test a bunch of percentages I tried it, the border was black everywhere :v2_rolley

From Vladimir Kladov To All 13 March 2006

Hello, psb Accordingly, it’s easy to create a test, write down the codes at some address type ld c,#FE out (c),0 ret and call from Vasik. If the border is not made black, then these are the processors.

From psb To All 13 March 2006

Hello Titus Tit> Which ones exactly? in the format itself (of some kind) it was written that on some processes that then they set it to KAY, this command output to port #FF.. personally I had one like this percent in the Pentagon, but I don’t remember how it was labeled.. and they had port #7FFD there (in 3rd format), so the intra did not work...

From goodboy To All 14 March 2006

Hello Titus I remember exactly that Oldman had a pro who misunderstood out (c),0

From Vadim Osadchy To All 18 March 2006

Hello, Vladimir Kladov Vla> Sean Young. The Undocumented Z80 Documented. That's what it's called. Vla> z80-documented.pdf. It was on worldofspectr.org, if you didn’t search Vla> is found. Thank you very much. You helped me a lot!!!

From Vladimir Kladov To All 18 March 2006

Hello Max Wood It's nice to be thanked. But - pay attention: not everything needs to be believed, even in this document. For example, an obvious mistake with the duration of the DJNZ team suggests the possibility of some other typos. In general, I'm not very I love the pdf format because you can edit it if there are typos - at least for myself - seems to be a very difficult undertaking. I tried exporting it to some text format to make html, such miracles have begun... ALL the letters f in the text have disappeared somewhere, for example. I gave up on this matter. If it were in HTML format, everything would be simpler, and much.

From Vladimir Kladov To All 18 March 2006

Hello, Vladimir Kladov On www.Z80.info I found version 0.6, 2003. There it was fixed about DJNZ. (There were also other inaccuracies, but I remember this one). The question about 0.91 remains. The document itself does not say where his “home” is. Wrong approach: if only it indicated how to contact the author, or where the latest version is located document, everything would be simpler. Yeah, I'm downloading another one. It is reassuring that the source codes in latex. Maybe this is the last one. That's right, it's her. The question has been removed.

From Vladimir Kladov To All 18 March 2006

Hello, boo_boo Hmm, I have 10/13. Version 0.4 2001. Where did you get the new one? I like this document in I downloaded it from WoS last year.

From Stanislav Lomakin To All 18 March 2006

Hello, Vladimir Kladov Vla> Hmm, I have 10/13. Version 0.4 2001. Where did you get the new one? I like this Vla> I downloaded the document from WoS last year. http://myquest.nl/z80undocumented/

From Stanislav Lomakin To All 18 March 2006

Hello, Vladimir Kladov Vla> an obvious mistake with the duration of the DJNZ team suggests an o Vla> the possibility of any other typos. In general, I really don’t like the format Vla> pdf, due to the fact that you can edit it in case of typos what about DJNZ? 2 bytes, 8/13 clock cycles, everything seems to be in place (document version -- 0.91). As for editing, you can download the latex source instead of the PDF, but in an amicable way - write to the maintainer ;)