Skip to content

Commit 0aa90a6

Browse files
ejaquayejaquay
andauthored
MAX-10 fix (#133)
* MAX-10 fix Additional delay for IRQ on VSYNC High to Low transition. MAX-10 uses the IRQ to check PIA0 for keyboard and mouse button presses but was not catching the interupts soon enough. CPUAssertInterupt(IRQ,1) changed to CPUAssertInterupt(IRQ,4). * Update ReleaseNotes * Fix directinput version warning. Move DIRECTINPUT_VERSION define from joystickinput.c to joystickinput.h * Updated Release Notes again. Include fixed issue with some 6309 register instructions. --------- Co-authored-by: ejaquay <[email protected]>
1 parent f006cd8 commit 0aa90a6

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

ReleaseNotes.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11

22
Vcc v2.1.0.8 April/2023
3+
o Increase VSYNC IRQ delay so MAX-10 sees keystrokes.
4+
o Corrected some 6309 register instruction issues found by Wally Z.
35
o Added RS232 Pak emulation (acia.dll) - EJ Jaquay
46
o Added pause function - James Rye
57
o Added execution trace feature to Vcc Debugger - Mike Rojas
6-
o Fixed PMODE 4 color - James Rye
8+
o Fixed PMODE 4 color - James Rye, Mike Rojas
79
o Improved windows mouse cursor position when shown - Chet Simpson
810
o Minor Bug fixes
911
o Updated Manual
@@ -16,7 +18,7 @@ VCC 2.1.0.6 May/2022
1618
o Added "Show Windows Mouse Pointer checkbox" to the "Joystick" menu.
1719
When unchecked the Windows mouse pointer is hidden from the VCC screen
1820
o Several bug fixes in keymap editor
19-
o Fixed a bug that could error copies from VHD 0 to VHD 1
21+
o Fixed a bug that prevented formating empty VHD files.
2022
o Add RS & CocoMax3 Hirez interfaces (FINALLY!)
2123
o Added feature to Hard Drive Insert mode to create a new VHD
2224
o Fixed a keyboard bug which was affecting the play of Tetris.

joystickinput.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This file is part of VCC (Virtual Color Computer).
1616
along with VCC (Virtual Color Computer). If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#define DIRECTINPUT_VERSION 0x0800
2019

2120
#include <windows.h>
2221
#include "defines.h"

joystickinput.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This file is part of VCC (Virtual Color Computer).
1818
along with VCC (Virtual Color Computer). If not, see <http://www.gnu.org/licenses/>.
1919
*/
2020

21+
#define DIRECTINPUT_VERSION 0x0800
2122
#include <dinput.h>
2223
#include "mc6821.h"
2324
#define MAXSTICKS 10

mc6821.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ void irq_fs(int phase) //60HZ Vertical sync pulse 16.667 mS
350350
if ( (rega[3] & 2)==0 ) //IRQ on High to low transition
351351
rega[3]=(rega[3] | 128);
352352
if (rega[3] & 1)
353-
CPUAssertInterupt(IRQ,1);
354-
353+
CPUAssertInterupt(IRQ,4);
355354
return;
356355
break;
357356

0 commit comments

Comments
 (0)