CiscOS and a real 68K?

discuss bbc micro and electron emulators (including mame) here!
Post Reply
Coeus
Posts: 3557
Joined: Mon Jul 25, 2016 12:05 pm
Contact:

CiscOS and a real 68K?

Post by Coeus »

In discussion of a possible b-em issue it has come to light that CiscOS misidentifies the CPU it is running on when running in b-em. See https://github.com/stardot/b-em/issues/ ... 1774507835 for more details but code in CiscOS to identify the CPU works by forcing an address exception and then checking the size of the stack frame generated. B-Em uses Musashi (https://github.com/kstenerud/Musashi) as its 68K emulation and that agrees with the 68000 documentation that the stack frame on a plain 68000 should be 14 bytes but CiscOS requires 18 bytes to identify the CPU as a 68000.

Does anyone have a real 68000 processor to try this on? Either CiscOS or an isolated test case?
atsampson
Posts: 67
Joined: Fri Dec 16, 2022 4:54 pm
Location: Dundee, Scotland
Contact:

Re: CiscOS and a real 68K?

Post by atsampson »

D7 is 14 decimal - as expected - on a real 68000 in my Amiga 500 (output by flashing the background colour!).
cpu1.jpg
cpu2.jpg
Coeus
Posts: 3557
Joined: Mon Jul 25, 2016 12:05 pm
Contact:

Re: CiscOS and a real 68K?

Post by Coeus »

Thanks.
Post Reply

Return to “8-bit acorn emulators”