Search found 67 matches

by ZjoyKiLer
Sun Feb 04, 2024 1:33 pm
Forum: Emulators
Topic: New release of SpecEmu
Replies: 218
Views: 45607

Re: New release of SpecEmu

New release of SpecEmu, available at https://specemu.zxe.io.
by ZjoyKiLer
Wed Jan 24, 2024 5:01 pm
Forum: Programming
Topic: Contention pattern for HALT
Replies: 25
Views: 1434

Re: Contention pattern for HALT

Yes, your post is spot on. The emulators keep the PC pointed to HALT, only contend by PC+1 (those which got it right - others still contend by PC). The PC is then stepped in the interrupt handling code when it knows HALT is being executed. If HALT would actually increase the PC, it would be more di...
by ZjoyKiLer
Tue Jan 23, 2024 6:18 pm
Forum: Programming
Topic: Contention pattern for HALT
Replies: 25
Views: 1434

Re: Contention pattern for HALT

is it really like that? i was sure that Z80 keeps reading the memory. that explains why HALT is not ts-precise (i.e. CPU checks for /INTR each 4ts instead of each 1ts). it would be logical to either just loop and check for /INTR (and /NMI) on each tick if there is no command fetching — or make HALT...
by ZjoyKiLer
Sun Dec 10, 2023 4:26 pm
Forum: Emulators
Topic: ZX Spectrum and Z80 CPU test collections
Replies: 0
Views: 203

ZX Spectrum and Z80 CPU test collections

Some time ago I decided to locate, rename (according to the TOSEC naming convention ) and collect all those amazing pieces of software that many people have been writing over the last decades to test their emulators. Some of them have been really hard to track down, as they were usually posted on fo...
by ZjoyKiLer
Sun Dec 10, 2023 4:17 pm
Forum: Emulators
Topic: New discovery on Z80 I/O block instructions
Replies: 15
Views: 1765

Re: New discovery on Z80 I/O block instructions

BTW, many thanks to @TheMartian, who is testing all the tapes from Patrik's Zilog Z80 Test Suite on many of her machines, so that finally everything is 100% tested once and for all.

Some of the results can be checked here.
by ZjoyKiLer
Fri Dec 01, 2023 3:57 pm
Forum: Emulators
Topic: New discovery on Z80 I/O block instructions
Replies: 15
Views: 1765

Re: New discovery on Z80 I/O block instructions

i dont remember old discussions details now, but do you mean even Patrik himself never tried it on a real hw :? yep... I was there when Patrik was working on the new releases of his test suite. We knew about new discoveries about the CCF/SCF instructions and the flags of block instructions, which m...
by ZjoyKiLer
Fri Dec 01, 2023 3:20 pm
Forum: Emulators
Topic: New discovery on Z80 I/O block instructions
Replies: 15
Views: 1765

Re: New discovery on Z80 I/O block instructions

couldn't be all, not every one failed Patrik's test before afair, otherwise too many people would complain Actually, I don't know of anyone who specifically tried z80memptr.tap on a real Zilog or NEC on Sinclair hardware until yesterday. People usually try z80full.tap and z80ccf.tap. I have a Russi...
by ZjoyKiLer
Fri Dec 01, 2023 3:15 pm
Forum: Emulators
Topic: New discovery on Z80 I/O block instructions
Replies: 15
Views: 1765

Re: New discovery on Z80 I/O block instructions

TheMartian wrote: Fri Dec 01, 2023 1:05 pm Hi!

Does this happen in all Z80 models, or just NEC? I'm curious.

I'll try later to execute on my machines. Any suggestion or request?
Confirmed on Zilog and NEC. I assume that ST CMOS models also have this behaviour, but it is not confirmed.

USSR and MME models could behave differently.
by ZjoyKiLer
Fri Dec 01, 2023 7:31 am
Forum: Emulators
Topic: New discovery on Z80 I/O block instructions
Replies: 15
Views: 1765

New discovery on Z80 I/O block instructions

I've discovered a new undocumented behavior of the inir/indr/otir/otdr instructions: As in cpir/cpdr/ldir/lddr, when the repeat condition is met, the CPU generates an extra M-cycle of 5 T-states to decrement PC. This M-cycle performs additional flag changes ( discovered and cracked by David Banks (A...
by ZjoyKiLer
Sun Sep 03, 2023 12:15 pm
Forum: Emulators
Topic: ESPectrum, the ESP32 SoC based ZX Spectrum emulator
Replies: 13
Views: 855

Re: ESPectrum, the ESP32 SoC based ZX Spectrum emulator

Hi @ZjoyKiLer, Great project! For the UK readers, please could you confirm this is the correct board from Olimex board that you mention? https://thepihut.com/products/olimex-esp32-sbc-fabgl?variant=42484410253507 Are there any plans for English language installation video please? Thanks Peter Hey, ...
by ZjoyKiLer
Fri Sep 01, 2023 7:11 pm
Forum: Emulators
Topic: ESPectrum, the ESP32 SoC based ZX Spectrum emulator
Replies: 13
Views: 855

Re: ESPectrum, the ESP32 SoC based ZX Spectrum emulator

Presentation of the new version 1.0 rc2

