Skip to content

Commit

Permalink
Merge pull request #159 from p2000t/develop
Browse files Browse the repository at this point in the history
merging develop to main for v0.9.2
  • Loading branch information
dionoid committed Jun 4, 2024
2 parents ed48b30 + b7ae2b6 commit 165adbb
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"group": {
"kind": "build",
//"isDefault": true
"isDefault": true
},
"problemMatcher": []
},
Expand Down Expand Up @@ -68,7 +68,7 @@
],
"group": {
"kind": "build",
"isDefault": true
//"isDefault": true
},
"problemMatcher": []
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# M2000 - Philips P2000T Home Computer Emulator
Version 0.9.1
Version 0.9.2

![P2000T](/img/P2000T.png)

Expand Down
2 changes: 1 addition & 1 deletion package/M2000.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleName</key>
<string>M2000</string>
<key>CFBundleShortVersionString</key>
<string>0.9</string>
<string>0.9.2</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
2 changes: 1 addition & 1 deletion package/M2000_amd64/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: M2000
Version: 0.9
Version: 0.9.2
Maintainer: M2000 team
Architecture: amd64
Depends: liballegro5.2 (>=5.2.7), liballegro-dialog5.2 (>=5.2.7), liballegro-audio5.2 (>=5.2.7), liballegro-image5.2 (>=5.2.7)
Expand Down
14 changes: 7 additions & 7 deletions package/WiX/product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

<Product Id="*" UpgradeCode="50c2a4d4-747d-4ee1-8aa5-cca780d1f543"
<Product Id="*" UpgradeCode="50c2a4d4-747d-4ee1-8aa5-cca780d1f544"
Name="M2000"
Version="0.9.0"
Version="0.9.2"
Manufacturer="M2000"
Language="1033">

Expand All @@ -23,16 +23,16 @@
<Icon Id="P2000T.ico" SourceFile="P2000T.ico"/>
<Property Id="ARPPRODUCTICON" Value="P2000T.ico" />

<Upgrade Id="50c2a4d4-747d-4ee1-8aa5-cca780d1f543">
<UpgradeVersion Minimum="0.9.0" OnlyDetect="yes" Property="NEWERVERSIONDETECTED"/>
<UpgradeVersion Minimum="0.0.0" Maximum="0.9.0" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED"/>
<Upgrade Id="50c2a4d4-747d-4ee1-8aa5-cca780d1f544">
<UpgradeVersion Minimum="0.9.2" OnlyDetect="yes" Property="NEWERVERSIONDETECTED"/>
<UpgradeVersion Minimum="0.0.0" Maximum="0.9.2" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED"/>
</Upgrade>
<Condition Message="A newer version of this software is already installed.">NOT NEWERVERSIONDETECTED</Condition>

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="$(var.Program_Files)">
<Directory Id="INSTALLDIR" Name="M2000">
<Component Id="ApplicationFiles" Guid="e5d50ebc-5354-45a1-8438-f0f51d5855e0">
<Component Id="ApplicationFiles" Guid="e5d50ebc-5354-45a1-8438-f0f51d5855e1">
<File Id="M2000.exe" Source="..\..\M2000.exe" />
<File Id="cassette_blue.ico" Source="cassette_blue.ico" />
<File Id="cassette_red.ico" Source="cassette_red.ico" />
Expand Down Expand Up @@ -73,7 +73,7 @@
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ProgramMenuSubfolder" Name="M2000">
<Component Id="ApplicationShortcuts" Guid="973ec9a1-1d88-4c2c-bce5-413742fcf782">
<Component Id="ApplicationShortcuts" Guid="973ec9a1-1d88-4c2c-bce5-413742fcf783">
<Shortcut Id="ApplicationShortcut0"
Name="M2000 - Philips P2000 Emulator"
Description="M2000 - portable Philips P2000 Emulator"
Expand Down
8 changes: 2 additions & 6 deletions src/P2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,9 +769,9 @@ void RefreshScreen_T(void)
reveal display */
fg = 7;
bg = 0;
si = 0;
si = 0; // superimpose
gr = 0;
fl = 0;
fl = 0; // flashing
cg = 1;
hg = 0;
conceal = 0;
Expand Down Expand Up @@ -831,14 +831,10 @@ void RefreshScreen_T(void)
break;
/* Normal height */
case 0x0c:
if (si)
hg = 0;
si = 0;
break;
/* Double height */
case 0x0d:
if (!si)
hg = 0;
si = 1;
if (!found_si)
found_si = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/P2000.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <stdio.h>
#include "Z80.h" /* Z80 emulation declarations */

#define EMULATOR_VERSION "0.9.1-develop"
#define EMULATOR_VERSION "0.9.2"

#if defined(_WIN32) // Windows
#define PATH_SEPARATOR '\\'
Expand Down
2 changes: 1 addition & 1 deletion src/libretro/info/m2000_libretro.info
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ supported_extensions = "cas|p2000t"
corename = "M2000"
license = "GPLv3"
permissions = ""
display_version = "0.9.1"
display_version = "0.9.2"
categories = "Emulator"

# Hardware Information
Expand Down
2 changes: 1 addition & 1 deletion src/libretro/m2000_libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ void retro_get_system_info(struct retro_system_info *info)
{
memset(info, 0, sizeof(*info));
info->library_name = "M2000";
info->library_version = "v0.9.1";
info->library_version = "v0.9.2";
info->need_fullpath = true;
info->valid_extensions = "cas|p2000t";
}
Expand Down

0 comments on commit 165adbb

Please sign in to comment.