www.pudn.com > virtual_gameboy-0.8.8.zip > TABLES.H


/** VGB: portable GameBoy emulator ***************************/ 
/**                                                         **/ 
/**                          Tables.h                       **/ 
/**                                                         **/ 
/** This file contains tables of used by Z80 emulation to   **/ 
/** compute SIGN and ZERO flags. It is included             **/ 
/** from Z80.c.                                             **/ 
/**                                                         **/ 
/** Copyright (C) Marat Fayzullin 1994,1995,1996            **/ 
/**               Marcel de Kogel 1996                      **/ 
/**     You are not allowed to distribute this software     **/ 
/**     commercially. Please, notify me, if you make any    **/    
/**     changes to this file.                               **/ 
/*************************************************************/ 
 
byte ZTable[256] = 
{ 
  Z_FLAG,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 
};