2025-01-28 19:23:52 -07:00
|
|
|
// void setCPU(){};
|
2025-01-28 15:51:35 -07:00
|
|
|
|
2025-01-28 19:47:41 -07:00
|
|
|
/* this function's Incoming arguments are a pointer to the CPU class
|
|
|
|
|
"CPU *pCPU" and the new mainclock speed
|
|
|
|
|
*/
|
2025-01-28 19:23:52 -07:00
|
|
|
void setCPU(CPU *pCPU, float mmainclock) {
|
2025-01-28 18:47:32 -07:00
|
|
|
cout << "Coming from the setCPU function in setcpu.h" << endl;
|
2025-01-28 19:23:52 -07:00
|
|
|
|
|
|
|
|
pCPU->mainclock = mmainclock;
|
|
|
|
|
cout << "Incoming main clock variable was: " << mmainclock << endl;
|
|
|
|
|
|
2025-01-28 18:47:32 -07:00
|
|
|
cout << "Leaving setCPU()\n\n";
|
2025-01-28 15:51:35 -07:00
|
|
|
}
|
2025-01-28 18:47:32 -07:00
|
|
|
|
|
|
|
|
|