mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Fixed cursor xor problem...
This commit is contained in:
parent
47d5df1d7d
commit
314908fae3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6374
@ -35,7 +35,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.97 1995/01/30 21:36:28 sos Exp $
|
||||
* $Id: syscons.c,v 1.101 1995/02/07 11:53:27 sos Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
@ -2125,10 +2125,10 @@ draw_cursor(scr_stat *scp, int show)
|
||||
if ((cursor_image & 0x7000) == 0x7000) {
|
||||
cursor_image &= 0x8fff;
|
||||
if(!(cursor_image & 0x0700))
|
||||
cursor_image |= 0x0f00;
|
||||
cursor_image |= 0x0700;
|
||||
} else {
|
||||
cursor_image |= 0x7000;
|
||||
if ((cursor_image & 0x0f00) == 0x0f00)
|
||||
if ((cursor_image & 0x0700) == 0x0700)
|
||||
cursor_image &= 0xf0ff;
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.97 1995/01/30 21:36:28 sos Exp $
|
||||
* $Id: syscons.c,v 1.101 1995/02/07 11:53:27 sos Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
@ -2125,10 +2125,10 @@ draw_cursor(scr_stat *scp, int show)
|
||||
if ((cursor_image & 0x7000) == 0x7000) {
|
||||
cursor_image &= 0x8fff;
|
||||
if(!(cursor_image & 0x0700))
|
||||
cursor_image |= 0x0f00;
|
||||
cursor_image |= 0x0700;
|
||||
} else {
|
||||
cursor_image |= 0x7000;
|
||||
if ((cursor_image & 0x0f00) == 0x0f00)
|
||||
if ((cursor_image & 0x0700) == 0x0700)
|
||||
cursor_image &= 0xf0ff;
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.97 1995/01/30 21:36:28 sos Exp $
|
||||
* $Id: syscons.c,v 1.101 1995/02/07 11:53:27 sos Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
@ -2125,10 +2125,10 @@ draw_cursor(scr_stat *scp, int show)
|
||||
if ((cursor_image & 0x7000) == 0x7000) {
|
||||
cursor_image &= 0x8fff;
|
||||
if(!(cursor_image & 0x0700))
|
||||
cursor_image |= 0x0f00;
|
||||
cursor_image |= 0x0700;
|
||||
} else {
|
||||
cursor_image |= 0x7000;
|
||||
if ((cursor_image & 0x0f00) == 0x0f00)
|
||||
if ((cursor_image & 0x0700) == 0x0700)
|
||||
cursor_image &= 0xf0ff;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user