CPCWiki forum

General Category => Emulators => Topic started by: Arnaud on 09:14, 16 March 19

Title: CPCEC a new emulator from cngsoft
Post by: Arnaud on 09:14, 16 March 19
Hello,
i have just discovered this new emulator (release 14/03/2019), maybe the substitute of CPCE95 i still use.

Congratz to CNCSoft  :)

http://cngsoft.no-ip.org/cpcec.htm


Title: Re: CPCEC a new emulator from cngsoft
Post by: XeNoMoRPH on 12:11, 16 March 19
Yes , the other emulator is 10 years old , and there is another new ZX Spectrum emulator in the same web , ZXSEC

small videohttps://youtu.be/F5jC76gjt_U (https://youtu.be/F5jC76gjt_U)
Title: Re: CPCEC a new emulator from cngsoft
Post by: GUNHED on 20:30, 17 March 19
Where are the particular strength of this emulator?

Title: Re: CPCEC a new emulator from cngsoft
Post by: XeNoMoRPH on 08:27, 18 March 19
Where are the particular strength of this emulator?
According to its author, It is made in C instead of assembler, it is much more correct internally than the previous CPCE, everything is done by keyboard, there are no menus
Title: Re: CPCEC a new emulator from cngsoft
Post by: roudoudou on 11:57, 18 March 19
According to its author, It is made in C instead of assembler, it is much more correct internally than the previous CPCE, everything is done by keyboard, there are no menus


This is cons, not strength 😁
Title: Re: CPCEC a new emulator from cngsoft
Post by: norecess on 13:43, 18 March 19
I tried the emulator with phX demo. Pretty encouraging ! Only the tunnel part (shown before Freddy) showed some visible artefacts. Plus FDC loading that slowed down audio, too. But all the rest was pretty accurate!

Title: Re: CPCEC a new emulator from cngsoft
Post by: GUNHED on 18:59, 18 March 19
According to its author, It is made in C instead of assembler, it is much more correct internally than the previous CPCE, everything is done by keyboard, there are no menus


Ok, sounds it's quick then. Does it have a turbo mode?
Title: Re: CPCEC a new emulator from cngsoft
Post by: Arnaud on 20:43, 18 March 19
Where are the particular strength of this emulator?

Drag'n drop and auto start with a dsk file on my desktop shortcut.

Really quick to start a downloaded file.
Title: Re: CPCEC a new emulator from cngsoft
Post by: GUNHED on 21:35, 18 March 19
Nice!  :)
Title: Re: CPCEC a new emulator from cngsoft
Post by: XeNoMoRPH on 20:49, 20 March 19
Version log
 
Title: Re: CPCEC a new emulator from cngsoft
Post by: dlfrsilver on 13:23, 22 March 19
Nice!  :)


the tapes are always started with turbo mode ;


it's 100% compatible with all games released on tape. Even the hardest schemes works with it. (MBC, Gremlin loader 1,2,3 for ex.).


