CPCWiki forum

General Category => Emulators => Topic started by: megachur on 20:16, 06 November 19

Title: CPCEPower v1911
Post by: megachur on 20:16, 06 November 19
Here is the last version of my amstrad cpc emulator : CPCEPower v1911

see file CPCEPower_SDL_HELP.html for help !
Decompress all the archive in the same directory and run the .exe !

It works on windows and linux (use Wine).
the changes are :

2019/11
SNR: Added the playBack, but seems WINAPE specific keyframe adjusting missing, so some SNR don't work after a while... DSCA and DSCB disk files are automaticaly loaded, but need to be at the same file path as the SNR file !
BUGFIX: When a CDT was playing and tape motor on, there was a crash if you're loading a SNA or SNR !
ARGS: Add the possibility of disabling CTM monitor scanlines in .ini or commands line
OSD: Show side after track when disk is double side.
CTM: Added key SHIFT+F3 to change monitor scanlines and optimized the activate of the scanlines
DSK: Use SHIFT+F1 or SHIFT+F2 to try autochange and load other side of the disk already inserted. Name must contains "Face x" or "Side x" or "Disk x" and the rules to change 'x' after are A<->B or xA<->xB or 1<->2
Also CTRL+F1 or CTRL+F2 show the actual file in floppy disk A or B
CDT: Use SHIFT+F3 to try autochange and load other side of the tape/k7 already inserted. Name must contains "Face x" or "Side x" and the rules to change 'x' after are A<->B or xA<->xB or 1<->2
Also CTRL+F3 show the actual file in cassette desk
Warning, for doing that, I shifted the Function Key, now F4->change crtc type, SHIFT+F4-> scanlines or noscanlines, F5-> sound/nosound, SHIFT+F5-> stéreo/nostéreo.
ARGS: Add the possibility to autload tape with -e or --autotape command
INI: Add the choice of the language=uk or fr or es or dk to choose default language of Amstrad roms and keyboard.
Upgraded SDL2 to 2.0.10 (last version available)
JOY: Added the new events of SDL 2.0.10 to detect plug/unplug of the joystick
WIN: Added the possibility to set the x,y horizontal, vertical position of the main window in commande line or .ini file.
MEM: Added the extension of memory > 512kb -> 1024kb/1Mb, 2048kb/2Mb and 4096kb/4Mb are allowed ! FutureOs and others demos using this memory extension works now.
SNA: added management of extra memory chunk MX09->40. Also SNA file save of memory > 128kb through 4Mb is now available but without extra CHUNK MEM0->9 and MXxx because RLE compression not implemented yet !
MEM: added all connexions of extended banks memory, now SymbOs works (576kb or 1M version)

2019/09CDT&TAPE: Minor technical change for more accuracy on motor / play command !
FULLSCREEN: Keep and restore window position when set/reset fullscreen and only if display of the window isn't full in desktop area, reset it to center of the desktop.
JOYSTICK: Add axis and improve hat joystick move detection - more reliable
OSD: Added name of the file which is dropped and warning on screen display !
OSD: Added name of the write file (snapshot ou screenshot)on screen display !

2019/07
FDC : Corrected end of format command when FDC detect index hole for the second time - It appends when you try to format a track with track size superior of real track size. N=6 (8192 bytes) for example.
SAVE SCREEN : Implemented PNG format instead of BMP format to save screenshot
MOUSE : Hide mouse pointer when you left click inside the window display, press middle button or F8 (pause/unpause) to show mouse pointer again !

Enjoy !

New version 20191124


EXT: added digiblaster 8bit emulation on printer port. command line -d or digiblaster=yes in the .ini (with default=no before ;-)). Added a kind of " high pass filter" when the printer data is 255 x the same, it stop sound digiblaster output (mix with channel B).


Tell me if it sound like real hardware because I'ven't one to hear the 'real' quality !


When you active DIGIBLASTER the new image (instead of mono one - see IMG Folder) is show when sound are in mono, when sound are in stereo there is no digiblaster emulation !
Title: Re: CPCEPower v1911
Post by: Gryzor on 09:11, 07 November 19
Lovely looking, cheers :)

Scanlines make things a bit dark but I like the simplicity and immediacy of it.

What does the last ("auto") line in the .ini do?
Title: Re: CPCEPower v1911
Post by: megachur on 20:10, 07 November 19
Thanks Gryzor for you feedback :
a) The scanlines are by default on cpc on the CTM6x0... yes, it's not really a CPC feature directly (GateArray or CRTC) but it's like I see my CPC display for age now, so I've leave this by default !
click on :  with left mouse button to be without scanlines !