by ZjoyKiLer
Mon Jul 24, 2023 7:05 pm
Forum: Emulators
Topic: New release of SpecEmu
Replies: 218
Views: 45607

Re: New release of SpecEmu

by ZjoyKiLer
Thu Jul 20, 2023 8:57 am
Forum: Emulators
Topic: New release of SpecEmu
Replies: 218
Views: 45607

Re: New release of SpecEmu

by ZjoyKiLer
Tue Jun 20, 2023 1:22 pm
Forum: Emulators
Topic: The Unofficially Official Home of SpecEmu
Replies: 6
Views: 714

Re: The Unofficially Official Home of SpecEmu

After I'd downloaded specemu-3.4.b110623, MalwareBytes warned me it considered one of the zip's contained files " emulib.dll " a threat: Neshta.Virus.FileInfector.DDS Symptoms To gain persistence, Virus.Neshta changes the default value for the registry key HKEY_CLASSES_ROOT\exefile\shell\...
by ZjoyKiLer
Mon Jun 12, 2023 10:24 pm
Forum: Emulators
Topic: The Unofficially Official Home of SpecEmu
Replies: 6
Views: 714

Re: The Unofficially Official Home of SpecEmu

XoRRoX wrote: Mon Jun 12, 2023 7:07 pm Thanks again :)

I keep track of new emulator releases by using an RRS feed of http://www.emucr.com/ which I load into Feedly. Now SpecEmu releases through above website are also included in it.
Great! Thanks!
by ZjoyKiLer
Mon Jun 12, 2023 10:21 pm
Forum: Emulators
Topic: The Unofficially Official Home of SpecEmu
Replies: 6
Views: 714

Re: The Unofficially Official Home of SpecEmu

PeterJ wrote: Mon Jun 12, 2023 7:09 pm Is that GitHub hosting you are using there?
No, it's my own server. The web is very basic, I'll improve it in the coming days.
by ZjoyKiLer
Sun Jun 11, 2023 10:47 pm
Forum: Emulators
Topic: New release of SpecEmu
Replies: 218
Views: 45607

Re: New release of SpecEmu

@ZjoyKiLer Thank you very much for this. I found that this Version of SpecEmu shows v.3.3 in the "Help / About SpecEmu"-Window: https://i.postimg.cc/wMPn4hmp/Spec-Emu-v3-4-2023-06-09-Spec-Emu-v3-3-2023-06-09.jpg while the ChangeLog.txt show this as v3.4 build 09/06/23. On first try I get ...
by ZjoyKiLer
Sat Jun 10, 2023 10:34 pm
Forum: Emulators
Topic: The Unofficially Official Home of SpecEmu
Replies: 6
Views: 714

The Unofficially Official Home of SpecEmu

For those looking for the latest releases of SpecEmu:
https://specemu.zxe.io
by ZjoyKiLer
Wed Dec 14, 2022 1:01 am
Forum: Hardware
Topic: PICOZX - ZX Spectrum 128k VGA emulator on Rpi PICO
Replies: 1
Views: 272

Re: PICOZX - ZX Spectrum 128k VGA emulator on Rpi PICO

Very interesting project for the Raspberry Pi Pico. Thanks for posting.

BTW, I see that it uses my Z80 core (https://github.com/redcode/Z80) :mrgreen:

From the README:
I've moved to the Redcode Z80 emulator as:
  • It comes with a test suite
  • It is much faster than the previous emulator
by ZjoyKiLer
Wed Oct 19, 2022 8:56 pm
Forum: Emulators
Topic: Exact emulation of the Snow effect.
Replies: 115
Views: 3578

Re: Exact emulation of the Snow effect.

THANK YOU VERY MUCH FOR THIS!!

THANK YOU!!
by ZjoyKiLer
Fri Jun 10, 2022 10:07 pm
Forum: Emulators
Topic: z80test with LDxR->NOP' and INxR->NOP'
Replies: 3
Views: 319

Re: z80test with LDxR->NOP' and INxR->NOP'

Hi everybody, I recently thought I'll test my Z80 CPU emulator implementation using @Patrik Rak's z80test tester. Since currently my emulator only handles the documented flags, I used the z80doc variant. I was thrilled to see that almost all tests passed. However, there were 4 tests that did not. M...
by ZjoyKiLer
Thu May 12, 2022 11:52 pm
Forum: Emulators
Topic: New discovery on Z80 interrupts
Replies: 18
Views: 2016

Re: New discovery on Z80 interrupts

Is this new behaviour as described in the Z80 CPU User Manual page 18 When an EI instruction is executed, any pending interrupt request is not accepted until after the instruction following the EI is executed. This single instruction delay is necessary when the next instruction is a return instruct...
by ZjoyKiLer
Fri Apr 29, 2022 11:49 am
Forum: Emulators
Topic: New discovery on Z80 interrupts
Replies: 18
Views: 2016

Re: New discovery on Z80 interrupts

This is very unlikely from a hardware standpoint. This would require extra circuitry to carry forward a signal into the next machine cycle. There is a much simpler course of action: IFF2 is copied to IFF1 at the rising edge of the last T state, the same time the int line is sampled. Visual Z80 Remi...