Search found 18 matches
- Wed Jan 24, 2024 7:59 pm
- Forum: Programming
- Topic: Contention pattern for HALT
- Replies: 25
- Views: 1439
Re: Contention pattern for HALT
I handle it differently. I have a special loop for the HALT state. ... Anyway, each particular emulator can choose its own way, as long as it behaves correctly (that is, as long as you get points in S.H.I.T. ). But, how the state should be saved to/loaded from szx has to be uniquely universally acc...
- Sun Jan 21, 2024 6:37 pm
- Forum: Programming
- Topic: Contention pattern for HALT
- Replies: 25
- Views: 1439
Re: Contention pattern for HALT
There is a thing regarding this -- if an emulator change its behaviour and while cpu is halted, keeps PC increased (on position "halt + 1"), the question is that there are new incompatibilities with saving to / loading from snapshots. Incompatibilities between emulators, as well as incompa...
- Sun Jan 21, 2024 3:59 pm
- Forum: Programming
- Topic: Contention pattern for HALT
- Replies: 25
- Views: 1439
Re: Contention pattern for HALT
There is a test HALT2INT, written by Woody. It is available in ZJoyKiler's collection: https://github.com/redcode/Z80/wiki/HALT2INT . On that page you can see the expected test result. Let's see HALT2INT v. 3, executed in Fuse 1.6: https://i.postimg.cc/phHX9Lpz/Halt2-Int-Fuse16.png So, Fuse 1.6 does...
- Fri Dec 08, 2023 11:17 pm
- Forum: Emulators
- Topic: New discovery on Z80 I/O block instructions
- Replies: 15
- Views: 1767
Re: New discovery on Z80 I/O block instructions
Not me) I'm glad to update my emulator everytime when new info about emulation accuracy comes. I know that there is no perfection in emulation but we can get as close to it as we can :) I totally agree. Many thanks to ZJoyKiller for investigation, to people who tested on hardware, to Patrik for his...
- Tue Nov 14, 2023 11:05 pm
- Forum: Emulators
- Topic: Swan 0.9.6 new release
- Replies: 0
- Views: 129
Swan 0.9.6 new release
Swan ZX Spectrum emulator 0.9.6 released Binaries: https://github.com/zoran-vucenovic/swan/releases/tag/v0.9.6 Precompiled for: - Windows 64 and 32 bit - Linux 64 bit, build for gtk2 or qt5 library (for qt5, libqt5pas library has to be installed ) Note: to hear sound in Swan, you need portaudio (det...
- Tue Jan 03, 2023 12:45 am
- Forum: Emulators
- Topic: Spectrum emulator that can run slower than 100%
- Replies: 10
- Views: 458
Re: Spectrum emulator that can run slower than 100%
You might try autosaving snapshots in Swan.
You can go back with F5 (or any other key if you change it), or open history browser and go back in time: https://github.com/zoran-vucenovic/swan ... -snapshots
You can go back with F5 (or any other key if you change it), or open history browser and go back in time: https://github.com/zoran-vucenovic/swan ... -snapshots
- Tue Jan 03, 2023 12:31 am
- Forum: Emulators
- Topic: Spectrum emulator that can run slower than 100%
- Replies: 10
- Views: 458
Re: Spectrum emulator that can run slower than 100%
In Swan emulator you can reduce speed to 1/2, 1/4 or 1/8 of normal speed.
Re: Swan
Hello! New version of Swan 0.9.2-beta: - Improved emulation accuracy ( Tests collected by redcode (ZjoyKiLer) were really helpful!) - Sound lagging on Linux seems to be solved ( TheMartian -- whenever portaudio gets stopped, now it is always terminated -- so terminating, not just stopping portaudio ...
Re: Swan
Or you start a new sound buffer on reset, instead of continuing the buffer in use until it's full? Yes, that is so now -- the sound is stopped, then started again, with new buffer. Hm... I thought it would not be wrong to do that... Normally, Spectrum would not continue with playing the old sound w...
Re: Swan
Thank you, TheMartian and the.beginner. I could reproduce sound problems in Linux on a slow virtual machine with low resources. I just tried with enlarging the buffer used by portaudio callback function, but it didn't seem to get much. I'm going to play more... I'll see if this article might help me...
Re: Swan
I accuracy is your bag then you probably should join the discord: https://discord.gg/45W4bUB Our emulation chat has probably the biggest set of tests for all models of Speccies on the net by now, and it's very active with emulator development chat. Thanks, I logged in there now and I am going to ta...
Swan
New emulator: https://github.com/zoran-vucenovic/swan It's named Swan... I have had hard time with thinking of a cool name , so during development I named it SWAN ( S till W ithout A N ame), until I find a real name. So... it is the name. For a start, I made Windows (64 and 32 bit) releases ( https:...
- Tue Aug 27, 2019 7:39 am
- Forum: Emulators
- Topic: Starting emulator - help with basics of Z80 timing needed
- Replies: 17
- Views: 4110
Re: Starting emulator - help with basics of Z80 timing needed
- Sun Aug 18, 2019 7:02 am
- Forum: Emulators
- Topic: Starting emulator - help with basics of Z80 timing needed
- Replies: 17
- Views: 4110
- Sat Aug 17, 2019 1:07 pm
- Forum: Emulators
- Topic: Starting emulator - help with basics of Z80 timing needed
- Replies: 17
- Views: 4110
Re: Starting emulator - help with basics of Z80 timing needed
Now, to be able to later implement memory contention, I am reading the table with partial timings, as Einar pointed to - https://www.worldofspectrum.org/faq/reference/48kreference.htm#Contention . I am not sure whether everything is quite clear to me. Could you please take a look at this. I will try...
- Fri Aug 16, 2019 10:13 pm
- Forum: Programming
- Topic: Why is this in error?
- Replies: 18
- Views: 3470
Re: Why is this in error?
It's easy to overlook the fact that no-one seems to have written a language with - surely - the obvious syntax: (x, y) = my_function(a, b, c, d) Python supports this syntax. The following programme: def my_function(a, b, c, d): return a + b, c + d x, y = my_function(1, 2, 3, 4) print(x) print(y) wi...
- Fri Aug 16, 2019 3:41 pm
- Forum: Emulators
- Topic: Starting emulator - help with basics of Z80 timing needed
- Replies: 17
- Views: 4110
Re: Starting emulator - help with basics of Z80 timing needed
EX AF,AF' takes 4 t-states in total to fetch and process. Thank you. The tricky bit is managing on which ticks in the instruction a memory read or write actually happens, so you can time that with the memory contention that goes on in the RAM when read by the ULA to generate the display. It's not b...
- Fri Aug 16, 2019 1:50 pm
- Forum: Emulators
- Topic: Starting emulator - help with basics of Z80 timing needed
- Replies: 17
- Views: 4110
Starting emulator - help with basics of Z80 timing needed
Hello, I am planning to start my own Spectrum emulator (yes, another one is just what is needed :) ). The first step should be emulating the CPU. So, I started to read Zilog's manual and other docs found on http://www.z80.info/ , in order to implement instructions. Now, let me explain what I'm confu...