Skip to content

Add Pentium and Cyrix models #20

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

Open
wants to merge 1 commit into
base: v17_13f53a2
Choose a base branch
from

Conversation

Randomno
Copy link

Don't feel like building and testing this at the moment, just wanted to get it out there

@@ -523,6 +523,10 @@ CPU cpus_Slot1_100MHz[] =
{"Pentium II/350", CPU_PENTIUM_2, fpus_builtin, 20, 350000000, 3, 33333333, 0x651, 0x651, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 42},
{"Pentium II/400", CPU_PENTIUM_2, fpus_builtin, 20, 400000000, 3, 33333333, 0x652, 0x652, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 48},
{"Pentium II/450", CPU_PENTIUM_2, fpus_builtin, 20, 450000000, 3, 33333333, 0x652, 0x652, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 54},
{"Pentium II/550", CPU_PENTIUM_2, fpus_builtin, 20, 550000000, 3, 33333333, 0x652, 0x652, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 70},
{"Pentium II/700", CPU_PENTIUM_2, fpus_builtin, 20, 700000000, 3, 33333333, 0x652, 0x652, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 88},
{"Pentium II/800", CPU_PENTIUM_2, fpus_builtin, 20, 800000000, 3, 33333333, 0x652, 0x652, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 100},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about some 1.5GHz one too, for cases when that's enough and one wants to avoid maximal slowdown?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I just PRed the ones that I added while experimenting last year.

Is it a bad idea to have too many CPU options? Do we want to decide which ones to go with?

Copy link

@vadosnaprimer vadosnaprimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include [Hack] into names for the options that don't correspond to any existing device (like Pentium II above 450KHz).

@Randomno
Copy link
Author

Randomno commented Apr 1, 2025

I don't know what the last value in each model (e.g. the 70 here) represents.

{"Pentium II/550", CPU_PENTIUM_2, fpus_builtin, 20, 550000000, 3, 33333333, 0x652, 0x652, 0, CPU_SUPPORTS_DYNAREC | CPU_REQUIRES_DYNAREC, 18,18,9,9, 70}

I believe I chose rough values based on existing models. It's probably a good idea to confirm what this value is.

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

Successfully merging this pull request may close these issues.

2 participants