HC90/95 HD64180 CPU Emulation Petition

Por alexito

Hero (555)

Imagen del alexito

30-09-2019, 21:35

As you know the Hitachi HD64180 CPU is compatible with Z80 CPU but some Undocumented Z80 Instructions but with some nice features normally working more faster than a regular Z80 at the same speed because the Pipeline Tri-State system.

Just let you know guys I have discovered one way to patch maybe some games but would be useful to have OpenMSX with HD64180 CPU Support maybe some day soon.

I have dumped the Turbo Basic Bios ROM(32k) and Sub-Bios ROM (16k) from Victor MSX2 HC-90 what I have discovery at the moment is:

The patched Basic/Sub ROM is very simple making just simple I/O delays in classical Z80 way. (I'll be posting some pictures later) for example I have swapped the Normal Basic/Sub ROM Bios with the Turbo Basic/Sub ROM Bios and skipped the initial setting of I/O wait and Refresh and the machine boot and run with OpenMSX successfully tested with several MSX 2 games and everything works fine like a regular MSX2 Machine.

now I have patched YS3 SCENARIO DISK so it run very good at Turbo Mode what I did was just try to find what happen with this game and then I got it.

https://drive.google.com/open?id=1VUB2Z95wC0duOUm2Bw5L7ejh5r...
https://imgur.com/vwOQK0b

https://drive.google.com/open?id=1cxEGKgo9g52Hz1I6xbk1DQumzS...
https://imgur.com/o1z74qX

https://drive.google.com/open?id=1XcpS8M47Gf8c0zaGor9m6Xf3jm...
https://imgur.com/Zs8KteB

https://drive.google.com/open?id=1YXoVrxCfaT8CQeZu5oYo-5ARVl...
https://imgur.com/KchEEdi

So the problem was the Undocumented Z80 instructions for my luck Ys3 programmer seem to use a lame way for loading IX and DE so I just replaced with PUSH and POP and seem to run very good now.

Interested in Turbo Basic and Sub-ROM Bios:

https://drive.google.com/open?id=1G-whE5k93S-lNN-nPyKJLtO0Rg...

PS: The Kanji ROM (256k) is not available on Real HC90/95 System as I know.

Login sesión o register para postear comentarios

Por Grauw

Ascended (8515)

Imagen del Grauw

30-09-2019, 21:55

Quote:

As you know the [Z180] is compatible with Z80 CPU but some Undocumented Z80 Instructions…

Most notably ld ixl / ixh.

alexito wrote:

So the problem was the Undocumented Z80 instructions for my luck Ys3 programmer seem to use a lame way for loading IX and DE so I just replaced with PUSH and POP and seem to run very good now.

For me (imho) that disqualifies the Z180 as a compatible CPU, I use those extensively in my projects, and as you found some commercial software does as well. But your opinion may be different of course Smile.

Anyway since the Victor HC-90 and HC-95 which have this as a secondary CPU do exist it would be nice to get it emulated of course. Since I see it runs at 6.144 MHz and the CPU itself also uses fewer cycles per instruction, I wonder how it compares to a regular 3.58 MHz Z80 in terms of relative speed?

Por alexito

Hero (555)

Imagen del alexito

30-09-2019, 22:11

Quote:

Anyway since the Victor HC-90 and HC-95 which have this as a secondary CPU do exist it would be nice to get it emulated of course. Since I see it runs at 6.144 MHz and the CPU itself also uses fewer cycles per instruction, I wonder how it compares to a regular 3.58 MHz Z80 in terms of relative speed?

It's fast I have tested some games at Turbo Mode and it in some cases beat my NMS-8280 with 7mhz Turbo Kit installed.

Por alexito

Hero (555)

Imagen del alexito

01-10-2019, 21:32

Por gdx

Prophet (3088)

Imagen del gdx

02-10-2019, 01:50

More emulators know to emulate the hardware, happier we are.

Por alexito

Hero (555)

Imagen del alexito

30-10-2019, 08:17

Testing my differents speed setting under MSXDOS2(Playsoniq SCC RAM was used) with Turbo Mode(Quick Switch between Normal Mode to Turbo Mode trick was used).

https://www.youtube.com/watch?v=Av3tfCjtKu4&t=382s

Por sd_snatcher

Prophet (3092)

Imagen del sd_snatcher

30-10-2019, 23:30

It could be a good idea to test it with the benchmark tools contained in the MSX machines reverse engineering utilities.