I can add an option on the .ini ou by cmdline to avoid this in the next version if you want !
b) the auto -> (auto) type the text in the emulator.
for exemple :
auto=RUN"LOADER.BAS"or on cmdline : CPCEPower_SDL.exe --auto=RUN"LOADER.BAS

or like the example in the .ini :
auto=PRINT"CONFIG FILE ACTIVATED":BORDER 6,3:'HELLO CPCEPOWER READY FOR YOU !!!
to  see it : set default=no to activate the options .ini
before launching the exe
result :
Title: Re: CPCEPower v1911
Post by: megachur on 20:34, 07 November 19
new version 20191107 posted because a little bug fix found when saving screenshot without loading a file (dsk, sna, etc) before !
Title: Re: CPCEPower v1911
Post by: megachur on 06:47, 08 November 19
@Gryzor (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1) : confirm me that it's exactly what you want.
I've added a new option in .ini and cmdline to disable CTM Monitor scanlines :
scanlines=no
and
-x, --noscanlines - disable CTM monitor scanlines

example :
CPCEPower_SDL.exe -xorCPCEPower_SDL.exe --noscanlines
Here is a new exe version with that ;-) with the html doc updated !
Title: Re: CPCEPower v1911
Post by: megachur on 08:35, 11 November 19
New version 20191111 with more little add and changes !
I've updated the first post with the last version ;-) !
Enjoy !
Title: Re: CPCEPower v1911
Post by: Gryzor on 11:13, 11 November 19
Hello!

Sorry, I was away for a few days.

About scanlines: yes, I know how they work and what they are and how they compare to the original CRT :) What I meant was, they appear quite dark so maybe you could add an option for intensity?

Regarding the Auto line: I gathered that was what it does. I asked because the ini file already had the Auto line populated (I don't remember exactly, some Print command) but the program didn't seem to execute it...
Title: Re: CPCEPower v1911
Post by: megachur on 13:55, 11 November 19
Hello,
CTM Monitor Scanlines emulation will be off 'by default' in the next revision/release ;-) to avoid confusing lots of people with this 'normal' feature of amstrad monitor but not CPC CRTC or GA hardware !!
colors are exactly like my CTM monitor, 35 years old now ! WINAPE or other don't use right intensity, it was mesured by Grim a long time ago on real hardware !

in the .ini, when you have default=yes, like it's written on the html documentation, it disable all the .ini commands !
Enjoy!  ;D
Title: Re: CPCEPower v1911
Post by: megachur on 06:43, 13 November 19
New version from 20191112 added on the first post with no CTMmonitor 'scanlines' by default and optimization of the change of the activation of the scanlines (without monitor/sync reset !) !
Enjoy ! ;D :o 8)
Title: Re: CPCEPower v1911
Post by: megachur on 06:17, 14 November 19
Upgraded SDL2 to 2.0.10 (last version available)  !

and also corrected a refresh bug on the picture of scanline on/off on the bottom of the screen !
Report any bug on your system !
Title: Re: CPCEPower v1911
Post by: megachur on 06:36, 18 November 19
New version 20191118


JOY: Added the new events of SDL 2.0.10 to detect plug/unplug of the joystick
WIN: Added the possibility to set the x,y horizontal, vertical position of the main window in commande line or .ini file.
MEM: Added the extension of memory > 512kb -> 1024kb/1Mb, 2048kb/2Mb and 4096kb/4Mb are allowed ! FutureOs and others demos using this memory extension works now.
Title: Re: CPCEPower v1911
Post by: megachur on 07:03, 20 November 19
New version 20191120

SNA: added management of extra memory chunk MX09->40. Also SNA file save of memory > 128kb through 4Mb is now available but without extra CHUNK MEM0->9 and MXxx because RLE compression not implemented yet !

Thanks to Roudoudou for providing me some SNA of 4Mb done with RASM for testing purpose !!! ;D :D ;) ;)
Title: Re: CPCEPower v1911
Post by: megachur on 22:09, 21 November 19
New version 20191121
MEM: added all connexions of extended banks memory, now SymbOs works (576kb or 1M version)
Title: Re: CPCEPower v1911
Post by: megachur on 16:40, 24 November 19
New version 20191125

EXT: added digiblaster 8bit emulation on printer port. command line -d or digiblaster=yes in the .ini (with default=no before ;-)). Added a kind of " high pass filter" when the printer data is 255 x the same, it stop sound digiblaster output (mix with channel B).

Tell me if it sound like real hardware because I'ven't one to hear the 'real' quality !

When you active DIGIBLASTER the new image (instead of mono one - see IMG Folder) is show when sound are in mono, when sound are in stereo there is no digiblaster emulation !
Powered by SMFPacks Menu Editor Mod