Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppleWin erroneously generating tons of screenshots #966

Closed
tomcw opened this issue Jun 15, 2021 · 12 comments
Closed

AppleWin erroneously generating tons of screenshots #966

tomcw opened this issue Jun 15, 2021 · 12 comments
Labels

Comments

@tomcw
Copy link
Contributor

tomcw commented Jun 15, 2021

Willi / A2CPM on cea2 group, "AppleWin 1.30.0 and supported Windows versions":

AppleWin 1.30.0, for some reason to be determined, is generating tons of bit maps.

[Tom] Sounds very odd! Do you mean lots of screenshots? As if someone is pressing the PrintScreen key?

Yes. Version 1_28_0_6 also runs slowly so I assume the same thing happens w/ that version. Nothing resting on the keyboard for all four runs.

I have many versions of AppleWin installed on my XP system. The last four are versions 1_21_1, 1_25_0_4: 7, 1_28_0_6 and 1_30_0. With the first two versions listed the the assembly runs in 7 seconds. With the latter two it takes minutes. The XP system is no longer connected to the I'net so transferring files out of it will require the use of sneakernet.

NB. The slowness reported here is due to the erroneous screenshotting!

@wilserv
Copy link

wilserv commented Jun 16, 2021

AW.zip
src.hdv -> s7, d1 me.hdv -> S7, d2
click on upper right corner
Enter 'cd tp' then enter 'al'

@tomcw
Copy link
Contributor Author

tomcw commented Jun 19, 2021

Thanks @wilserv, I'll take a look at this.

@tomcw
Copy link
Contributor Author

tomcw commented Jun 20, 2021

A quick check:

  • at normal speed (1MHz) it takes just over 3 mins to execute the al command
  • at full speed on my PC, it takes ~3s to execute!

I'm not seeing any screenshots generated, unless I manually press the PrintScrn key.

One thing worth trying to using the -no-printscreen-key switch with AppleWin, which prevents the PrintScreen key from being registered, eg:

> applewin.exe -no-printscreen-key

@wilserv
Copy link

wilserv commented Jun 20, 2021 via email

@tomcw
Copy link
Contributor Author

tomcw commented Jun 20, 2021

It's disappointing ...

Yeah, I agree. Maybe it's a Windows XP related thing? I can only test as far back as Windows 7.

btw, I would have thought the "-no-printscreen-key" switch (added at AppleWin 1.27.0.0) would've worked. Can you confirm you tested it?

@wilserv
Copy link

wilserv commented Jun 21, 2021 via email

@tomcw
Copy link
Contributor Author

tomcw commented Jun 21, 2021

@wilserv - no problem... but don't you still have a case where newer versions run much slower (~10x ?) than older versions?

@wilserv
Copy link

wilserv commented Jun 21, 2021 via email

@wilserv
Copy link

wilserv commented Jun 22, 2021 via email

@tomcw
Copy link
Contributor Author

tomcw commented Jun 22, 2021

@wilserv:

The assembly runs quickly in 25.0.3 and 25.0.4, slowly in 26.0.6 and 27.0.0.

The transition from 1.25.0.x to 1.26.0.0 was when we added NTSC & cycle-accurate video support, which had a big impact on speed, meaning it required the Windows PC to do more intensive processing.

With versions 1_28_0_6 and 1_30_0 it takes 13 minutes.

At 13 minutes, this is 4x slower than my 1MHz time of 3mins! So this implies that your XP system isn't fast enough to run emulation at 1MHz!

You can try running in full-speed mode (eg. CTRL+3 or use the Configuration UI) as this will only periodically update the video display. Use AppleWin 1.30.x for this.
(And use CTRL+1 to switch back to normal 1MHz mode.)

But it could just be that your XP system is too slow :-/

@wilserv
Copy link

wilserv commented Jun 22, 2021 via email

@tomcw
Copy link
Contributor Author

tomcw commented Jun 23, 2021

Thanks @wilserv, it seems like you are fine with using 1.25.0.4 - in which case I will close this issue.

@tomcw tomcw closed this as completed Jun 23, 2021
@tomcw tomcw added the invalid label Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants