/[gxemul]/trunk/src/machines/machine_prep.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/machines/machine_prep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 41 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: machine_prep.c,v 1.17 2007/01/21 21:02:57 debug Exp $   *  $Id: machine_prep.c,v 1.20 2007/06/15 18:08:10 debug Exp $
29   *   *
30   *  Machines conforming to the PowerPC Reference Platform specs.   *  COMMENT: Machines conforming to the PowerPC Reference Platform specs
31   */   */
32    
33  #include <stdio.h>  #include <stdio.h>
# Line 57  MACHINE_SETUP(prep) Line 57  MACHINE_SETUP(prep)
57          case MACHINE_PREP_IBM6050:          case MACHINE_PREP_IBM6050:
58                  machine->machine_name =                  machine->machine_name =
59                      "PowerPC Reference Platform, IBM 6050/6070";                      "PowerPC Reference Platform, IBM 6050/6070";
                 machine->stable = 1;  
60                  model_name = "IBM PPS Model 6050/6070 (E)";                  model_name = "IBM PPS Model 6050/6070 (E)";
61    
62                  if (machine->emulated_hz == 0)                  if (machine->emulated_hz == 0)
# Line 74  MACHINE_SETUP(prep) Line 73  MACHINE_SETUP(prep)
73                  bus_pci_add(machine, pci_data, machine->memory,                  bus_pci_add(machine, pci_data, machine->memory,
74                      0, 13, 0, "dec21143");                      0, 13, 0, "dec21143");
75    
76                  if (machine->use_x11) {                  if (machine->x11_md.in_use) {
77                          bus_pci_add(machine, pci_data, machine->memory,                          bus_pci_add(machine, pci_data, machine->memory,
78                              0, 14, 0, "s3_virge");                              0, 14, 0, "s3_virge");
79                  }                  }
# Line 133  MACHINE_SETUP(prep) Line 132  MACHINE_SETUP(prep)
132          /*  type: console  */          /*  type: console  */
133          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+12, 20);          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+12, 20);
134          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+16, 1);          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+16, 1);
135          store_buf(cpu, cpu->cd.ppc.gpr[6]+20, machine->use_x11? "vga":"com", 4);          store_buf(cpu, cpu->cd.ppc.gpr[6]+20,
136                machine->x11_md.in_use? "vga":"com", 4);
137          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+24, 0x3f8);/*  addr  */          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+24, 0x3f8);/*  addr  */
138          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+28, 9600);/*  speed  */          store_32bit_word(cpu, cpu->cd.ppc.gpr[6]+28, 9600);/*  speed  */
139    

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26