Dave Van Wagner / Mbed OS C64-stm429_discovery

Dependencies:   LCD_DISCO_F429ZI BSP_DISCO_F429ZI USBHOST

Files at this revision

API Documentation at this revision

Comitter:
davervw
Date:
Mon Apr 13 07:24:08 2020 +0000
Parent:
5:29115d8441cc
Child:
7:dce21deeac6c
Commit message:
Right Ctrl now also mapped to Commodore Key

Changed in this revision

emuc64.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/emuc64.cpp	Mon Apr 13 05:44:17 2020 +0000
+++ b/emuc64.cpp	Mon Apr 13 07:24:08 2020 +0000
@@ -144,7 +144,7 @@
 	
 	if (len == 8)
 	{ 
-		if ((data[0] & 1) != 0) // PC Ctrl => Commodore
+		if ((data[0] & 0x11) != 0) // PC Ctrl => Commodore
 			scan_codes[6] = 61;
 		else
 			scan_codes[6] = 64;
--- a/main.cpp	Mon Apr 13 05:44:17 2020 +0000
+++ b/main.cpp	Mon Apr 13 07:24:08 2020 +0000
@@ -49,7 +49,7 @@
 {
     printf("\n");
     printf("C64-stm429_discovery\n");
-	printf("C64 Emu6502 (for STM32F429 Discovery), version 1.0\n");
+	printf("C64 Emu6502 (for STM32F429 Discovery), version 1.01\n");
 	printf("Copyright (c) 2020 by David R. Van Wagner\n");
 	printf("Open Source - MIT License\n");
 	printf("github.com/davervw\n");