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

Does 68010 mode really work? #176

Open
harbaum opened this issue Aug 19, 2024 · 5 comments
Open

Does 68010 mode really work? #176

harbaum opened this issue Aug 19, 2024 · 5 comments

Comments

@harbaum
Copy link

harbaum commented Aug 19, 2024

Here cpucfg[1] enables the tg68k which supports 000,010 and 020:

if(cpucfg[1]) begin

otherwise the fx68k is selected.

But here

wire cpu_cfg_sel = (cmd[3:0] == 4); // XXXXKCTT || cpu config | K - fast kickstart enable, C - CPU cache enable, TT - CPU type (00=68k, 01=68k10, 10=68k20)

the mapping is 00->68000, 01->68010 and 10->68020

So to my understanding this would select the fx68k whenever the 68010 is to be used.

@sorgelig
Copy link
Member

You are right. After many rewrites 68010 kind of lost.
Is there an app/game to test 68010 mode?

@xolod79
Copy link

xolod79 commented Aug 20, 2024

As far as I know, the main difference of 68010 is VBR. It is needed for WHDLAOD. There are also a couple of utilities that can control it. https://www.whdload.de/docs/en/need.html
https://aminet.net/package/util/misc/vbr
https://aminet.net/package/util/boot/vbrmov23
https://somuch.guru/tag/vbr/

@sorgelig
Copy link
Member

i've pushed the changes. Note: since now TG68K is used for 68010, this mode is not cycle accurate.

@sorgelig
Copy link
Member

Pushed changes to Main to enable 68010 mode.

@darius600
Copy link

The tests from the vAmiga Test Suite could be used: https://github.com/dirkwhoffmann/vAmigaTS/tree/master/CPU/68010
Each test consists of an ADF and reference image.

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

No branches or pull requests

4 participants