summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2023-10-19 23:37:21 -0600
committerGitHub <noreply@github.com>2023-10-19 23:37:21 -0600
commit76dc587a342d45c73c4e459e0bba233343be90da (patch)
tree2a035f186839747d7b9c40b1ed32586908d205e0 /src/os
parent291c1d40d67487597e5e8708ec7ee1e28fbbe40c (diff)
EU 1.0 OK (#265)
* EU 1.0 ok * EU 1.1 ok Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
Diffstat (limited to 'src/os')
-rw-r--r--src/os/osViData.c9
-rw-r--r--src/os/osViTable.c56
2 files changed, 37 insertions, 28 deletions
diff --git a/src/os/osViData.c b/src/os/osViData.c
index 81b57a8c6..fd24f9090 100644
--- a/src/os/osViData.c
+++ b/src/os/osViData.c
@@ -5,10 +5,19 @@ OSViMode osViModePalLan1 = {
/*comRegs*/
{ /*ctrl*/ 12574,
/*width*/ 320,
+#ifdef VERSION_EU
+ /*burst*/ 72621626,
+#else
/*burst*/ 67380026,
+#endif
/*vSync*/ 625,
+#ifdef VERSION_EU
+ /*hSync*/ 1510505,
+ /*leap*/ 208604269,
+#else
/*hSync*/ 1379433,
/*leap*/ 208604270,
+#endif
/*hStart*/ 8389376,
/*xScale*/ 512,
/*vCurrent*/ 0 },
diff --git a/src/os/osViTable.c b/src/os/osViTable.c
index fccb4b674..f9d99abf7 100644
--- a/src/os/osViTable.c
+++ b/src/os/osViTable.c
@@ -329,13 +329,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12814,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 625,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -361,13 +361,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12878,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -393,13 +393,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12574,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 625,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -425,13 +425,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12382,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -457,13 +457,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 13071,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 625,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -489,13 +489,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12879,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -521,13 +521,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12319,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 625,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -553,13 +553,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12383,
/*width*/ 320,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -585,13 +585,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12878,
/*width*/ 1280,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -617,13 +617,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12878,
/*width*/ 640,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -649,13 +649,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12382,
/*width*/ 1280,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -681,13 +681,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12382,
/*width*/ 640,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -713,13 +713,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 13135,
/*width*/ 1280,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else
@@ -745,13 +745,13 @@ OSViMode osViModeTable[] = {
/*comRegs*/
{ /*ctrl*/ 12879,
/*width*/ 640,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*burst*/ 72621626,
#else
/*burst*/ 67380026,
#endif
/*vSync*/ 624,
-#ifdef VERSION_SH
+#ifdef VERSION_EU
/*hSync*/ 1510505,
/*leap*/ 208604269,
#else