New release of EightyOne available

Emulator and emulator development specific topics
Spinnetti
Posts: 252
Joined: Sat Sep 12, 2020 11:29 pm

Re: New release of EightyOne available

Post by Spinnetti »

Awesome, making what IMO is the best emulator for me even better!
Zeddy: ZX80, ZX81/ZXpand, TS1000/ZXpand, TS1500/Zxpand+
Speccy: 48k, +, +2, +3, TS2068, "Bare Metal" Pi, Next KS2, IF1/Microdrives/Vdrive/Light Gun/VGA-Joy
QL: Minerva/QL-VGA/Custom PSU
C5: 24v, LiFE battery, Disc brakes
User avatar
kmurta
Posts: 299
Joined: Tue Sep 01, 2009 5:04 am
Location: Belo Horizonte - BR
Contact:

Re: New release of EightyOne available

Post by kmurta »

Fruitcake wrote: Sat Jun 11, 2022 1:06 pm A significant new version of EightyOne (v1.29) is now available. It can be found here:
Splendid! Congratulations for the excellent work!
The new version also includes support for the Improved Wait circuit functionality devised by Wilf Rigter to avoid the ZX81 needlessly running ~10% slower than it could have done.
Wow! Maybe it can also support clock doubler in a future version?

It's not a requirement, just an unassuming suggestion. :mrgreen:
1 x ZX81, 2 x TK85 , 1 TK82C, 1 TK95, 1 x Alphacom 32 printer, 1 x ZXpand
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/
jjp
Posts: 9
Joined: Tue Jul 20, 2021 1:13 am

Re: New release of EightyOne available

Post by jjp »

Fruitcake wrote: Sat Jun 11, 2022 11:46 pm
jjp wrote: Sat Jun 11, 2022 7:57 pm Great! thanks for accept my suggest! it works excelent!
Good to hear it works! :)

jjp wrote: Sat Jun 11, 2022 7:57 pm Other issue, the sources requiere a component named AnimTimer, but it is missing... anyway this component isn't used, but fail the compilation.
Thanks for bringing it to my attention. I'll sort that in the next release.
thanks!
User avatar
Paul
Posts: 1506
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: New release of EightyOne available

Post by Paul »

Thank you very much for your efforts Paul!
I downloaded the 1.29 and it works perfectly for me!
In theory, there is no difference between theory and practice. But, in practice, there is.
Elurdio
Posts: 19
Joined: Thu Apr 28, 2022 3:44 pm

Re: New release of EightyOne available

Post by Elurdio »

Hi,

I have tried version 1.29 for Jupiter Ace emulation and using 48 K Ram Pack it does not work at all. With no Ram pack or 16K or 32 k rampacks it works fine, but with 48 k NO (the one I use).

The screen show artifacts and you can not write anything.
User avatar
Paul
Posts: 1506
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: New release of EightyOne available

Post by Paul »

Ace with 16k and 48k works fine on my Eightyone 1.29
In theory, there is no difference between theory and practice. But, in practice, there is.
Elurdio
Posts: 19
Joined: Thu Apr 28, 2022 3:44 pm

Re: New release of EightyOne available

Post by Elurdio »

Hi,

After reading Paul's answer telling that for him it works fine with 48k I have made more tests.

I have found that it fails with 48k if you have allowed to overwrite ROM. If you start the emulator with this opiton allowed, it fails. If you start the emulator with this option deactivated and activate it, it works fine but when you do a hard reset to the emultor, it fails...

So it is a problem with 48k and the option "Protec ROM from Write" unchecked (that is, rom overwrite allowed).
Fruitcake
Posts: 346
Joined: Wed Sep 01, 2010 10:53 pm

Re: New release of EightyOne available

Post by Fruitcake »

The Jupiter Ace ROM begins by testing the amount of RAM present. It starts at address $3C00 and progresses up the memory map writing value $FC to each location and reading it back to check if RAM exists there. When 48K RAM is selected and ROM protection is disabled then when the end of the Z80 address space is reached at $FFFF, things wrap back to address $0000 where the ROM resides and since the ROM is no longer protected then the ROM gets overwritten and hence crashes the computer.

Disabling the ROM protect option only makes sense if there is less than 48K of RAM present or if a custom ROM is used that does not perform the memory test employed by the standard ROM.

If you have run the emulator with 48K RAM and ROM protection disabled and hence corrupted the ROM contents, just re-enabling the ROM protection is not sufficient to recover things. You also need to perform a Hard Reset from the Control menu (or via Shift F2) which will re-instate the contents of the ROM.
Fruitcake
Posts: 346
Joined: Wed Sep 01, 2010 10:53 pm

Re: New release of EightyOne available

Post by Fruitcake »

kmurta wrote: Sun Jun 12, 2022 1:28 am Wow! Maybe it can also support clock doubler in a future version?
Are there details somewhere of how this works as presumably something clever must be done to maintain the timing of the display output?
Elurdio
Posts: 19
Joined: Thu Apr 28, 2022 3:44 pm

Re: New release of EightyOne available

Post by Elurdio »

Fruitcake wrote: Sat Jun 25, 2022 12:45 pm The Jupiter Ace ROM begins by testing the amount of RAM present. It starts at address $3C00 and progresses up the memory map writing value $FC to each location and reading it back to check if RAM exists there. When 48K RAM is selected and ROM protection is disabled then when the end of the Z80 address space is reached at $FFFF, things wrap back to address $0000 where the ROM resides and since the ROM is no longer protected then the ROM gets overwritten and hence crashes the computer.

Disabling the ROM protect option only makes sense if there is less than 48K of RAM present or if a custom ROM is used that does not perform the memory test employed by the standard ROM.

If you have run the emulator with 48K RAM and ROM protection disabled and hence corrupted the ROM contents, just re-enabling the ROM protection is not sufficient to recover things. You also need to perform a Hard Reset from the Control menu (or via Shift F2) which will re-instate the contents of the ROM.
Ok. Thanks.

So, wiht 48K (or 96k) I have to uncheck "Protect ROM from Writes" once the emulator has been started and check it before end session or reset it, isn't?
In other words, wiht 48k: Every time EightyOne starts or it is resetted it must have the "Protect ROM from Writes" checked.
Post Reply