Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 5039

The Zilog Z80 microprocessor. Prefer [game-boy] instead for questions about the Game Boy CPU nicknamed the ‘GBZ80’.

7 votes
Accepted

Which Z80 opcodes can I use without a stack?

Hence, I'd make sure you actually run it (Z80 executes from PC=0 after the restart - is this where your code is situated?) …
introspec's user avatar
  • 4,207
40 votes
Accepted

Did anyone ever use the extra set of registers on the Z80?

The key to efficient programming on Z80 is to use registers as much as possible. … I can easily believe that designers of Z80 intended the use of the alternative set of registers as an efficient way of context switching. …
introspec's user avatar
  • 4,207
1 vote

TI-86 sound capabilities

No, TI-86 does not have a purpose-built sound output. However, it has a "link port" (2.5mm Mono Jack connector). People seem to usually connect this jack to a piezo-buzzer or to a mono headphones, see …
introspec's user avatar
  • 4,207
3 votes

When first CMOS versions of Z80 became available and were they ever used in (non-portable) h...

In the 1985 edition of the Zilog's Data Book CMOS version of Z80 (Z84C00) is shown as a new product for 1985. …
introspec's user avatar
  • 4,207
7 votes

Managing registers/memory effectively on the Z80

software for Z80 as the primary target. … They are supported by every clone of Z80, so don't worry about their support, much software uses them. …
introspec's user avatar
  • 4,207
66 votes

Why do C to Z80 compilers produce poor code?

If you try translating C into Z80, you'll see that Z80 index registers and stack don't behave quite as you expect. … In other words, Z80 does not fit the C paradigm. …
introspec's user avatar
  • 4,207
19 votes

Why do C to Z80 compilers produce poor code?

Let me show why people who still remember how to code Z80 hate C compilers. … So, this is my brutally honest answer to your question why people like myself say that C compilers for Z80 produce poor code: BECAUSE THEY DO. …
introspec's user avatar
  • 4,207
2 votes

Z80 and video chip contending for random access

You put your code into the fast (upper) memory and immediately the majority of the RAM access cycles issued by Z80 work uncontended. …
introspec's user avatar
  • 4,207
17 votes
Accepted

Good Z80 disassembler/decompiler on modern equipment?

Their answers are not specific to Z80, of course, but two interesting disassemblers mentioned there feature support for Z80 and may prove useful too. … Over the years, many small(er) disassemblers and disassembling tools have been developed either generally for Z80, or for specific computers based on Z80. …
introspec's user avatar
  • 4,207
6 votes

What is the relative code density of 8-bit microprocessors?

vs 6502 (see Section 2 "Z80 CPU vs 6502 CPU. … edge (such as data copying and linear data searching routines, both of which can be done on Z80 using designated commands). …
introspec's user avatar
  • 4,207
1 vote

How much benefit should be expected on a more advanced compiler for z80/r800 based computers?

To make matters worse, a lot of paradigms for efficient Z80 coding are really not fitting into C. … Just like every Z80 coder, I would love to see a compiler with a bit of intuition for the use of Z80 registers, but I do not hold much hope. …
introspec's user avatar
  • 4,207