CPC Rulez
https://cpcrulez.fr/forum/

[EMU] CPCEC Amstrad CPC emulator by CNGSOFT
https://cpcrulez.fr/forum/viewtopic.php?f=7&t=6195
Page 1 sur 2

Auteur :  dlfrsilver [ 16 Mars 2019, 23:55 ]
Sujet du message :  [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Voici CPCEC et ZXSEC de CNGSOFT. J'ai aidé César pendant ces derniers mois à la conception de cet émulateur, ceci dans le cadre de son examen universitaire.

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

Ses points forts :

* une légèreté et une rapidité incomparable. Fonctionne avec 4mo de RAM seulement sur un PC, et un processeur à 400mhz + une résolution minimale de 800x600.

* Compatible avec 100% des jeux cassettes sortis sur Amstrad, y compris les protections MBC, keytones et ainsi de suite.

* La partie sonore est la plus fidèle de tout les émulateurs existants.

* Accélération du chargement des cassettes, reconnaissance automatique du loader utilisé

* Fonction Drag'n'Drop : on glisse les fichiers sur la fenetre de l'émulateur et hop !

* Supporte les fichiers CDT, DSK, CSW, WAV. format CTRAW et IPF à venir

Point à améliorer :

* ajout d'un menu

* précision du FDC (un grand nombre de jeu déjà passent, seuls certains avec des protection particulières restent à supporter)

* précision du CRTC (note, tout les jeux commerciaux passent, seules les démos, et les derniers jeux comme Pinball Dreams qui utilisent le CRTC en profondeur ont un problème).

Auteur :  Princesse Mariana [ 27 Mars 2019, 19:26 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Citer :
Version log:
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.
20190318 -- third public release. By default the window shows a menu; new option -+ hides it.
20190317 -- second public release. Fixed Win32 joystick bugs: JoyGetPos returns ZERO on OK, not on ERROR.
20190314 -- first public release.

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

Auteur :  hERMOL [ 06 Avr 2019, 19:47 ]
Sujet du message :  Re: *** Nouveaux émulateurs AMSTRAD CPC + ZX SPECTRUM ***

Citer :
20190404 -- sixth public release. Fixed a Z80 emulation bug in IRQ logic. Configuration (computer model and file paths) is kept across sessions in a INI file.

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

Auteur :  Princesse Mariana [ 09 Avr 2019, 20:43 ]
Sujet du message :  Re: *** Nouveaux émulateurs AMSTRAD CPC + ZX SPECTRUM ***

Citer :
20190408 -- seventh public release. Fixed a bug in the YM3 file recording, another one in the ZXSEC internal timings, and one more in the debugger commands with optional parameters.

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

Auteur :  Princesse Mariana [ 30 Mai 2019, 17:01 ]
Sujet du message :  Re: CPCEC Amstrad CPC emulator

Citer :
20190526 -- minor patch fixing a bug in autorun mode: opening menus and switching windows cancelled the automatic keyboard.
20190524 -- tenth public release. Added support for CDT/TZX file blocks 0x24 and 0x25 (loop start and ending) (cfr. BATMAN.TZX), fixed bugs in the handling of weak sectors in DSK files (cfr. "Titus Classiques"), YM file recording is reentrant, fixed a bug in INI files with empty fields and added the option "autorewind <0|1>" to rewind (or remove) a tape when playback reaches the end.
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"...).
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.

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

Auteur :  Princesse Mariana [ 05 Août 2019, 20:13 ]
Sujet du message :  Re: CPCEC Amstrad CPC emulator

Citer :
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.

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

Auteur :  Princesse Mariana [ 04 Sep 2019, 15:29 ]
Sujet du message :  Re: CPCEC Amstrad CPC emulator

Citer :
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.
20190817 -- minor patch fixing a crash when booting tapes right when the automatic frameskip kicks in.
20190831 -- minor patch fixing several bugs (booting two-sided discs with FLIP SIDE option on, recording snapshots or tapes after loading a snapshot or tape from a ZIP archive), improving several details (loading snapshots with memory compression, emulating up to 576 kB RAM) and redefining the menus (Edit is divided into Edit and Settings, Image and Sound become Video and Audio, new video filter functions...) and the command line: "-+" now limits the zoom to integer values; "-!" inherits the option of hiding the menu.

Auteur :  Princesse Mariana [ 08 Oct 2019, 04:12 ]
Sujet du message :  Re: CPCEC Amstrad CPC emulator

Citer :
20191003 -- 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.

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

Auteur :  Princesse Mariana [ 03 Jan 2020, 22:21 ]
Sujet du message :  Re: CPCEC Amstrad CPC emulator

Citer :
20191117 -- thirteenth public release. More precise emulation of type 1 CRTC (by default instead of 0) in CPCEC ("From Scratch", "Pinball Dreams"...) and 48K memory contention in ZXSEC ("Starion", "Black Lamp"...). CPCEC also allows choosing the length of the V-hold signal (for example "Thunder Blade" needs a short signal) and whether horizontal sync must be flexible ("Batman Returns", "Pinball Dreams"...) or not ("CPC 30th Anniversary Megademo", "PhX"). Unfortunately, some demos that worked well in past versions now suffer problems that cannot be solved by selecting another CRTC. Removed third joystick button in CPCEC, no real joystick ever included it. The ZXSEC joystick is Sinclair 2 by default.
20191130 -- minor patch fixing a bug when running CPCEC and ZXSEC on a screen shorter than 600 px, another one when recording a WAV file, and another one in the port logic of CPCEC ("Knight Rider", OUT &0088,&88 must not reach the Gate Array, but "Hero Quest", OUT &00C0,&C0 must reach it). The CRTC types 0 and 2 have improved ("Face Hugger Ultimate Megademo": "Tantrum", "5KB Megademo 3", "Power System Megademo": "Glooms"...) but cannot handle "Pinball Dreams" yet, unlike CRTC 3 and 4, that together with CRTC 1 support this game now.
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 pattern. 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.
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!
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").

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

Auteur :  Princesse Mariana [ 02 Mars 2020, 20:45 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Citer :
20200229 -- fifteenth public release. Added support for Amstrad Plus hardware: extended colours, soft scrolling, hardware sprites, programmable raster interruptions, DMA channels, ROM cartridges, etc. Added fifty more tape schemes to speed up the reading of bytes and even whole blocks. Improvements in the disc drive emulation: new discs (by default the DATA format shared by CPC and Spectrum +3) can be created on the fly, emulation of protected games from Design Design ("2112 AD"), The Edge ("Palitron"), Titus ("Prehistorik" and "Moktar/Titus the Fox"), bugfixes (READ ID: "5KB Demo 3", "Daley Thompson's Olympic Challenge" and "Turbo Copy III"; FORMAT TRACK converts old-style MV - CPC discs into new-style EXTENDED ones, and cleans up useless data at the end of the disc). CPCEC honours the RAM size (up to 576k) and CRTC type stated by a snapshot ("Postscript" demo) and so does ZXSEC, that can read Z80 snapshots now and allows 48K SNA files to be either strict (the original format) or relaxed: 128K headers on 48K data. Control-F2 avoids accidental recording of snapshots after a reset. Fixed a bug that happened when combining Y-Masking and Half Scanlines. Extended ZIP archive support to handle pipeline-generated (i.e. the final headers are the right ones) archives. Sources are distributed together with the binaries instead of being delivered upon demand.

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

Auteur :  Princesse Mariana [ 29 Mars 2020, 13:06 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Citer :
20200314 -- first anniversary! minor patch fixing issues in the demos "CRTC3" and "Eerie Forest" for Amstrad Plus.
20200307 -- minor patch avoiding a hang in globbing(), improving snapshot compatibility (WinAPE and ACE employ slightly different CPC+ blocks) and removing several useless details. The optional firmware packages now include the corresponding cartridges.

Citer :
Además CPCEC continúa evolucionando. Ya he resuelto casi todos los problemas de temporización de "Prehistorik 2", "1st Plus Demo", "CRTC3" (¡todas las partes!), "Eerie Forest" y "Synergy 4".

Image
Image

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

Auteur :  marcel [ 29 Mars 2020, 16:57 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

coucou, on discute pas mal sur le discord pour faire avancer les choses donc un grosse mise à jour est à venir
surtout les dernières modifications qui étaient en fait des patchs pour faire fonctionner telle ou telle démo -> poubelle
le système de déclenchement des interruptions programmables a été revu pour coller plus avec le comportement décrit dans les specs de Kevin T.
en travaillant sur les délais des split-rasters selon l'instruction qui fait l'écriture, on a aussi relevé que les lectures/écritures 16 bits n'étaient pas atomiques
voilà donc ça bosse :wink:

Image

Auteur :  Princesse Mariana [ 04 Mai 2020, 10:20 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Citer :
Lors de la publication du package CHIPNSFX, j'ai publié (enfin) la seizième version publique de CPCEC et ZXSEC , avec la prise en charge tant attendue de SDL2 qui a permis de compiler et d'exécuter des émulateurs sur GNU / Linux (dans ce cas LinuxMint 18.3), MacOS et même Raspberry Pi.
Enfin, j'ai publié aujourd'hui un patch mineur de CPCEC et ZXSEC dont les deux bénéficient, mais qui est plus facile à voir en action dans le second: le package de test RAXOFT 2012, qui limite l'émulation du Z80, atteint enfin 100 % Succès: les derniers plantages restants, qui étaient concentrés sur le jeu d'instructions d'entrée et de sortie de bloc (INI, IND, INIR, INDR, OUTI, OUTD, OTIR et OTDR) ont définitivement disparu.


Citer :
20200503 -- 20200503 -- minor patch improving the behavior of the Z80 operations INI, IND, INIR, INDR, OUTI, OUTD, OTIR and OTIR: the 2012 RAXOFT tests (Z80CCF, Z80FULL and Z80MEMPTR) score zero errors. Slightly more precise automatic frameskip.
20200430 -- sixteenth public release. Now you can compile CPCEC and ZXSEC with SDL2 (featuring its own graphical user interface) for multiple operating systems thru the option -DSDL_MAIN_HANDLED; the precompiled files CPCEC.ELF and ZXSEC.ELF for 32bit GNU/Linux are included, too. New support for extended ROM profiles through INI files enumerating up to 257 16K ROM blocks. Further Z80 tweaks: the new error rates of ZXSEC in the 2012 RAXOFT tests are 8/152 Z80FULL, 5/152 Z80CCF and 0/152 Z80MEMPTR.
20200420 -- minor patch fixing the HSYNC signals' black stripes from "Chany Dream End Megademo" on CRTC 1, "Onescreen Colonies" on CRTC 0, etc., as well as the value of MEMPTR in JR cc,$RR and DJNZ $RR and the logic of BIT n,r,(IX+$XX): the error rates of ZXSEC in the 2012 RAXOFT tests are Z80FULL 10/152, Z80CCF 70/152 and Z80MEMPTR 4/152.
20200406 -- minor patch adding partially multiplexed PLUS sprite rendering: "Synergy 4" recovers its top left sprites.
20200404 -- minor patch fixing the DMA handler (all commands but LOAD can be combined together) and removing several "kludges" for PLUS but the one for "Black Sabbath": thanks to Norecess464 for locating the bug. Also, -C now becomes -C0..4.
20200331 -- minor patch providing further fixes for Plus demos "CRTC3" and "Synergy 4" (top left sprites disappear after few seconds, though) and adding the command Shift+Space (skip scanline) to the debugger.

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

Auteur :  Princesse Mariana [ 11 Oct 2020, 14:27 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Citer :
20201010 -- eighteenth public release. Fully rewritten CRTC logic, with an internal event system that extends demo compatibility (for example "Chapelle Sixteen", "Madness Demo" and "S&KOH" for CRTC1) and a fully multiplexed Plus sprite renderer. More disc protections (ERE, UBI) are supported, WRITE DELETED DATA updates the corresponding flag in the sector table. New Dandanator support, read-only ("Sword of Ianna"). Preliminary Playcity support, limited to the two extra PSG and the NMI trigger. New video recording based on an intermediary format XRF, and including a tool allowing to convert it into AVI files. Improvements in the SDL interface, with a bigger font (12px rather than 8px) and vertical alignment in menu keyboard shortcuts. Added new debugging functions (looking at graphics in memory with key "W", trapping the opcode $EDFF as a breakpoint, etc.) and moved breakpoints from "T" to "." . Removed CPCEC.ELF and ZXSEC.ELF as they're bound to a single OS (Linux Mint 18 32bit) and the user must compile the binaries anyway. Moved the configuration files in non-Windows systems from CPCEC.INI and ZXSEC.INI to .cpcecrc and .zxsecrc as customary on Unix.
20200622 -- minor patch reducing memory footprint (extra ROM memory is only allocated if the user loads a "profile"), rendering SYNC signals as black rather than as the current border, and fixing the 3D cylinders part of "PhX" on CRTC1; the "ball worms" and the final scroller stay bad on CRTC3 and CRTC4, though.
20200616 -- minor patch adding several tape analyses and removing the patch that shortened the initial delays (it caused problems). Several changes in SDL2 (fewer warnings, disc drive cache in Win32) and in the Z80 debugger (more content: 256 bytes of memory dump and 32 bytes of stack).
20200606 -- minor patch with surround sound: the user can set the channel separation to 0% (mono), 50% (surround) or 100% (stereo).
20200603 -- seventeenth public release. Added stereo sound. Fixed a bug in the CPC PIO (the read-only mode of port A allowed writing), another bug in the tape analysis (CPCEC: the algorithm for TITUS caused trouble in "The Blues Brothers"; ZXSEC: Speedlock5 didn't recognize the heading noise; both systems add patches to shorten the initial delays), another one in the loading of CPC snapshots (a snapshot saved on PLUS hardware without the "CPC+" block showed a completely black palette), another one in the Z80 debugger (the command 'P0 could generate an infinite disassembly), another one on tape handling (reading a WAV file must use >128 as reference instead of >=128) and some problems in Win32 (the screen stopped updating after pausing, switching windows in and out) and SDL2 (boot message errors weren't shown; the filename sorting algorithm was slow).
20200509 -- minor patch improving the synchrony between Z80 and video on ZXSEC: the ULA48 test already worked before, but ULA128 had problems; now both work well. Added the option -W (use the full screen rather than a window) and improved the SDL2 handling of bigger windows.
20200504 -- minor patch focused on the SDL2 toolkit: fixed a bug when confirming overwriting files, and improved file browsing across directories by pointing by default to the previous directory.

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

Auteur :  Princesse Mariana [ 01 Nov 2020, 15:53 ]
Sujet du message :  Re: [EMU] CPCEC Amstrad CPC emulator by CNGSOFT

Citer :
20201028 -- minor patch improving Issue-2 emulation on Spectrum 48K: "Abu Simbel Profanation" and "Rasputin 48K" work on 48K Issue 2 and fail on the other models, as expected.
20201024 -- minor patch solving a problem with the SDL_WINDOWEVENT_EXPOSED event and inverting the black/white bits in ZXSEC's graphics viewer.
20201022 -- minor patch adding mouse wheel support to the SDL2 user interface and an option to set whether disc write conflicts in CPCEC and ZXSEC are strict (they raise errors) or relaxed (they do nothing).
20201020 -- minor patch fixing a bug in the Dandanator support (the "LD (IY+n),A/B/C" operations must work with any "n" value, instead of just 0: thanks to Spirax for the report) and another one in the CRTC (counter HCC is 8 bits long: "Camembert Meeting 4 Demo" stops showing a line of garbage between the top and the middle panels), adding SDL2_DOUBLE_QUEUE as an optional SDL2 compilation flag (some systems need an audio buffer longer than the default 8 frames) and using a different pixel pattern when both X-Masking and Y-Masking are enabled.
20201012 -- minor patch adding mouse support to the user interface for SDL2.


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

Page 1 sur 2 Le fuseau horaire est UTC+1 heure
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/