Add support for JPlus.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2020-04-13 16:46:41 +01:00
parent b7e5bb8656
commit fc88f17dc5
8 changed files with 15 additions and 2 deletions

View file

@ -96,8 +96,9 @@ namespace
REGSAVE(slotText.c_str(), (DWORD)newCardType);
}
const std::vector<eApple2Type> computerTypes = {A2TYPE_APPLE2, A2TYPE_APPLE2PLUS, A2TYPE_APPLE2E, A2TYPE_APPLE2EENHANCED,
A2TYPE_PRAVETS82, A2TYPE_PRAVETS8M, A2TYPE_PRAVETS8A, A2TYPE_TK30002E};
const std::vector<eApple2Type> computerTypes = {A2TYPE_APPLE2, A2TYPE_APPLE2PLUS, A2TYPE_APPLE2JPLUS, A2TYPE_APPLE2E,
A2TYPE_APPLE2EENHANCED, A2TYPE_PRAVETS82, A2TYPE_PRAVETS8M, A2TYPE_PRAVETS8A,
A2TYPE_TK30002E};
int getApple2ComputerType()
{

View file

@ -156,6 +156,11 @@
<string>Apple ][+</string>
</property>
</item>
<item>
<property name="text">
<string>Apple ][ J-Plus</string>
</property>
</item>
<item>
<property name="text">
<string>Apple //e</string>

View file

@ -14,9 +14,11 @@
<file>resources/Parallel.rom</file>
<file>resources/MouseInterface.rom</file>
<file>resources/Apple2_Plus.rom</file>
<file>resources/Apple2_JPlus.rom</file>
<file>resources/PRAVETS8C.ROM</file>
<file>resources/PRAVETS8M.ROM</file>
<file>resources/PRAVETS82.ROM</file>
<file>resources/TK3000e.rom</file>
<file>resources/Apple2_JPlus_Video.rom</file>
</qresource>
</RCC>

View file

@ -0,0 +1 @@
../../../../resource/Apple2_JPlus.rom

View file

@ -0,0 +1 @@
../../../../resource/Apple2_JPlus_Video.rom

View file

@ -0,0 +1 @@
../../../../resource/DISK2-13sector.rom

View file

@ -81,6 +81,7 @@ void SetWindowTitle()
default:
case A2TYPE_APPLE2: g_pAppTitle = TITLE_APPLE_2; break;
case A2TYPE_APPLE2PLUS: g_pAppTitle = TITLE_APPLE_2_PLUS; break;
case A2TYPE_APPLE2JPLUS: g_pAppTitle = TITLE_APPLE_2_JPLUS; break;
case A2TYPE_APPLE2E: g_pAppTitle = TITLE_APPLE_2E; break;
case A2TYPE_APPLE2EENHANCED: g_pAppTitle = TITLE_APPLE_2E_ENHANCED; break;
case A2TYPE_PRAVETS82: g_pAppTitle = TITLE_PRAVETS_82; break;

View file

@ -11,6 +11,7 @@ const char * MAKEINTRESOURCE(int x)
{
case IDR_APPLE2_ROM: return "Apple2.rom";
case IDR_APPLE2_PLUS_ROM: return "Apple2_Plus.rom";
case IDR_APPLE2_JPLUS_ROM: return "Apple2_JPlus.rom";
case IDR_APPLE2E_ROM: return "Apple2e.rom";
case IDR_APPLE2E_ENHANCED_ROM: return "Apple2e_Enhanced.rom";
case IDR_PRAVETS_82_ROM: return "PRAVETS82.ROM";
@ -18,6 +19,7 @@ const char * MAKEINTRESOURCE(int x)
case IDR_PRAVETS_8M_ROM: return "PRAVETS8M.ROM";
case IDR_TK3000_2E_ROM: return "TK3000e.rom";
case IDR_APPLE2_JPLUS_VIDEO_ROM: return "Apple2_JPlus_Video.rom";
case IDR_DISK2_16SECTOR_FW: return "DISK2.rom";
case IDR_DISK2_13SECTOR_FW: return "DISK2-13sector.rom";
case IDR_SSC_FW: return "SSC.rom";