1 |
/* |
/* |
2 |
* Copyright (C) 2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2006-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_rca180x.c,v 1.2 2006/09/21 11:53:26 debug Exp $ |
* $Id: cpu_rca180x.c,v 1.4 2006/12/30 13:30:55 debug Exp $ |
29 |
* |
* |
30 |
* RCA180X CPU emulation. |
* RCA180X CPU emulation. |
31 |
* |
* |
80 |
* Returns 1 on success, 0 if there was no matching RCA180X processor with |
* Returns 1 on success, 0 if there was no matching RCA180X processor with |
81 |
* this cpu_type_name. |
* this cpu_type_name. |
82 |
*/ |
*/ |
83 |
int rca180x_cpu_new(struct cpu *cpu, struct memory *mem, struct machine *machine, |
int rca180x_cpu_new(struct cpu *cpu, struct memory *mem, |
84 |
int cpu_id, char *cpu_type_name) |
struct machine *machine, int cpu_id, char *cpu_type_name) |
85 |
{ |
{ |
86 |
int i; |
int i; |
87 |
|
|