/[gxemul]/trunk/src/machines/machine_bebox.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_bebox.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_bebox.c,v 1.11 2007/02/16 19:57:56 debug Exp $   *  $Id: machine_bebox.c,v 1.14 2007/06/15 18:08:10 debug Exp $
29     *
30     *  COMMENT: BeBox
31   *   *
32   *  Experimental machine for running NetBSD/bebox (see   *  Experimental machine for running NetBSD/bebox (see
33   *  http://www.netbsd.org/Ports/bebox/ for more info.)   *  http://www.netbsd.org/ports/bebox/ for more info.)
34   */   */
35    
36  #include <stdio.h>  #include <stdio.h>
# Line 92  MACHINE_SETUP(bebox) Line 94  MACHINE_SETUP(bebox)
94          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 12, 20);  /* next */          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 12, 20);  /* next */
95          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 16, 1); /* console */          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 16, 1); /* console */
96          store_buf(cpu, cpu->cd.ppc.gpr[6] + 20,          store_buf(cpu, cpu->cd.ppc.gpr[6] + 20,
97              machine->use_x11? "vga" : "com", 4);              machine->x11_md.in_use? "vga" : "com", 4);
98          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 24, 0x3f8);/* addr */          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 24, 0x3f8);/* addr */
99          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 28, 9600);/* speed */          store_32bit_word(cpu, cpu->cd.ppc.gpr[6] + 28, 9600);/* speed */
100    

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

  ViewVC Help
Powered by ViewVC 1.1.26