mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-02-05 17:30:41 +00:00
add rev. 0 random char at power-on
This commit is contained in:
parent
093c4dae2f
commit
ce3badc281
@ -47,6 +47,11 @@ void Emulator::toggleComputerPower() {
|
||||
}
|
||||
|
||||
void Emulator::powerOnComputer() {
|
||||
if (this->apple2.revision == 0) {
|
||||
unsigned char key = 33u + rand()%94;
|
||||
this->keypresses.push(key);
|
||||
this->lastKeyDown = key;
|
||||
}
|
||||
this->apple2.powerOn();
|
||||
this->screenImage.drawPower(true);
|
||||
this->display.setNoise(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user