changeset 6:bf1edc698238

Fixed attribute register update (flip-flop, oops).
author Michal Necasek <mnecasek@yahoo.com>
date Wed, 14 Jun 2017 13:23:11 +0200
parents 69f81cb2fb50
children af25f34dfa5a
files boxv.c videomp.rc
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/boxv.c	Mon Jul 28 14:08:32 2014 +0200
+++ b/boxv.c	Wed Jun 14 13:23:11 2017 +0200
@@ -1,6 +1,6 @@
 /*****************************************************************************
 
-Copyright (c) 2012  Michal Necasek
+Copyright (c) 2012-2017  Michal Necasek
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
@@ -324,7 +324,8 @@
     /* Re-enable the sequencer. */
     vid_wridx( cx, VGA_SEQUENCER, VGA_SR_RESET, VGA_SR0_NORESET );
 
-    /* Re-enable palette. */
+    /* Reset flip-flop again and re-enable palette. */
+    vid_inb( cx, VGA_STAT_ADDR );
     vid_outb( cx, VGA_ATTR_W, 0x20 );
 
     return( 0 );
--- a/videomp.rc	Mon Jul 28 14:08:32 2014 +0200
+++ b/videomp.rc	Wed Jun 14 13:23:11 2017 +0200
@@ -1,6 +1,6 @@
 #include <windows.h>
 
-#define VMP_VERSION     1,00,00,002
+#define VMP_VERSION     1,00,00,005
 VS_VERSION_INFO VERSIONINFO
 FILEVERSION    VMP_VERSION
 PRODUCTVERSION VMP_VERSION
@@ -16,12 +16,12 @@
         BEGIN
             VALUE "CompanyName",     "The OS/2 Museum"
             VALUE "FileDescription", "Boxvideo Video Miniport Driver"
-            VALUE "FileVersion",     "1.4"
+            VALUE "FileVersion",     "1.5"
             VALUE "InternalName",    "boxvideo.sys"
-            VALUE "LegalCopyright",  "Copyright \251 2014 The OS/2 Museum"
+            VALUE "LegalCopyright",  "Copyright \251 2017 The OS/2 Museum"
             VALUE "OriginalFilename","boxvideo.sys"
             VALUE "ProductName",     "Sample Video Miniport"
-            VALUE "ProductVersion",  "1.4"
+            VALUE "ProductVersion",  "1.5"
         END
 
     END