Coding new videopac-emulator

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
Dr beep
Manic Miner
Posts: 381
Joined: Mon Oct 01, 2018 8:53 pm

Coding new videopac-emulator

Post by Dr beep »

After coding a new ZX81-emulator for the ZX Spectrum I will try to rewrite my Videopac-emulator as well.

First view tells me that an updated version should be better than the version from 2000.

https://spectrumcomputing.co.uk/entry/1 ... c_Emulator
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Coding new videopac-emulator

Post by Sparky »

Do you have a link to the new ZX81 emulator?
Alex
User avatar
patters
Manic Miner
Posts: 471
Joined: Thu Apr 11, 2019 1:06 am

Re: Coding new videopac-emulator

Post by patters »

It's in the Brand New Software subform:
viewtopic.php?f=3&t=2554&p=59806&hilit=zx81#p59806
Dr beep
Manic Miner
Posts: 381
Joined: Mon Oct 01, 2018 8:53 pm

Re: Coding new videopac-emulator

Post by Dr beep »

I see that the old translateroutine between 8048 and Z80 is not working as wanted, keeping memory emulated, not translated.
Here I can win speed.
Dr beep
Manic Miner
Posts: 381
Joined: Mon Oct 01, 2018 8:53 pm

Re: Coding new videopac-emulator

Post by Dr beep »

I had this project on hold, but no I reactivated it.

First thing I did: I altered the the table with the translated addresses so I now have more room for translated code.

I also decided to do a manual translation of the ROM but that is for later. It is only 1K.
A translated ROM however will give a lot of speed to the emulator.
ANDREWRYALS
Microbot
Posts: 106
Joined: Sat Mar 24, 2018 5:02 pm

Re: Coding new videopac-emulator

Post by ANDREWRYALS »

Now that's really scary I did not realise that the first version was from 2000! :shock:
Dr beep
Manic Miner
Posts: 381
Joined: Mon Oct 01, 2018 8:53 pm

Re: Coding new videopac-emulator

Post by Dr beep »

ANDREWRYALS wrote: Sun Oct 29, 2023 6:09 pm Now that's really scary I did not realise that the first version was from 2000! :shock:
It is and I only have the source on paper and it is far from complete commented.
However... I think I can speed it up quite well.
Dr beep
Manic Miner
Posts: 381
Joined: Mon Oct 01, 2018 8:53 pm

Re: Coding new videopac-emulator

Post by Dr beep »

I used the old source to find which opcodes were never emulated and I will keep it that way.
Post Reply