hardwaredb/include/setcpu.h

16 lines
386 B
C
Raw Normal View History

// void setCPU(){};
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
*/
void setCPU(CPU *pCPU, float mmainclock) {
cout << "Coming from the setCPU function in setcpu.h" << endl;
pCPU->mainclock = mmainclock;
cout << "Incoming main clock variable was: " << mmainclock << endl;
cout << "Leaving setCPU()\n\n";
}