I have tested CNGSOFT new emulator (i'm the alpha tester) against 1300 original CPC games, including 1000 games in their tapes versions.



Title: Re: CPCEC a new emulator from cngsoft
Post by: XeNoMoRPH on 11:52, 26 March 19
20190325 -- fourth public release. Onscreen indicators (hide them with -O); fixed bugs in ZXSEC that slowed emulation down when the frameskip wasn't zero, and another bug in audio recording on WAV files.

(http://cngsoft.no-ip.org/IMAGE_2019-03-19_12-07-01.PNG)(http://cngsoft.no-ip.org/IMAGE_2019-03-19_12-14-33.PNG)
Title: Re: CPCEC a new emulator from cngsoft
Post by: XeNoMoRPH on 20:52, 10 April 19
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 21:23, 07 May 19
(http://cngsoft.no-ip.org/image_2019-04-11_12-01-06.png) (http://cngsoft.no-ip.org/image_2019-04-27_14-16-01.png)
(http://cngsoft.no-ip.org/image_2019-04-14_15-25-13.png) (http://cngsoft.no-ip.org/image_2019-05-02_00-19-13.png)

* 20190419 -- eighth public release. Added options for image and sound interpolation; tape automatically rewinds itself when it reaches the end (à la FUSE); fixed a bug in TZX files that store 0 instead of 8 in the "used bits" field, another bug in CUSTOM INFO blocks in TZX files, and another one when ZXSEC loads a 48K SNA file in Plus3 mode (users should manually switch to a safe model beforehand anyway). INI files now remember the names of the last used files.

* 20190430 -- ninth public release. Softer B/W Spectrum palette; fixed bug in FDC sector size calculation if GAP datas are stored (Loriciels' discs); added simple memory contention to ZXSEC ("Amaurote", "Black Lamp", "Puzznic", "Sly Spy", "Zub"...).
Title: Re: CPCEC a new emulator from cngsoft
Post by: Arnaud on 21:30, 07 May 19
Hello,
i just tried your latest version, but i haven't found how disable the console window.

Is a way to hide the console or you still need it for debugging ?
Title: Re: CPCEC a new emulator from cngsoft
Post by: Fabrizio Radica on 23:10, 07 May 19
Hello,
i have just discovered this new emulator (release 14/03/2019), maybe the substitute of CPCE95 i still use.

Congratz to CNCSoft  :)

http://cngsoft.no-ip.org/cpcec.htm (http://cngsoft.no-ip.org/cpcec.htm)
any solution for Autotype like JavaCPC? :)
Title: Re: CPCEC a new emulator from cngsoft
Post by: reidrac on 08:48, 08 May 19
Very nice. I use CPCE a lot for development in Linux because is fast to start (and it works fine with WINE, better than WinAPE).

I see CPCEC doesn't do "proper" fullscreen and only maximizes the window. Other than that, I can see it replacing CPCE for my dev pipeline.
Title: Re: CPCEC a new emulator from cngsoft
Post by: XeNoMoRPH on 08:44, 14 June 19
Title: Re: CPCEC a new emulator from cngsoft
Post by: Gryzor on 15:08, 25 June 19
Anyone's got a direct link? Company firewall is blocking dynamic dns servers...
Title: Re: CPCEC a new emulator from cngsoft
Post by: Chinnery on 15:35, 25 June 19
Anyone's got a direct link? Company firewall is blocking dynamic dns servers...
http://cngsoft.no-ip.org/cpcec-20190526.zip

Title: Re: CPCEC a new emulator from cngsoft
Post by: Gryzor on 15:38, 25 June 19
Thanks man :)
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 12:18, 03 August 19
I just released a new version that (among other things) answers this question:

Hello,
i just tried your latest version, but i haven't found how disable the console window.

Is a way to hide the console or you still need it for debugging ?

* 20190731 -- eleventh public release. Added a new UI-based debugger (typing commands is no longer needed) and support for ZIP archive reading based on PUFF.C from the ZLIB project, upgraded GCC to 5.1.0 and removed all `inline` tags (they did more harm than good), and generally reworked all internals to make them OS-independent. Several details improved as well: the file selector fixes a bug in Win10, "browse tape" dialog shows the file name, Spectrum +3 automatically becomes +2A to load tapes, `auto rewind` shows up in Edit menu and fixes bugs in CSW files, and sound emulation has improved, for example "Terminus" on CPC plays sound and "Agent X II" on Spectrum is no longer noisy.

The console window is no longer a required part of CPCEC and ZXSEC; the sources still include the old debugger, but it's disabled by default.

(http://cngsoft.no-ip.org/IMAGE_2019-07-25_23-11-26.png)

(http://cngsoft.no-ip.org/IMAGE_2019-07-15_21-59-18.png)
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 13:41, 10 August 19
Small update:
20190809 -- minor patch restoring the "silent" discarding (i.e. without error codes) of write operations in read-only discs and allowing the automatic booting of IBM-formatted discs.

While it isn't a very faithful approach to the disc write protection, this should let several copy-protected games run straight from ZIP archives instead of complaining that the disc is read-only. Besides, AFAIK the opposite case never happens: no protection fails when the disc is NOT write-protected.

(http://cngsoft.no-ip.org/image_2019-08-10_12-40-44.png)

Ideally, this screen won't happen from now on.
Title: Re: CPCEC a new emulator from cngsoft
Post by: Gryzor on 16:50, 10 August 19
Yes, ideally dark blue on black won't happen again  :laugh:
Title: Re: CPCEC a new emulator from cngsoft
Post by: The_Mole_UK on 12:10, 12 August 19
Small update:
20190809 -- minor patch restoring the "silent" discarding (i.e. without error codes) of write operations in read-only discs and allowing the automatic booting of IBM-formatted discs.

While it isn't a very faithful approach to the disc write protection, this should let several copy-protected games run straight from ZIP archives instead of complaining that the disc is read-only. Besides, AFAIK the opposite case never happens: no protection fails when the disc is NOT write-protected.

(http://cngsoft.no-ip.org/image_2019-08-10_12-40-44.png)

Ideally, this screen won't happen from now on.
Can it use ParaDOS v1.2? / Remap keyboard?
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 21:01, 12 August 19
Can it use ParaDOS v1.2? / Remap keyboard?
(http://cngsoft.no-ip.org/IMAGE_2019-08-12_19-58-14.png)
Yes, all you have to do is to swap the default ROM files (AMSDOS and the original English-keyboard firmware) with your own ones. CPCEC will accept them as long as they're compatible, i.e. firmware is a 32k file where the first 16k is the BIOS and the last 16k is the BASIC, and the DOS ROM is 16k and includes a valid high ROM ID.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 14:06, 24 August 19
After posting a minor bugfix several days ago I'm already preparing the next major releases. On one hand, image interpolation is now based on three independent shaders whose effects pile up on the image.

(http://cngsoft.no-ip.org/IMAGE_2019-08-18_22-53-10.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-08-22_18-35-16.PNG)

On the other hand, extended memory (up to 32 ROM 16k banks and 8 RAM 64k banks) is the first step towards Amstrad Plus support. A very early step, but I can already see some screens and hear music...

(http://cngsoft.no-ip.org/IMAGE_2019-08-22_23-15-35.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-08-22_23-15-54.PNG)

When these features are ready, I'll get back to improving the overall compatibility of both CPCEC and ZXSEC, hoping to get the CRTC and FDC quirks and the ULA contention right sooner or later.

(http://cngsoft.no-ip.org/IMAGE_2019-07-28_15-10-19.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-04-14_15-26-46.PNG)
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 08:35, 03 September 19
The past weekend's release was a rushed one, fixing the ZIP archive "read-then-write" bug and adding 576 kB RAM support but disabling the still minimal PLUS ASIC emulation.

(http://cngsoft.no-ip.org/003103.PNG)

Video filters can now be configured independently, together with the scanline and interlace modes, sometimes leading to interesting effects. I like X-Masking and Double Interlace on my laptop, but I prefer Y-Masking and Whole Scanlines on my desktop.

(http://cngsoft.no-ip.org/CPCEC-20190831-4.PNG)

Plans for the near future include PLUS ASIC emulation for CPCEC, as stated in past messages, and memory contention for ZXSEC, where I'm rewriting the Z80 engine so it relies on macros that provide either "coarse" CPC timings (always aligned to 4 clock ticks and very predictable in their duration) or "fine" Spectrum timings (aligned to nothing and very volatile because of the address bus collisions) thus allowing both emulators to rely on the same Z80 files.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 14:48, 05 October 19
Before I get too busy with the CPC Retrodev compo, I updated CHIPNSFX, UZ80 and CPCEC with few news and many fixes:

(http://cngsoft.no-ip.org/IMAGE_2019-10-03_23-39-34.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-10-05_10-23-39.PNG)

* 20191004 -- Twelfth public release. Precise (albeit not perfect yet) memory contention and ULA noise ("snow") on Spectrum: "48K Timing Tests" passes all tests but 36 and 37, and "128K Timing Tests" fails on just six tests. "Mask 3: Venom Strikes Back" draws the attribute and border effects on their precise locations on all platforms (48K, 128K/Plus2, Plus3) and Software Creations' "Black Lamp", "LED Storm" and "Sly Spy" behave well on 128K machines. Improvements in the debugger: fixed disassembly panel invalid cursor locations, added optional tall characters, avoided debug+pause clashing, new key M toggles memory dump ROM+RAM and RAM-only modes. Improved ZIP handling (ZIP archives are no longer locked, files within archives are filtered by extension), user interface fixes.
* 20191004 -- Minor patch making the debugger options set with V and M stick between sessions.

(http://cngsoft.no-ip.org/IMAGE_2019-10-02_21-39-51.PNG)

I'd have liked to fix the CRTC bug that makes the recently released and spectacularly smooth "Pinball Dreams" unplayable but the deadline looms :-(
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 21:43, 18 November 19
I just released a new version of CPCEC and its little sibling ZXSEC, mainly because I had to support "Pinball Dreams" in one way or another!

(http://cngsoft.no-ip.org/IMAGE_2019-11-16_11-16-00.PNG)
(http://cngsoft.no-ip.org/IMAGE_2019-11-12_19-51-23.PNG)

Instead of trying to develop all CRTC types at once I focused on CRTC 1. "Mission Genocide", "Warhawk", "Dynamic Duo", "Prehistorik 2", "From Scratch", "Batman Forever", "Imperial Mahjong", "Octopus Pocus" and many more work flawlessly now, instead of the fragile balance where some tweaks fixed some titles and broke others. Sadly, the fragile balance has now shifted to CRTC 1 against all the other types... so there's still a lot of work to do.

(http://cngsoft.no-ip.org/IMAGE_2019-11-17_10-14-28.PNG)
(http://cngsoft.no-ip.org/IMAGE_2019-10-26_20-37-18.PNG)

New options include a basic V-Hold control (now the original "Thunder Blade" release works) and a flexible H-sync mode that allows fine-tuning Gigascreen effects such as the "Batman/Spawn" screen in "Batman Forever" together with the already extant interlaced mode options.

ZXSEC also benefits from increased precision in memory contention timings, especially on 48K. There's no longer conflict between "Starion", "Dark Star", "Black Lamp" and others that were drawing special effects on the border and the attribute map at once.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 21:19, 24 November 19
(http://cngsoft.no-ip.org/IMAGE_2019-11-23_21-55-33.png) (http://cngsoft.no-ip.org/IMAGE_2019-11-23_22-28-05.png)

Emulating the CRTC type 1 was the first step towards full "Pinball Dreams" support. CRTC 0 is now half done and some demos that either worked in early versions of CPCEC thanks to kludges ("Nayad" part of "5KB Demo 3") or didn't work at all ("Tantrum" part of "Face Hugger's Ultimate Megademo") are now fully operational. "Pinball Dreams" itself still resists, though.

(http://cngsoft.no-ip.org/IMAGE_2019-11-24_19-53-53.png)
Title: Re: CPCEC a new emulator from cngsoft
Post by: Ast on 23:03, 24 November 19
Hi César,


To complete your crtc 1 emulation, try to make runable Scroll Factory (http://www.pouet.net/prod.php?which=76731).


It would be a good challenge for you and a good way to make your cpcec better.


Have a good fun.

Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 22:03, 26 November 19
Hi César,

To complete your crtc 1 emulation, try to make runable Scroll Factory (http://www.pouet.net/prod.php?which=76731).

It would be a good challenge for you and a good way to make your cpcec better.

Have a good fun.

Good suggestion. This is how it looks like right now:

(http://cngsoft.no-ip.org/IMAGE_2019-11-26_20-37-10.PNG)
(http://cngsoft.no-ip.org/IMAGE_2019-11-25_21-44-35.PNG)
(http://cngsoft.no-ip.org/IMAGE_2019-11-26_20-36-57.PNG)

CPCEC simulates a 2 NOP delay on MCR changes (Imperial Mahjong needs either 2 or 3 NOPS to behave properly); if I set the delay to 0 or 1, the title of Scroll Factory improves:

(http://cngsoft.no-ip.org/IMAGE_2019-11-26_20-46-18.PNG)

I'm going to have to ask so many questions about the internal delays that happen between the Z80, the Gate Array and the CRTC. I better start writing them down already.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 22:42, 02 December 19
I released yesterday morning a new version of CPCEC, but it's a minor patch fixing bugs such as bad window rendering when the screen isn't tall enough (for example my current laptop), recording the wrong value in the bytes/second field of WAV files, or failing to keep OUT &0088,&88 from going to the Gate Array ("Knight Rider"). The FDC can now format tracks, a feature that I had dummied out until I was advised to enable it.

(http://cngsoft.no-ip.org/IMAGE_2019-11-24_14-53-35.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-11-24_14-53-51.PNG)

"Still Rising" (CRTC 0 and 1) and "Octopus Pocus" (CRTC 1) join the list of CPC demos that work. "PhX" temporarily loses sync in two different parts depending of the CRTC type. "Pinball Dreams" doesn't run on CRTC 0 or 2 yet, but it works well on CRTC 3 and 4, although only because the game expects them to behave like CRTC 1 regarding the "buffered" CRTC registers 4, 5 and 9. This goes against Shinra's document "Differences between CRTC types" stating that CRTC types 3 and 4 are like CRTC 0 and 2 in this aspect. Who's right?



Title: Re: CPCEC a new emulator from cngsoft
Post by: Ast on 23:38, 02 December 19
Hi @cngsoft (http://www.cpcwiki.eu/forum/index.php?action=profile;u=191)


I've just tested CPCEC right now. There's still some work to do on Scroll Factory's intro.


Your emulator begins better and better each day. Do you plan adding Amstrad Plus emulation ?

Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 15:12, 09 December 19
A change in the behavior of REG1 finally makes the level start SFX of "Zap't'Balls advanced edition" work properly and improves "Onescreen Colonies":
(http://cngsoft.no-ip.org/IMAGE_2019-12-07_22-43-38.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-12-09_18-44-44.PNG)

Hi @cngsoft (http://www.cpcwiki.eu/forum/index.php?action=profile;u=191)

I've just tested CPCEC right now. There's still some work to do on Scroll Factory's intro.

Your emulator begins better and better each day. Do you plan adding Amstrad Plus emulation ?
Scroll Factory is indeed still incomplete, as I showed in the past screenshots. Either the mode change happens too late or the video rendering happens too soon. I know that there's a delay between what the Z80 does and what the screen shows, but I don't know its nature and its length, or whether it's just one delay or several types of it.

Amstrad Plus is in the queue too, and in a past message I posted a screenshot of "Burnin' Rubber" running on incomplete ASIC emulation.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 15:46, 27 December 19
I hope everyone had a merry Christmas. Mine was certainly productive:

1.- The emulation of delays in the Gate Array both to update the bitdepth and to render the pixels solves all the glitches in "Scroll Factory":
 (http://cngsoft.no-ip.org/IMAGE_2019-12-24_12-31-55.PNG)  (http://cngsoft.no-ip.org/IMAGE_2019-12-24_12-31-38.PNG)

2.- These delays also enable the handling of the slightly different case of mid-char ink changes:
 (http://cngsoft.no-ip.org/IMAGE_2019-12-24_21-14-48.PNG)  (http://cngsoft.no-ip.org/IMAGE_2019-12-24_21-29-13.PNG)

3.- OUT &BC00,8: OUT &BD00,1 makes the screen shake:
 (http://cngsoft.no-ip.org/IMAGE_2019-12-26_12-59-23.PNG)

4.- Last but not least, "Pinball Dreams" is now fully supported on all CRTC types: the BG Games intro, the Gigascreen titles, the staff scroller and the game itself behave and show as expected.
 (http://cngsoft.no-ip.org/IMAGE_2019-12-26_23-19-08.PNG)

Shall I post the current files online?
Title: Re: CPCEC a new emulator from cngsoft
Post by: remax on 17:48, 27 December 19
Hoffe Kourçe
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 18:47, 28 December 19
Hoffe Kourçe
Yes of course :-) Alright then, CPCEC-20191227 is available from my website as usual.

(http://cngsoft.no-ip.org/IMAGE_2019-12-20_23-14-57.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-12-28_00-37-42.PNG)
(http://cngsoft.no-ip.org/IMAGE_2019-12-28_00-51-45.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-12-28_00-51-54.PNG)

20191227 -- fourteenth public release. Visual improvements: the green screen palette is closer to the original, the vertical filters ("Y-Masking") are compatible with the interlaced modes, mixing X-Masking and Y-Masking together shows a checkered patter. Internal improvements: the new traits of the CRTC registers 3 and 9 and the delays between the Gate Array, the Z80 and the CRTC finally can emulate "Pinball Dreams" as a whole for all the CRTC types and solve the problems in several demos ("Scroll Factory", "Still Rising", parts of "The Demo"...) and games ("Action Fighter", "Storm Warrior", "Usagi Yojimbo"), although some titles still need particular CRTCs ("PhX" CRTC0, "Onescreen Colonies" CRTC1, etc.) to work correctly.

(http://cngsoft.no-ip.org/IMAGE_2019-12-25_14-04-55.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-12-28_15-00-26.PNG)

I also released "Epimetheus +", an improved edition of my CPC Retrodev 2019 submission, with medals to pick up, smoke trails to spice the visuals up, and a softer difficulty curve for the first 20 levels.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 22:12, 31 December 19
Just in time for the very last three hours of the year...

(http://cngsoft.no-ip.org/IMAGE_2019-12-30_23-02-11.PNG) (http://cngsoft.no-ip.org/IMAGE_2019-12-31_21-10-34.PNG)

20191231 -- minor patch fixing a bug in the FDC (bit 6 of SENSE DRIVE STATUS must react when the user changes discs: "Fugitif") and a regression in CRTC0 (detect REG6<REG4 rather than REG6<=REG4: "5KB Megademo 3: Nayad"). Happy new year 2020!

Thanks to Dlfrsilver for bringing "Fugitif" back to my attention! Happy New Year, everyone!
Title: Re: CPCEC a new emulator from cngsoft
Post by: robcfg on 00:23, 01 January 20
Great work!


Wish you a Happy New Year!
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 12:00, 02 January 20
The New Year's Eve update broke "Scroll Factory" and others :-( Never rush an update without testing it properly! So yesterday evening I had to make a second minor patch solving the issues caused by the first one:

(http://cngsoft.no-ip.org/IMAGE_2020-01-01_23-35-02.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-01-02_11-04-36.PNG)
(http://cngsoft.no-ip.org/IMAGE_2020-01-01_18-57-18.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-01-02_11-03-58.PNG)

20200101 -- minor patch fixing a regression in CRTC0 caused by the previous patch ("Scroll Factory", intro of "Pinball Dreams", "Overflow Preview: Part 1") and improving its heuristics ("Overflow Preview: Part 3").
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 00:02, 23 January 20
I'm busy and I cannot spend enough time on CPCEC, but I've been fixing bugs in the FDC TRACK FORMAT command, improving the disc timings, supporting more copy protections ... and slowly, very slowly, adding Plus hardware support.

(http://cngsoft.no-ip.org/IMAGE_2020-01-22_20-50-31.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-01-22_19-49-04.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-01-22_20-50-59.PNG)

Hardware sprites are half baked; soft scroll, DMA channels and vector interrupts aren't emulated yet; but several cartridges are already playable, beginning with the very first one: "Burnin' Rubber".
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 14:11, 25 January 20
Current state of affairs: the sixteen original cartridges I'm aware of are working correctly.
(http://cngsoft.no-ip.org/IMAGE_2020-01-23_19-21-49.png) (http://cngsoft.no-ip.org/IMAGE_2020-01-24_16-42-18.png)
(http://cngsoft.no-ip.org/IMAGE_2020-01-23_23-15-18.png) (http://cngsoft.no-ip.org/IMAGE_2020-01-23_23-15-35.png)
(http://cngsoft.no-ip.org/IMAGE_2020-01-24_23-21-06.png) (http://cngsoft.no-ip.org/IMAGE_2020-01-24_23-23-55.png)

I've already tested several non-commercial titles and demos and they work, too:
(http://cngsoft.no-ip.org/IMAGE_2020-01-23_19-56-50.png) (http://cngsoft.no-ip.org/IMAGE_2020-01-24_20-53-09.png)

However, "Fluff" is playable but the horizontal scroll is glitchy, and "Prehistorik 2" is missing the hard sprites and crashes on vertical scrolling.
(http://cngsoft.no-ip.org/IMAGE_2020-01-25_11-12-41.png) (http://cngsoft.no-ip.org/IMAGE_2020-01-25_11-13-35.png)

I'm sticking to http://www.cpcwiki.eu/index.php/Arnold_V_Specs_Revised but some details are more obscure than others.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 02:08, 01 February 20
After lots of problems, "Fluff" and "Prehistorik 2" for Plus work well at last!

(http://cngsoft.no-ip.org/IMAGE_2020-01-26_10-22-00.PNG)
(http://cngsoft.no-ip.org/IMAGE_2020-02-01_00-25-03.PNG)

PH2+ took forever, there were errors in the DMA emulation (used here as a timer) and in the algebra that locates sprites within the visible screen.

(http://cngsoft.no-ip.org/IMAGE_2020-01-31_22-44-23.PNG)
(http://cngsoft.no-ip.org/IMAGE_2020-01-31_22-49-57.PNG)

The next release will have to wait until I solve CPCEC's license issues with the university (remember, it was my master's degree final project). In hindsight, all the past releases should have stayed as private alphas :-(
Title: Re: CPCEC a new emulator from cngsoft
Post by: tjohnson on 12:15, 01 February 20
Sounds great.  License issues with a university project!  I hope you get that resolved soon, would never have thought that could happen.
Title: Re: CPCEC a new emulator from cngsoft
Post by: Gryzor on 16:40, 17 February 20
I wouldn't expect something like this having licensing issues outside the USA to be frank but what do I know... in any case, awesome series of updates!
Title: Re: CPCEC a new emulator from cngsoft
Post by: reidrac on 18:49, 17 February 20
I would assume that any project made as part of the university course could be property of the university, or shared, or something like that.

Same as when you work on something paid by your employer; you don't own it (unless your contract says do).
Title: Re: CPCEC a new emulator from cngsoft
Post by: Gryzor on 19:28, 17 February 20
The discussion is much more nuanced though; if it's a public University an argument can be made for public domain.
Title: Re: CPCEC a new emulator from cngsoft
Post by: reidrac on 20:32, 17 February 20
Actually, I thought the code was GPL. So it couldn't be clearer, unless there's any copyright not covered by that.

Anyway, we're guessing and derailing a bit the thread. Apologies.

It is an excellent emulator and it gets better and better. I hope the issue gets sorted and we can all enjoy it legally.
Title: Re: CPCEC a new emulator from cngsoft
Post by: tjohnson on 22:56, 17 February 20
I would assume that any project made as part of the university course could be property of the university, or shared, or something like that.

Same as when you work on something paid by your employer; you don't own it (unless your contract says do).


In the UK University now costs a small arm and leg and unless using code provided and owned by the university I would expect to be the owner of anything produced.  Work is a different story where they are paying you, but this in the UK is the other way round you are paying them now.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 01:03, 01 March 20
Well, it's done. CPCEC 20200229 is out, with Amstrad Plus emulation, source files within the package, everything.

The license problems were more of a big misunderstanding than anything else. I was actually quite dumb and I should have asked the questions much sooner :-( Besides, some titles gave me trouble until very few days ago.

(http://cngsoft.no-ip.org/IMAGE_2020-02-22_10-06-54.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-02-22_10-07-14.PNG)

The less I say about demos the better, too...

(http://cngsoft.no-ip.org/IMAGE_2020-02-12_20-41-07.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-02-12_20-41-38.PNG)

Still, CPCEC and ZXSEC are coming closer towards the goal of "dogfooding": organisations ought to use their own products, don't they?

EDIT: the original upload had a mistake because of a dumb oversight (saving changes AFTER compiling the files!); I replaced the package two hours later.
Title: Re: CPCEC a new emulator from cngsoft
Post by: roudoudou on 11:10, 01 March 20
The less I say about demos the better, too...
Hi CNG, it looks (obviously) like a timing issue on SPLT register and SSRon a Plus, the soft scroll register had almost immediate effect (on the next screen "word")the split register adress is loaded in the Asic-CRTC at the end of the displayed screenfor the "face+vector balls" part, the CRTC is set to 256 bytes long so i guess your emulation do not reset to next adress until it's fully displayed (but this cannot be displayed)i guess that because the rubber bar use almost the same split routine -> with different CRTC settings but the split is triggered the same way, very conventionnal for a Plus++
Title: Re: CPCEC a new emulator from cngsoft
Post by: norecess on 13:32, 01 March 20
Excellent work @cngsoft (https://www.cpcwiki.eu/forum/index.php?action=profile;u=191) , adding Amstrad Plus abilities + distributing source-code = major win for me.

On top of what @roudoudou (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1714) just said, I'm wondering if you could also focus for next release on supporting Eerie Forest by Logon System (https://www.pouet.net/prod.php?which=72271 (https://www.pouet.net/prod.php?which=72271)). There are many issues with the horizontal scrollers. I believe that once you will get this demo 100% fixed, many other productions will be able to run smoothly.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 13:37, 07 March 20
I haven't been able to work too much on CPCEC, but I just released a bugfix avoiding a hang in  'globbing()', extending the compatibility of snapshots (WinAPE and ACE don't handle CPC+ blocks the same way) and moving some OS-independent code from CPCEC-OS.H to CPCEC-RT.H.

(http://cngsoft.no-ip.org/IMAGE_2020-03-01_17-15-19.png) (http://cngsoft.no-ip.org/IMAGE_2020-03-01_17-16-16.png)

@roudoudou (https://www.cpcwiki.eu/forum/index.php?action=profile;u=1714), @norecess (https://www.cpcwiki.eu/forum/index.php?action=profile;u=2409), I can't wait to find why "CRTC 3" and "Eerie Forest" are acting up, though at least the damages are relatively limited: no crashes, no broken timings, just screen offsets not getting calculated and updated as intended.
Title: Re: CPCEC a new emulator from cngsoft
Post by: roudoudou on 13:48, 07 March 20
did you try my ACID test split cartridge in the ACID topic ?
all CRTC3 is doing the same split technic, very + compliant (i'm not mixing CRTC split + SSR register)
so the basics are:
set SPLIT LINE + SPLITADR before the end of the displayed line THEN...       ...out of the visible screen, modifying the SSR (or SSCR) because it has immediate effect
the SSR allow to "choose the block" then you have to substract the block value from the current block value to get the block you want because the BLOCK value is in fact a block shifting :)
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 21:12, 09 March 20
did you try my ACID test split cartridge in the ACID topic ?
all CRTC3 is doing the same split technic, very + compliant (i'm not mixing CRTC split + SSR register)
so the basics are:
set SPLIT LINE + SPLITADR before the end of the displayed line THEN...       ...out of the visible screen, modifying the SSR (or SSCR) because it has immediate effect
the SSR allow to "choose the block" then you have to substract the block value from the current block value to get the block you want because the BLOCK value is in fact a block shifting :)
Your statement about the "immediate effect" is leading me somewhere:

(http://cngsoft.no-ip.org/IMAGE_2020-03-09_19-59-00.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-03-09_19-59-06.PNG)
(http://cngsoft.no-ip.org/IMAGE_2020-03-09_19-59-12.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-03-09_19-59-20.PNG)

It's not right yet but it's beginning to take shape, we're on the right track.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 21:42, 14 March 20
It's the first anniversary of CPCEC.

(http://cngsoft.no-ip.org/IMAGE_2020-03-14_19-53-53.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-03-14_19-54-34.PNG)

Possibly not the best reason for posting a new release, but this minor patch solved several issues in "Eerie Forest" and "CRTC3", so I thought I could publish the new files.
Title: Re: CPCEC a new emulator from cngsoft
Post by: cngsoft on 16:18, 01 April 20
New release of CPCEC just in time for the April showers (let's hope the rain washes the virus away) albeit a minor one focusing on Amstrad Plus special effect bugfixes:

(http://cngsoft.no-ip.org/IMAGE_2020-03-29_12-20-32.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-03-28_14-00-14.PNG)
(http://cngsoft.no-ip.org/IMAGE_2020-03-24_09-47-42.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-03-26_14-14-52.PNG)
(http://cngsoft.no-ip.org/IMAGE_2020-03-26_21-59-55.PNG) (http://cngsoft.no-ip.org/IMAGE_2020-03-26_23-16-08.PNG)

I really need to write stereo sound into the next release, and to understand why the Gate Array's scanline counters used to trigger IRQs sometimes run faster than intended.

I published a new version of CHIPNSFX too, with some tweaks and several new songs, and I should clean UZ80 up and release a new package as well.
Title: Re: CPCEC a new emulator from cngsoft
Post by: norecess on 21:00, 01 April 20
This is getting better and better. Keep up the good work !  ;)
Title: Re: CPCEC a new emulator from cngsoft
Post by: GUNHED on 18:00, 02 April 20
Cool how quick this one does evolve!  :) :) :)


Are you going to support more hardware expansions? Well, I mean the easy stuff.  :)