home *** CD-ROM | disk | FTP | other *** search
/ Dream 55 / Amiga_Dream_55.iso / RISCOS / MAGAZINE / NEWS / PCE021.ZIP / Pce021 / Src / hdr / defines next >
Text File  |  1998-02-26  |  496b  |  24 lines

  1. ;    defines.hdr
  2. ;    -----------
  3. ;    Definitions shared between all PC Engine source code
  4.  
  5.  
  6. r_p        RN    4    ; processor flags and IRQ status
  7. r_pc        RN    5    ; program counter
  8. r_s        RN    6    ; stack offset
  9. r_a        RN    7    ; accumulator
  10. r_x        RN    8    ; index register
  11. r_y        RN    9    ; index register
  12. timer        RN    10    ; opcode cycles left
  13. wmemory        RN    11    ; pointer to mapping for memory writes
  14. rmemory        RN    12    ; pointer to mapping for memory reads
  15. data        RN    12    ; extra data (defined below) MUST BE IN R12!
  16.  
  17.  
  18. IRQ2        *    1
  19. IRQ1        *    2
  20. TIQ        *    4
  21.  
  22.  
  23.     END
  24.