> 
> Flag status according to Zilog tables:
> 
>                     | | |P| | | |
> Inst                |C|Z|V|S|N|H| Comments
> --------------------+-+-+-+-+-+-+----------------
> IN r,(C)            |.|r|P|r|0|0| Flags affected by data read
> INI;IND;OUTI;OUTD   |.|r|x|x|1|x| Z=0 if B!=0 otherwise Z=1
> INIR;INDR;OTIR;OTDR |.|1|x|x|1|x|
> 
> Legenda:
> .: not changed
> 0: flag is reset by operation
> 1: flag is set by operation
> r: flag is affected according to result of operation
> x: flag is "don't care" (can be anything)
> P: P/V flag is used as P flag

I've done a lot of work on the undocumented flags of the Z80, and 
interestingly, the official table is absolutely NOT right. 

All the block I/O instructions (INI,IND,OUTI,OUTD,INIR,INDR,OTIR,OTDR) DO 
affect the C flag, and the N flag isn't always set.

You can find all the details here:

        http://www.msxnet.org/tech/z80undoc.txt

And for the ROMs running in page 0 issue: the reason that some ROMs do run in 
Virtual MSX and not in fMSX is because Virtual MSX (should) emulate it like 
Alex described. Not that the emulator is any good, but FYI. There are quite 
some 16/32kB ROMs around which run in page 0.

Sheesh keeping up with this mailinglist is a full-time job. Please stop 
moaning about Outlook Express ... I work the helpdesk of an ISP, so at 
the end of the day I've just about had with people whining about their M$ 
crap.

Just use your mouse and click!! Arrghhh...

(sorry ppl, little side-track here)


Sean

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to