Diff for /np2/io/cgrom.c between versions 1.12 and 1.15

version 1.12, 2004/06/17 10:09:46 version 1.15, 2007/11/03 00:00:20
Line 62  static void IOOUTCALL cgrom_oa1(UINT por Line 62  static void IOOUTCALL cgrom_oa1(UINT por
   
         CGROM   cr;          CGROM   cr;
   
   //      TRACEOUT(("%.4x:%.2x [%.4x:%.4x]", port, dat, CPU_CS, CPU_IP));
         cr = &cgrom;          cr = &cgrom;
         cr->code = (dat << 8) | (cr->code & 0xff);          cr->code = (dat << 8) | (cr->code & 0xff);
         cgwindowset(cr);          cgwindowset(cr);
Line 73  static void IOOUTCALL cgrom_oa3(UINT por Line 74  static void IOOUTCALL cgrom_oa3(UINT por
   
         CGROM   cr;          CGROM   cr;
   
   //      TRACEOUT(("%.4x:%.2x [%.4x:%.4x]", port, dat, CPU_CS, CPU_IP));
         cr = &cgrom;          cr = &cgrom;
         cr->code = (cr->code & 0xff00) | dat;          cr->code = (cr->code & 0xff00) | dat;
         cgwindowset(cr);          cgwindowset(cr);
Line 108  static void IOOUTCALL cgrom_oa9(UINT por Line 110  static void IOOUTCALL cgrom_oa9(UINT por
 static REG8 IOINPCALL cgrom_ia9(UINT port) {  static REG8 IOINPCALL cgrom_ia9(UINT port) {
   
         CGROM   cr;          CGROM   cr;
 const BYTE      *ptr;  const UINT8     *ptr;
         int             type;          int             type;
   
         cr = &cgrom;          cr = &cgrom;
Line 145  static const IOINP cgromia1[8] = { Line 147  static const IOINP cgromia1[8] = {
                                         NULL,           NULL,           NULL,           NULL,                                          NULL,           NULL,           NULL,           NULL,
                                         cgrom_ia9,      NULL,           NULL,           NULL};                                          cgrom_ia9,      NULL,           NULL,           NULL};
   
 void cgrom_reset(void) {  void cgrom_reset(const NP2CFG *pConfig) {
   
         CGWINDOW        cgw;          CGWINDOW        cgw;
   
Line 159  void cgrom_reset(void) { Line 161  void cgrom_reset(void) {
         cgw->fonthigh = fontrom + 0x7fff0;          cgw->fonthigh = fontrom + 0x7fff0;
 #endif  #endif
         cgw->writable = 0;          cgw->writable = 0;
   
           (void)pConfig;
 }  }
   
 void cgrom_bind(void) {  void cgrom_bind(void) {

Removed from v.1.12  
changed lines
  Added in v.1.15


RetroPC.NET-CVS <cvs@retropc.net>