Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for PMS150G IO pull low support #6

Open
homeworkboy opened this issue Feb 7, 2021 · 2 comments
Open

for PMS150G IO pull low support #6

homeworkboy opened this issue Feb 7, 2021 · 2 comments

Comments

@homeworkboy
Copy link

--- ./fppa-pdk-tools/cpuvariant/pmx150.c 2021-02-07 17:51:08.464264736 +0800
+++ pmx150.c 2021-02-07 18:19:26.728133987 +0800
@@ -87,6 +87,7 @@
case 0x10: if(bit<8) sprintf(buffer,"PA.%d",bit); else r="PA"; break;
case 0x11: if(bit<8) sprintf(buffer,"PAC.%d",bit); else r="PAC"; break;
case 0x12: if(bit<8) sprintf(buffer,"PAPH.%d",bit); else r="PAPH"; break;

  • case 0x13: if(bit<8) sprintf(buffer,"PAPL.%d",bit); else r="PAPH"; break;

    case 0x17: r="TM2S"; break;

@homeworkboy
Copy link
Author

--- ./fppa-pdk-tools/cpuvariant/pmx150.c 2021-02-07 17:51:08.464264736 +0800
+++ pmx150.c 2021-02-07 18:19:26.728133987 +0800
@@ -87,6 +87,7 @@
case 0x10: if(bit<8) sprintf(buffer,"PA.%d",bit); else r="PA"; break;
case 0x11: if(bit<8) sprintf(buffer,"PAC.%d",bit); else r="PAC"; break;
case 0x12: if(bit<8) sprintf(buffer,"PAPH.%d",bit); else r="PAPH"; break;

  • case 0x13: if(bit<8) sprintf(buffer,"PAPL.%d",bit); else r="PAPL"; break;

    case 0x17: r="TM2S"; break;

@homeworkboy
Copy link
Author

--- ./fppa-pdk-tools/emucpu/emucpu.c 2021-02-07 17:51:08.465264730 +0800
+++ emucpu.c 2021-02-07 18:33:01.978153725 +0800
@@ -34,6 +34,7 @@
case 0x0B80: // PMS150 / PMC150
case 0x1E01: // PMS150B
case 0x2A16: // PMS150C

  • case 0x2539: // PMS150G
    pmx150_init(cpu,fixupHighCode); break;

    case 0x2A06: // PMS154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant