Author Topic: CPCEPower v1911  (Read 867 times)

0 Members and 1 Guest are viewing this topic.

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
CPCEPower v1911
« on: 21: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 !
« Last Edit: 17:49, 24 November 19 by megachur »

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.176
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3008
  • Likes Given: 5345
Re: CPCEPower v1911
« Reply #1 on: 10: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?

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #2 on: 21: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 :
« Last Edit: 21:26, 07 November 19 by megachur »

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #3 on: 21: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 !

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #4 on: 07:47, 08 November 19 »
@Gryzor : 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 !
« Last Edit: 09:33, 11 November 19 by megachur »

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #5 on: 09:35, 11 November 19 »
New version 20191111 with more little add and changes !
I've updated the first post with the last version ;-) !
Enjoy !

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.176
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3008
  • Likes Given: 5345
Re: CPCEPower v1911
« Reply #6 on: 12: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...

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #7 on: 14: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

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #8 on: 07: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)

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #9 on: 07: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 !

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #10 on: 07: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.

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #11 on: 08: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 ;) ;)
« Last Edit: 08:09, 20 November 19 by megachur »

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #12 on: 23:09, 21 November 19 »
New version 20191121
MEM: added all connexions of extended banks memory, now SymbOs works (576kb or 1M version)

Offline megachur

  • CPC464
  • **
  • Posts: 46
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 72
  • Likes Given: 3
Re: CPCEPower v1911
« Reply #13 on: 17: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 !
« Last Edit: 17:45, 24 November 19 by megachur »