-
Notifications
You must be signed in to change notification settings - Fork 47
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
[v1.2 only] Crash on changing graphics page after changing PCjr/Tandy video memory size #102
Comments
Thank you for reporting this! Looks like there is an issue with keeping track of the video page when the number of pages changes. Also thanks especially for confirming PCjr behaviour, as I only have access to emulators... |
clear
when in graphics mode
Reproduced on both 1.2 and 2.0 branches |
Tried this on DOSBox with Tandy emulation and Tandy GW-BASIC and it hangs, so unclear what real Tandy hardware does here. I'm going with dropping to text as with the pcjr |
This is now fixed on |
…nging PCjr/Tandy video memory size
Fixed on |
Bug report
Problem
When using pcjr/tandy graphics modes and using
clear
to clear video memory while on a graphical screen, pcbasic does not reset the video mode and will crash if you attempt to access the newly available screen page usingscreen 4,,1,1
(Rather than returningIllegal function call
like it would before theclear
command)On an actual PCjr, when the
clear
command is not a noop, it resets the screen to mode0
. I do not have a Tandy available for testing.Program
Crash log
Notes
PC-BASIC version: 1.2.14 and 2.0.2beta
Operating system version: MacOS 10.14.5
The text was updated successfully, but these errors were encountered: