Subversion Repositories pentevo

Rev

Rev 883 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #pragma once
  2. void set_mode(ROM_MODE mode);
  3. void set_banks();
  4. void set_scorp_profrom(unsigned read_address);
  5. void cmos_write(unsigned char val);
  6. unsigned char cmos_read();
  7.  
  8. Z80INLINE u8 *am_r(unsigned addr)
  9. {
  10. #ifdef MOD_VID_VD
  11.    if (comp.vdbase && (unsigned)((addr & 0xFFFF) - 0x4000) < 0x1800) return comp.vdbase + (addr & 0x1FFF);
  12. #endif
  13.    return bankr[(addr >> 14) & 3] + (addr & (PAGE-1));
  14. }
  15. //u8 __fastcall rmdbg(u32 addr);
  16. //void __fastcall wmdbg(u32 addr, u8 val);
  17. //u8 *__fastcall MemDbg(u32 addr);
  18.