CPCWiki forum

General Category => Emulators => Topic started by: roudoudou on 06:30, 27 October 23

Title: ACE for Linux,Mac, Windows
Post by: roudoudou on 06:30, 27 October 23
http://www.roudoudou.com/ACE-DL/
Enjoy this first version
There will be à video présentation november 1st
But now, we have to party at bnd meeting!
Title: Re: ACE for Linux,Mac, Windows
Post by: Gryzor on 09:31, 27 October 23
Oh brilliant!

-A couple of questions: if I click on Insert Floppy from the menu nothing happens?
-What does the "Drag and drop Mister rompack" do?
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 10:14, 27 October 23
Wow, debug window with disassembled code looks nice.
But I can't move it because the upper part of it popped out of the screen and range of the mouse.
Let's look at the config file.
Title: Re: ACE for Linux,Mac, Windows
Post by: robcfg on 12:17, 27 October 23
Looking good and plenty of useful stuff, thanks!

Also, thaaaaaaank you very much for making it multiplatform, it's truly appreciated  :D
Title: Re: ACE for Linux,Mac, Windows
Post by: Jean-Marie on 14:00, 27 October 23
This looks promising, thanks for your efforts! I really appreciate that it's very lightweight on CPU usage.
It might become a serious contender when all the bugs/quirks are fixed.
The Debug window doesn't appear for me. It could be related to the fact that Windows11 scales my screen to 125% by default. I have some troubles with Caprice64 because of this.
Also, just to let you know, it doesn't pass the Puffy test (run the original dsk of Puffy's saga).
Title: Re: ACE for Linux,Mac, Windows
Post by: BSC on 18:36, 27 October 23
Great news! I wish I could give it a go, but MacOS (that little sucker) does not like your libs:

./AceHacked
dyld[6155]: Library not loaded: @executable_path/./libs/libpng16.16.dylib
  Referenced from: <47953722-F85D-379F-BBCD-1827A61F07F1> ./AceHacked-2023-10-24/AceHacked
  Reason: tried: './AceHacked-2023-10-24/./libs/libpng16.16.dylib' (code signature in <989CBC46-F69F-3B48-A141-B4D92160FBD8> './AceHacked-2023-10-24/libs/libpng16.16.dylib' not valid for use in process: library load disallowed by system policy)
zsh: abort      ./AceHacked
Title: Re: ACE for Linux,Mac, Windows
Post by: d_kef on 19:58, 27 October 23
Nice! I run it on Linux and I like its fresh look and its potential.
A few remarks
The Plugins button doesn't do anything. Is it for future use?
I like the debug window but scrolling with the mouse wheel doesn't work.
Thank you for your efforts and keep up the great job!

d_kef
Title: Re: ACE for Linux,Mac, Windows
Post by: robcfg on 20:25, 27 October 23
Quote from: BSC on 18:36, 27 October 23Great news! I wish I could give it a go, but MacOS (that little sucker) does not like your libs:

./AceHacked
dyld[6155]: Library not loaded: @executable_path/./libs/libpng16.16.dylib
  Referenced from: <47953722-F85D-379F-BBCD-1827A61F07F1> ./AceHacked-2023-10-24/AceHacked
  Reason: tried: './AceHacked-2023-10-24/./libs/libpng16.16.dylib' (code signature in <989CBC46-F69F-3B48-A141-B4D92160FBD8> './AceHacked-2023-10-24/libs/libpng16.16.dylib' not valid for use in process: library load disallowed by system policy)
zsh: abort      ./AceHacked

Just go to Security & Privacy setting and allow the library.
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 13:37, 28 October 23
Quote from: d_kef on 19:58, 27 October 23Nice! I run it on Linux and I like its fresh look and its potential.
A few remarks
The Plugins button doesn't do anything. Is it for future use?
I like the debug window but scrolling with the mouse wheel doesn't work.
Thank you for your efforts and keep up the great job!

d_kef
Yeah offset told me to wait for plugins
Later ;)
Title: Re: ACE for Linux,Mac, Windows
Post by: OffseT on 19:18, 30 October 23
Quote from: roudoudou on 13:37, 28 October 23Yeah offset told me to wait for plugins

Later ;)

Plugins are supposed to be public and portable code, and they are delivered with a SDK (so that anyone could develop one and any emulator could use them). Thanks to the Haiku port by @PulkoMandy, I could identify multiple ways to improve plugins code structure and packaging (notably for the ones using a GUI), and it was better for Roudoudou to wait for this improvements to be implemented.

In short: /mode goret off  :P
Title: Re: ACE for Linux,Mac, Windows
Post by: teopl on 22:38, 12 November 23
Is there some documentation for macOS version? I am wondering what are command line options...
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 23:35, 12 November 23
Quote from: teopl on 22:38, 12 November 23Is there some documentation for macOS version? I am wondering what are command line options...
no command line right now, you can pass any "regular" file (.dsk .hfe .sna .cpr .rasm)
Title: Re: ACE for Linux,Mac, Windows
Post by: BSC on 12:25, 19 November 23
Quote from: robcfg on 20:25, 27 October 23
Quote from: BSC on 18:36, 27 October 23Great news! I wish I could give it a go, but MacOS (that little sucker) does not like your libs:

./AceHacked
dyld[6155]: Library not loaded: @executable_path/./libs/libpng16.16.dylib
  Referenced from: <47953722-F85D-379F-BBCD-1827A61F07F1> ./AceHacked-2023-10-24/AceHacked
  Reason: tried: './AceHacked-2023-10-24/./libs/libpng16.16.dylib' (code signature in <989CBC46-F69F-3B48-A141-B4D92160FBD8> './AceHacked-2023-10-24/libs/libpng16.16.dylib' not valid for use in process: library load disallowed by system policy)
zsh: abort      ./AceHacked

Just go to Security & Privacy setting and allow the library.
Worked for me btw, thanks for the pointer.
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 08:50, 06 December 23
Hi!

I've done a little presentation for the next update, to demonstrate new features (i made chapters to navigate inside video + english subtitles)

new release is available => http://www.roudoudou.com/ACE-DL/

Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 10:16, 06 December 23
...impressive enhancements / Plugins!
Title: Re: ACE for Linux,Mac, Windows
Post by: Prodatron on 11:14, 06 December 23
Fantastic, I really liked the presentation, thanks a lot!
The amount of supported hardware is impressive! Mapping the Albireo drive to your local harddisc is a very cool feature!
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 11:52, 06 December 23
thanks!

i hope some people will try DigiTracker https://www.cpc-power.com/index.php?page=detail&num=5225

and here your impressive MOD archive collection! https://www.cpc-power.com/index.php?page=detail&num=11719 + clic on digitracker keyword to search for other floppies
Title: Re: ACE for Linux,Mac, Windows
Post by: Jean-Marie on 14:39, 06 December 23
Nice! Could you please add an elevator to the Debug window, to navigate more easily ?
Can we remap the joystick keys to Cursor+Left Ctrl+Left Shift instead ? That would be more convenient.

Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 15:40, 06 December 23
Quote from: Jean-Marie on 14:39, 06 December 23Nice! Could you please add an elevator to the Debug window, to navigate more easily ?
Can we remap the joystick keys to Cursor+Left Ctrl+Left Shift instead ? That would be more convenient.


not that convenient when you are two people playing with the keyboard! ;)


it may be better to let people choose their keyz, that will be part of ergonomics project

Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 18:20, 06 December 23
@roudoudou

Nice one, using ACE on MorphOS already, now also on my Mac  8)

Quick notice : Right CTRL + Right SHIFT (for Joystick) do not work on a Macbook ;)

EDIT : oh and I just realised that ROM Config is not saved, do you have to do this manually ? Where ?
Title: Re: ACE for Linux,Mac, Windows
Post by: eto on 18:42, 06 December 23
Quote from: roudoudou on 08:50, 06 December 23i made chapters to navigate inside video + english subtitles
awesome... time to fresh up my French :-)
Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 18:49, 06 December 23
Sorry, got another one : Cannot load a floppy except doing drag&drop, F1 and F3 do not work (and the buttons in the F12 menu also do not work) ...

Ok, forget it, just realised the DSK files have to be in the ACE-DL-Files folders, else the dialog won't open ;)
Title: Re: ACE for Linux,Mac, Windows
Post by: eto on 20:34, 06 December 23
oh.... there's Uniload.... that gives me hope that we will see a release at some point :-)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 08:08, 07 December 23
Thanks to Prodatron who provided me an archive my many SymbOS stuff inside, there is a preconfigured HDD image to download on ACE website :)

(http://www.roudoudou.com/ACE-DL/capture_s0.png)
Title: Re: ACE for Linux,Mac, Windows
Post by: Gryzor on 08:24, 07 December 23
Quote from: roudoudou on 08:08, 07 December 23Thanks to Prodatron who provided me an archive my many SymbOS stuff inside, there is a preconfigured HDD image to download on ACE website :)

(http://www.roudoudou.com/ACE-DL/capture_s0.png)
Ooh that's awesome news! 
Title: Re: ACE for Linux,Mac, Windows
Post by: Prodatron on 11:49, 07 December 23
Wow, that works great!
(btw, I wonder why Unidos takes so long for scanning the device - but we have F5 in ACE, so no problem  :D )

Thanks, Roudoudou, for the good explanation how to set it up (maybe you could also mention, that the Ram should be increased a little bit). Oh, and the SymbOS ROMs are not required, as you boot it from the HDD with Unidos anyway. I can make a ROM version of the 4.0 beta, which then won't require Unidos for booting.


I recognized that the mouse wheel doesn't seem to be emulated (at least in Windows).
I wonder if this is an issue with SDL, or if you are still planning to add this?
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 13:13, 07 December 23
Sure, will add the RAM settings !

I did not add the wheel yet (neither other buttons) but it will probably be part of next release

The reason is the wheel is a special event and it is pumped elsewhere the Mouse click/coordinates management so i will have to modifiy a little my core to propagate this

I'm looking forward your 4.0 Beta :p
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 08:16, 08 December 23
OK, tested successfully with SYMB_OS Beta 4
There is no need to have UniDos on the side and the boot is fast 8)
New ROM pack on the website + new, simpler installation procedure
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 09:58, 08 December 23
...with SymbOS Beta 4? Nice. I'm curious :)
Nice videos by the way. Thanks for good explaning all.
Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 13:34, 08 December 23
@roudoudou

I have questions ;)

All files I see in the private/ACE-DL-Files folder are those in the screenshot below (Mac M1 this is) ...

ACE-DL.png

no xmass (or x-mass) folder and the rom folder is empty, even if I copy the SymbOS e02 file in there, I cannot see it in the ACE menu to select it. When trying to use an ide-image and select NEW HDD IMAGE there is nothing there, no file is created ... however, the albireo and dsk folders are seen in the ACE config and I have access to the files in there ...  :-\ ???



Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 13:44, 08 December 23
i forward this to Sid who is packaging Mac versions

Title: Re: ACE for Linux,Mac, Windows
Post by: CPCBEGIN on 21:23, 08 December 23
Amazing emulator for several hours of diversion.
Will there be an raspberry pi 4XX version?
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 21:41, 08 December 23
Quote from: CPCBEGIN on 21:23, 08 December 23Amazing emulator for several hours of diversion.
Will there be an raspberry pi 4XX version?
Sid tried to compile & run on PI4 but we have a speed issue (maybe audio output because i'm synchronising on the audio stream)
we are working on it (slowly) if there is a Pi version you will know ;)
Title: Re: ACE for Linux,Mac, Windows
Post by: Sid_ on 22:38, 08 December 23
Quote from: SkulleateR on 13:34, 08 December 23@roudoudou

I have questions ;)

All files I see in the private/ACE-DL-Files folder are those in the screenshot below (Mac M1 this is) ...

ACE-DL.png

no xmass (or x-mass) folder and the rom folder is empty, even if I copy the SymbOS e02 file in there, I cannot see it in the ACE menu to select it. When trying to use an ide-image and select NEW HDD IMAGE there is nothing there, no file is created ... however, the albireo and dsk folders are seen in the ACE config and I have access to the files in there ...  :-\ ???




As far I understand, you want to add some roms in Ace. 
You can store your roms in $HOME/ACE-DL-Files/roms for instance and drag and drop from Finder to Ace rom setup UI. You can do everything by drag and drop. If you are still in trouble send me a PM I'll try to fix your issue.
Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 00:27, 09 December 23
@Sid_ 

PM sent ... there is no way I get the IMG into ACE-DL for whatever reason, not even by Drag&Drop  :-\
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 08:55, 09 December 23
Yes, the IMG files are not supposed to be dragged&dropped!
Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 15:30, 09 December 23
Quote from: roudoudou on 08:55, 09 December 23Yes, the IMG files are not supposed to be dragged&dropped!

Yes, I know but I tried anyway ;)

Ok, so this is definitely a MacOS issue since at first start, there are folders created at /USERS/XYZ/ACE-DL-FILES/ and these are accessible from AceDL .

BUT : there are also THE SAME folders inside the AceDL.app/ and as they are readable, MacOS cannot WRITE to it.

ace1.png

So I tried manually to copy the IMG and the E02 files into the APP/ folders (.APP/CONTENTS/MACOS/PRIVATE/XMASS and /ROMS) and now at least it is starting but I got no access to the IMG file inside the emulation, it shows the "IDE" in the AceDL window but it won't access it.

I tested the same in Win 11 by the way and it works, including IDE access. So this is definitely a MacOS issue  :(
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 15:37, 09 December 23
people told me we can write in the APP folder so i do not bother about home/emulator folder distinction for the xmass IMG

i will change the reference to $home/xmass instead of $emu/private/xmass for Mac version, it will solve your issue


Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 15:46, 09 December 23
Here you can see the mounting error after I copied everything into the .APP/ folders :

QuoteLoadRomPack starting from #02
Loading ROM pack [./rom/SYMB_OS_Beta4.e02]
IDE Reset
*** IDE UnMount ***
new image selected [./private/xmass/SymbOS_ProdatronPack.img]
SYMBi-Mouse installed
Backuping NOVA NVRAM [./private/Nova/nova.nvram]
SYMBi-RTC installed
ide created
mounting
*** IDE UnMount ***
IDEMount [./private/xmass/SymbOS_ProdatronPack.img]
mounting error [./private/xmass/SymbOS_ProdatronPack.img]
Amstrad 100% bad FDC access routine detected!
Amstrad 100% bad FDC access routine detected!
Amstrad 100% bad FDC access routine detected!
Amstrad 100% bad FDC access routine detected!
Title: Re: ACE for Linux,Mac, Windows
Post by: SkulleateR on 16:05, 09 December 23
@roudoudou @Sid_ 

I tried further and manually edited the IMG path in the config.cfg inside the ACE-DL_futuristics folder ... now IDE and SymbOS is working fine, so it really would be a good idea to exclude all files that are used out of the .APP/ folder :)
Title: Re: ACE for Linux,Mac, Windows
Post by: Sid_ on 21:34, 09 December 23
Hi @SkulleateR,
It's a solution, you can do that. 
I send you a message in PM with another solution. 
Have fun.

Regards

Sid
Title: Re: ACE for Linux,Mac, Windows
Post by: CPCBEGIN on 21:41, 09 December 23
I think I find a bug:
ACE-DL doesn't run dsk with 57 track used, than runs in real CPC with 3.5" floppy drives or other emulators like Retro Virtual Machine.

Sample 57 track dsk (https://www.sendbig.com/es/view-files/?Id=11f42420-4c46-9293-43e3-392eb6be946c).
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 22:37, 09 December 23
No problem reading
Quote from: CPCBEGIN on 21:41, 09 December 23I think I find a bug:
ACE-DL doesn't run dsk with 57 track used, than runs in real CPC with 3.5" floppy drives or other emulators like Retro Virtual Machine.

Sample 57 track dsk (https://www.sendbig.com/es/view-files/?Id=11f42420-4c46-9293-43e3-392eb6be946c).
no problem reading your DSK with drive "Generic 3.5" or "Gotek" selected as drive A

it's perfectly normal having problem reading that DSK with 3" drive as CPC drive cannot read more than 42 track and is single side

as you said, in a real CPC your need a 3.5 drive, not the 3 inches ;)

Title: Re: ACE for Linux,Mac, Windows
Post by: Jean-Marie on 00:26, 10 December 23
Just so you know, the FDC doesn't seem to read disks protected with LATIS (https://www.cpc-power.com/cpcarchives/index.php?page=articles&num=384).
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 17:56, 10 December 23
Quote from: Jean-Marie on 00:26, 10 December 23Just so you know, the FDC doesn't seem to read disks protected with LATIS (https://www.cpc-power.com/cpcarchives/index.php?page=articles&num=384).

Be aware that DSK are not proper floppy images, Hercule 2 is loading fine when using SuperCard Pro dump

Anyway, the FDC is a very young project inside ACE port, and i dont know when i will have time to finish all the tests i have to do ;D
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 21:51, 17 December 23
New release with rollback to the past functionnality for clumsy players like me ;D

Also some new plugins, new debug windows, ...

A short video to demonstrate the "time machine" and OPL3 playback with a new pack of 4200+ OPL3 musics + player

http://www.roudoudou.com/ACE-DL/ (do a refresh F5, we never know...)

Title: Re: ACE for Linux,Mac, Windows
Post by: Joseman on 13:55, 27 December 23
Hi @roudoudou 

First of all, congratulations for the emulator, the debugger part is very cool, and all the options available, very good emulator indeed

I tried today the demo Still The One by Impact, only CRTC1 but i managed to bypass the CRTC detection and run it on my real CPC CRTC type 0.

The results are not equal (ace on crtc0 too)

I put here the screenshot of my CPC monitor and in the middle-left the ace screen.

The ace emulator is displaying the center circles, but my cpc is unabled to display them. And the "still the one" banner positioned up but "correctly" displayed, instead ace emulator display it down and the banner starts sowhing near the middle and the end of the banner is displayed before the start of the banner itself.

I don't know if this is useful for anything.

(https://i.ibb.co/Wg3KrLn/aceemulatorvs-CPCSTO.jpg) (https://ibb.co/3Bshxn1)

Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 20:39, 09 January 24
Happy New Year :P

http://www.roudoudou.com/ACE-DL/

Quote=== 2024 new resolutions release ===

- new CRT filter "CTM" with glowing slot mask
- new CRT filter "Trinitron" for Arcade machine lovers
- new CRT filter "GT6x" dedicated to monochrome display
- new floppy explorer module in drive configuration submenu (beta)
- new HDD drive sounds + model configuration (totally useless but hey!)
- new Orgams ROM pack in order to work with IMPsuite pack
- ability to save snapshot with F4 key (Asic chunks, REMU, extended RAM, ROM, Firmware backup supported)
- ability to reset emulator from trace with F12 key or button from HUD
- upper memory is not more reinit when RESET is triggered
- text is also highlighted in ramdump when there is a selection or breakpoint visible
- handle cross to close emulator when in configuration menu (except ROM config+disk editor)
- display 0/1 instead of 0/Pflags for IFF flip/flop in trace
- FDC bit read/write fully rewritten to manage strong speed variations and physical limits
- FDC seek and calibration engine is dissociated from physical drives
- FDC drive pooling management + Sense Interrupt rewritten
- FDC debug window with moar informations
- bugfix FDC Seek (emulator crash when ejection during seek)
- bugfix FDC WriteData burst mode
- bugfix FDC format execution phase status update
- bugfix FDC angle preservation from track to track
- bugfix EDSK recording with spiketrack
- bugfix annoying glitch with some audio samples
- bugfix error messages when a file cannot be loaded
- bugfix key repetition when using keyboard remapping
- bugfix regression about plugins status in configuration file
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 08:33, 12 January 24
2024.01.12 Windows Fix because there was some trouble with overscan and screen filters when changing screen size (there is a switch between Plus and CPC)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 10:06, 30 January 24
New release http://www.roudoudou.com/ACE-DL/

Since i have more time to investigate on floppy controller and Hitachi drives, i focused mostly on FDC evolutions, this is still a work in progress but it should be accurate enough for almost anything

Some people asked me for a Zoom x1.5, i added it but i do not recommand this zoom for Screen Filters like CTM (best in x1 or x2)

- FDC ReadDiag/ReadData sub-status timings accuracy
- FDC Sense Interrupt evolutions (interrupt overwrites, timings)
- FDC Format behaviour evolutions (results, overlap, timings)
- FDC Accurate Write timeout (different from Read timeout)
- FDC Debug window displays General Status + step info
- FDC GetID sick mode emulation
- FDC Seek/Calibration evolutions (why, how, what, where, when)
- Floppy Drive seek tolerances behaviour simulated
- added Left-CTRL as fire 2 for WASD joystick emulation
- Play2CPC VROM may be setted from snapshot if plugin is activated
- Play2CPC VROM may be mapped from Ram or Graphics Explorer if plugin is activated
- New byte graphic visualisation mode in Graphics Explorer
- New zoom mode at crappy ratio of x1.5 (OK for Raw/Monochrome, but not CTM display)
- allow screen capture during debug via context menu (right-click on trace pannel)
- file selection now use full window size
- bugfix FDC ControlMark management
- bugfix FDC GetID regression (FatMag wasn't readable)
- bugfix FDC bit writing on track loop
- bugfix Play2CPC VROM activation when there is no cartridge
- bugfix savestate select (click was not precise as it was supposed to be)
- bugfix OUT (C),L opcode display when disassembling
- bugfix plugin activation from command line
- bugfix Graphics Explorer interactivity (wasn't able to going down in memory)
- bugfix Windows version crash when loading in overscan mode or CTM resize
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 14:16, 08 February 24
Small update, working hard on FDC, also there is some curiosity for Basic programmers, an explorer for variables in memory

To access this new module, enter in trace (F7), right click then "Basic Explorer" in the list

You will see integer variables on the left, real vars on the right and strings at the bottom

http://www.roudoudou.com/ACE-DL/

(https://i.postimg.cc/mrBZ0sYx/basic-explorer.png)
Title: Re: ACE for Linux,Mac, Windows
Post by: Prodatron on 14:27, 08 February 24
Showing the Basic variables is a very cool feature!
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 14:33, 08 February 24
Very cool, no Utopia anymore necessary:)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 11:43, 13 February 24
New release with important bugfix on SnapShot when sharing from other emulators

http://www.roudoudou.com/ACE-DL/

Developpers must get a new version of RASM (same RLE bug) to keep sync ;) https://github.com/EdouardBERGE/rasm/releases/tag/v2.2

- Volume setting is now lowering ALL sounds
- Right-Click on Reset will do Strong Reset (memory, plugins)
- FDC breakpoints (from FDC window)
- FDC Sick mode full rewrite
- FDC ReadTrack EOT flag
- FDC Ready distinction for EME-150/155 and 156/156V/157
- FDC GetID in FM mode (mostly used to get hole index)
- FDC Format in FM mode (mostly for timings and erasing track)
- bugfix ManageDSK file existence test (was skipping last char)
- bugfix Snapshot RLE decoding (was Rasm/ACE only compatible...)
- bugfix FDC sector ID calculations
- bugfix FDC calibration on drive B without drive B
- bugfix Basic Explorer display with huge real values
- bugfix Basic Explorer integrity check
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 18:02, 21 February 24
New release
http://www.roudoudou.com/ACE-DL/

- Orgams ROM pack upgrade to FF240128
- new registers shortcuts in GOTO popup
- new script in video_stream in order to convert k-frames to PNG
- new snapshot watcher option to automatically reload snapshot on modification
- new zig-zag visualisation in Graphics Explorer
- ACE snapshots backups full FDC+Drive configuration
- FDC new breakpoints for GetID and Weak sector data read
- EDSK huge track skips track-header when building MFM flow (Thanks Lone)
- more interactivity with selection in RAM/ROM Explorer with cursor
- can scroll in Graphics Explorer with PageUp/PageDown
- bugfix Emulator background at correct size when popup asking something
- bugfix Emulator background in debug when using zoom x2
- bugfix FDC SenseInterrupt when seek was terminated but ready lost
- bugfix FDC default when using snapshot
- bugfix ROM chunk compression in snapshot
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 18:55, 21 February 24
Nice evolvement.

Orgams ROM pack upgrade to FF240128??
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 19:45, 21 February 24
Quote from: HAL6128 on 18:55, 21 February 24Nice evolvement.

Orgams ROM pack upgrade to FF240128??
if i did not forget to include it with windows packs :D
unzip this in the ROM directory
ACE (or Caprice or a Mister) know how to load it properly
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 20:34, 21 February 24
Just a little question: you are using SDL2 for ACEDL. I have no clue about this: Is there an advantage against the WinAPI? In Grafx2 you are also offering it that version (also SDL1)?
Thanks.
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 20:59, 21 February 24
Quote from: HAL6128 on 20:34, 21 February 24Just a little question: you are using SDL2 for ACEDL. I have no clue about this: Is there an advantage against the WinAPI? In Grafx2 you are also offering it that version (also SDL1)?
Thanks.


SDL2 allows me to write the very same code for all platforms. WinAPI is dedicated to windows
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 21:09, 22 February 24
I created a disk by WinApe (DSK MV CPCEMU format) and inserted it via drag and drop to ACEDL (it's stored in a different folder - not in DSK of ACEDL). Then I changed some files of it. Afterwards (reset and started the emulator again) I realized that the content of disk wasn't changed at all / written to the dsk image.
Did I do something wrong?
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 22:44, 22 February 24
Quote from: HAL6128 on 21:09, 22 February 24I created a disk by WinApe (DSK MV CPCEMU format) and inserted it via drag and drop to ACEDL (it's stored in a different folder - not in DSK of ACEDL). Then I changed some files of it. Afterwards (reset and started the emulator again) I realized that the content of disk wasn't changed at all / written to the dsk image.
Did I do something wrong?
no autosave in ACE, use F4 to save media
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 08:44, 23 February 24
Ah, ok. Then it creates by default a "filenamexxx.dsk" with xxx increasing numbers, right?
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 09:26, 23 February 24
Quote from: HAL6128 on 08:44, 23 February 24Ah, ok. Then it creates by default a "filenamexxx.dsk" with xxx increasing numbers, right?
yes, i'm not fond of overwriting the same file, i lost some many DSK with the other emulators (and i do not pretend to do better!)
Title: Re: ACE for Linux,Mac, Windows
Post by: McArti0 on 09:55, 23 February 24
And is it possible to have even more range of V Hold, H hold and monitor resolution? ;D :-*
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 10:08, 23 February 24
Quote from: McArti0 on 09:55, 23 February 24And is it possible to have even more range of V Hold, H hold and monitor resolution? ;D :-*
yeah, i can add extra settings for vhold and hhold ;) (30% more)
Title: Re: ACE for Linux,Mac, Windows
Post by: HAL6128 on 10:16, 23 February 24
Quote from: roudoudou on 09:26, 23 February 24
Quote from: HAL6128 on 08:44, 23 February 24Ah, ok. Then it creates by default a "filenamexxx.dsk" with xxx increasing numbers, right?
yes, i'm not fond of overwriting the same file, i lost some many DSK with the other emulators (and i do not pretend to do better!)

Thank for understanding your workflow / philosophy.
Title: Re: ACE for Linux,Mac, Windows
Post by: d_kef on 14:03, 25 February 24
I was playing around with the Albireo emulation and HDCPM and just found out that the CH376 emulation is not accurate regarding the use of "/" or "\" in a file name.
According to the CH376 documentation you can use either "/" or "\" as the first character of a file name, indicating the root directory.
The use of "/" is recomended but is not mandatory.
You can also verify this with the real hardware, but it seems that ACE's emulated CH376 only undestands "/" and returns #42 (file not found) when using a "\".

d_kef

Title: Re: ACE for Linux,Mac, Windows
Post by: OffseT on 09:57, 26 February 24
Quote from: d_kef on 14:03, 25 February 24I was playing around with the Albireo emulation and HDCPM and just found out that the CH376 emulation is not accurate regarding the use of "/" or "\" in a file name.
It is not related to ACE but to the ch376 library used in the Albireo plugin (https://framagit.org/offset/albireo-acepansion).

This library is also used in Oricutron and was mainly developed for Jede's OS (on Oric) and UniDOS (on Amstrad CPC). It clearly does not support all the ch376 features. For instance, low level USB or mass storage raw sector are not implemented at all, and some other command sets are missing. Some of them might be added later or not (they are still on the todo list), but don't expect this library to become full ch376 compliant.

But well, this feature does not sound that complexe to add. :P
I will update the plugin (a new plugin release was planned btw).
Title: Re: ACE for Linux,Mac, Windows
Post by: d_kef on 19:05, 26 February 24
Quote from: OffseT on 09:57, 26 February 24
Quote from: d_kef on 14:03, 25 February 24I was playing around with the Albireo emulation and HDCPM and just found out that the CH376 emulation is not accurate regarding the use of "/" or "" in a file name.
It is not related to ACE but to the ch376 library used in the Albireo plugin (https://framagit.org/offset/albireo-acepansion).

This library is also used in Oricutron and was mainly developed for Jede's OS (on Oric) and UniDOS (on Amstrad CPC). It clearly does not support all the ch376 features. For instance, low level USB or mass storage raw sector are not implemented at all, and some other command sets are missing. Some of them might be added later or not (they are still on the todo list), but don't expect this library to become full ch376 compliant.

But well, this feature does not sound that complexe to add. :P
I will update the plugin (a new plugin release was planned btw).
Alright! That's lightning fast response!
But...
I've just discovered that also writing to CP/M image files is not working. 
I'm not using raw sector commands.
For writing I'm using:
cmd_set_filename
cmd_file_open
cmd_byte_locate
cmd_byte_write
cmd_wr_req_data
cmd_byte_wr_go
cmd_file_close
 
The commands are accepted and I'm getting a success response but no data written to the .img file.
I can share code and binaries if needed.

d_kef
Title: Re: ACE for Linux,Mac, Windows
Post by: OffseT on 19:39, 26 February 24
Quote from: d_kef on 19:05, 26 February 24But...
I've just discovered that also writing to CP/M image files is not working.
I'm not using raw sector commands.
For writing I'm using:
cmd_set_filename
cmd_file_open
cmd_byte_locate
cmd_byte_write
cmd_wr_req_data
cmd_byte_wr_go
cmd_file_close
I guess you are using a sequence which is different from both Jede's OS and UniDOS that is not be emulated by the current ch376 library. Could you please open a new topic dedicated to Albireo ACEpansion plugin with additional information about the programming sequence you are using? I could have a look at it when I have time. It might not be a big deal to fix it.
Title: Re: ACE for Linux,Mac, Windows
Post by: Prodatron on 00:08, 27 February 24
Quote from: OffseT on 09:57, 26 February 24For instance, low level USB or mass storage raw sector are not implemented at all
No pressure, but it would be nice if you could put exactly this on your todo list :)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 15:16, 27 February 24
a last version before the end of the month ;D
http://www.roudoudou.com/ACE-DL/

- breakpoints configuration no more in configuration menu but from breakpoints window
- no more Reset with F12 from trace (use HUD or CTRL-F9 like outside trace)
- new plugin MultiPlay MX4 (only mouse support on port A)
- new Interrupt break
- new command line option to open any window at any position (run with -h for detail)
- now can save media from trace via F4
- Interrupt routines highlighted on screen (Winape like, see misc options)
- FDC multi-tracks and multi-head features support
- FDC permissive timings reduced (some productions need at least a timeout)
- now there is only 3 directories for media, export or private data
- bigger work interval for vHold/hHold in Monitor settings
- Basic Explorer display proper real values with negative exponent
- save/restore Disassembling, RAM/ROM and Graphics Explorer windows positions
- bugfix FDC ET0 on unformatted track
- bugfix Gotek drive forced rotation
Title: Re: ACE for Linux,Mac, Windows
Post by: d_kef on 13:14, 03 March 24
Here are a couple of possible bugs and a suggestion.


When using F1 to eject - reinsert the floppy it seems that the floppy disc is cached. I think it would be better to reload the disc on reinsert so that you can see any changes that happened in the meantime.

d_kef
 
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 14:50, 03 March 24
Quote from: d_kef on 13:14, 03 March 24Here are a couple of possible bugs and a suggestion.

  • The value of option 'Hide mouse cursor when captured for Mouse emulation' is not saved in the config file when the emulator is closed.
  • When entring a breakpoint in F8 - Breakpoint configuration, the keypresses used to change the address are also appearing in the CPC screen.
  • When entring a breakpoint in F8 - Breakpoint configuration, the address cannot be changed. The value resets to 0000 when enter is pressed. This happens in Ubuntu 22.04. In Windows 11 it works ok. In previous releases it used to work.
When using F1 to eject - reinsert the floppy it seems that the floppy disc is cached. I think it would be better to reload the disc on reinsert so that you can see any changes that happened in the meantime.
d_kef
 

The breakpoint module was neglected since a long time, i'm currently improving the overall module, there will be presets like Winape, ability to choose Read/Write/Read&Write for Memory and IO, ...

Thanks for the "hide" value, i will add it for next release

Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 22:39, 04 March 24
- SCP reliability with strange format, empty tracks, asymmetrical sides (thanks Lone)
- Dandanator can load .rom files as well as .des files (same structure, only the name...)
- hide mouse cursor with Multiplay mouse
- 'hide mouse' setting added to saved configuration
- FDC Version accurate timings
- FDC extra-pooling management
- enforce page location with memory breakpoints from RAM/ROM Explorer
- ability to toggle overscan in trace mode (reset display)
- new setting Read/Write for Memory and IO breakpoints
- new shortcut M to change Access mode for a selected breakpoint in the list
- new presets for IO breakpoints
- bugfix regressions in breakpoint edition/activation

New release!
Title: Re: ACE for Linux,Mac, Windows
Post by: krusty_benediction on 10:00, 05 March 24
Thx, I'll retreive it during the week.

Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 10:32, 05 March 24
Quote from: krusty_benediction on 10:00, 05 March 24Thx, I'll retreive it during the week.

  • I've never heard of SCP before. Is it a commun image disc format ?
  • What about adding a "Send to CPC" feature : generation of a snapshot of the CPC content, send to /tmp folder of m4 over wifi and execution (like -y of https://github.com/M4Duke/cpcxfer).

SCP stands for Super Card Pro dumping solution, it's a "common" format for dumpers

Will release a new version in a few days because there is still trouble with breakpoints, groumpf!

About M4 or other specific/dedicated/hardware tools, i'm not sure it's an emulator job, you can already pool yourself the snapdir and send it with a small bash
Title: Re: ACE for Linux,Mac, Windows
Post by: SyX on 12:26, 05 March 24
Thanks @roudoudou for ACE and @TotO for the tip of using ACE, I am leaving old emulators behind!!! :)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 08:47, 07 March 24
- protect current floppy with Right-Click on "Eject" (in HUD)
- drive Ready behaviour on disk eject and motor ON
- drive Ready propagation only when non Shugart
- FDC WriteData behaviour with floppy protection
- FDC WriteData behaviour when drive is not Ready
- FDC WriteData result phase accurate timings
- FDC Format C & N results
- FDC Format behaviour with floppy protection
- FDC Format behaviour when drive is not Ready (bugfixed!)
- bugfix RASM Label display in trace
- bugfix Memory breakpoint in Extended RAM (from ramdump)
- bugfix Memory breakpoint in Main RAM location (from ramdump or snapshot)

At last, you can protect floppies in ACE ;D

http://www.roudoudou.com/ACE-DL/
Title: Re: ACE for Linux,Mac, Windows
Post by: Deevee on 10:21, 30 March 24
Hmm I wonder how I can figure out the version I'm using right now. Not seeing it anywhere....
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 10:36, 30 March 24
Quote from: Deevee on 10:21, 30 March 24Hmm I wonder how I can figure out the version I'm using right now. Not seeing it anywhere....
when starting, the console displays the date
Title: Re: ACE for Linux,Mac, Windows
Post by: Deevee on 10:47, 30 March 24
Thank you. I never launched it from console yet, but I see interesting command line parameters here. Will be useful.
Title: Re: ACE for Linux,Mac, Windows
Post by: genesis8 on 10:49, 30 March 24
Roudoudou, sur le live https://www.twitch.tv/recalbox (https://www.twitch.tv/recalbox)

on parle de la possibilité d'ajouter AceDL sur Recallbox (car entre autre pas d'émulation CPC+ correcte dessus), mais ils ont besoin de sources et encore faut-il que ce soit compatible avec leurs contraintes techniques.

Si tu es intéressé éventuellement il faudrait se rapprocher d'eux.
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 11:33, 30 March 24
it's not my decision to open sources of Ace (and i guess it will need to implement kind of retroArch library or something like that)
Title: Re: ACE for Linux,Mac, Windows
Post by: Deevee on 13:41, 01 April 24
Is it possible to import a .sym file from rasm into ace_dl to get labels displayed during trace ?
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 13:56, 01 April 24
Quote from: Deevee on 13:41, 01 April 24Is it possible to import a .sym file from rasm into ace_dl to get labels displayed during trace ?
Not the sym file
There is an évolution of rasm with ace
Now ask for ace symbol file, iit will output a .rasm file
Juste drag it to ace
Note: snapshot included rasm symboles as default
Title: Re: ACE for Linux,Mac, Windows
Post by: Deevee on 14:10, 01 April 24
Thanks for your answer. That was the -rasm option I was missing on the command line.
It wont replace addresses in call, jp, etc though... But that's fine. Thanks
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 14:54, 01 April 24
Quote from: Deevee on 14:10, 01 April 24Thanks for your answer. That was the -rasm option I was missing on the command line.
It wont replace addresses in call, jp, etc though... But that's fine. Thanks
Will add that for jp/call on next release i promise   ;D
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 14:15, 02 April 24
- Use symbols for JR,JP,CALL in debug trace
- USB joystick can be used as Joystick 2
- Joystick Fire 3 for Joystick 1 and Joystick 2
- Joystick polling at 25Hz (like real hardware)
- Play a different sound when Drive head reaches the max
- FDC Scan command + dedicated breakpoint
- FDC invalid command calls
- FDC Multi-Track on ReadDiag
- FDC Ready Loss during ReadDiag/ReadData/Format/ScanData
- FDC Head Load/Unload Time management rewritten
- FDC SeekStep/DriveStep engines integrated in Pooling for step accuracy
- FDC pooling command override + pending execution
- FDC pooling resync on executed ReadData/ReadDiag/ReadID
- FDC command overload management
- FDC even more precise stress bypass mode
- FDC GetID accurate timings
- FDC Specify accurate timings
- FDC SenseDrive light up the drive LED
- FDC ScanData, ReadData, ReadDiag and WriteData in FM mode
- FDC ScanData, ReadData and WriteData sector find decision
- FDC WriteData proper bit shift before writing according to PLL
- FDC Calibration/Seek usage of internal registers
- FDC Overrun error skipped on last byte of sector (765A specific)
- FDC Gap2 must be literally ignored when Read/Write
- FDC ReadDiag must ignore 28 bytes after index hole when starting to scan
- FDC Data Separator tolerances distinction between FDC9216 and SED9420C
- FDC Format better H,R results
- FDC DAM synchronization accuracy with non standard MFM structure
- Drive step management not anymore in FDC code
- shutdown audio when displaying help
- bugfix Format ID-CRC calculation
- bugfix SkipBit behaviour
- bugfix unexpected DAM behaviour with ReadData and ReadMark
- bugfix Ready on Gotek without Floppy
- bugfix Multi-Track on ReadData/WriteData
- bugfix Generic 3.5 Motor management
- bugfix Specify Head Load Time uninitialised
- bugfix CRTC 0 for registers 12 and 13 internal update (toms)

http://www.roudoudou.com/ACE-DL/
Title: Re: ACE for Linux,Mac, Windows
Post by: SyX on 21:54, 02 April 24
Another amazing release and I continue very proud that thanks to your help, ACE doesn't complain anymore about my disk loader, hehehe.

Only one detail, the windows 64 release package doesn't include this two sounds: "seek_ALPS_maxout.wav" and "seek_Matsu_maxout.wav".
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 07:24, 03 April 24
Quote from: SyX on 21:54, 02 April 24Another amazing release and I continue very proud that thanks to your help, ACE doesn't complain anymore about my disk loader, hehehe.

Only one detail, the windows 64 release package doesn't include this two sounds: "seek_ALPS_maxout.wav" and "seek_Matsu_maxout.wav".

ohhh shhhhht!

updated the website with new archive, thanks

Title: Re: ACE for Linux,Mac, Windows
Post by: genesis8 on 12:17, 08 April 24
Roudoudou, would it be possible to add the last Willy plugin with the MIDI feature ?
Title: Re: ACE for Linux,Mac, Windows
Post by: Toundrik on 18:03, 08 April 24
Hello Roudoudou, thanks for making possible ACE on other OS !

I've a question : is the AVX-512 instruction set mandatory for the emulator ? My poor old Phenom II X6 doesn't understand these  :picard: and without the source code, no way to compile myself.
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 18:39, 08 April 24
Quote from: Toundrik on 18:03, 08 April 24Hello Roudoudou, thanks for making possible ACE on other OS !

I've a question : is the AVX-512 instruction set mandatory for the emulator ? My poor old Phenom II X6 doesn't understand these  :picard: and without the source code, no way to compile myself.
Which OS?

will take a look at compiler options for very old architecture... (14 years, well done!)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 18:46, 08 April 24
Quote from: genesis8 on 12:17, 08 April 24Roudoudou, would it be possible to add the last Willy plugin with the MIDI feature ?
everything is possible :P
Title: Re: ACE for Linux,Mac, Windows
Post by: Toundrik on 19:10, 08 April 24
Quote from: roudoudou on 18:39, 08 April 24
Quote from: Toundrik on 18:03, 08 April 24Hello Roudoudou, thanks for making possible ACE on other OS !

I've a question : is the AVX-512 instruction set mandatory for the emulator ? My poor old Phenom II X6 doesn't understand these  :picard: and without the source code, no way to compile myself.
Which OS?

will take a look at compiler options for very old architecture... (14 years, well done!)

I'm on Fedora 39 ! 
With 8 GB of DDR2 and a 1050 ti, it's surprising what you still can do :D
Title: Re: ACE for Linux,Mac, Windows
Post by: genesis8 on 19:37, 08 April 24
Quote from: roudoudou on 18:46, 08 April 24
Quote from: genesis8 on 12:17, 08 April 24Roudoudou, would it be possible to add the last Willy plugin with the MIDI feature ?
everything is possible :P

Preparing a new background image on the web site stating that Roudoudou is the best man ever !

MIDI is so sexy !
Title: Re: ACE for Linux,Mac, Windows
Post by: Deevee on 07:34, 10 April 24
I have issues with my Dualshock 4 controller. It works fine with other emulators.

It is detected as USB0 PS4 Controller (see attachement), but only the left analog stick works as joystick directions. The D-Pad doesn't, and none of the buttons are working at all.
Is there something to configure somewhere to fix that ?

Thanks.
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 07:47, 10 April 24
Quote from: Deevee on 07:34, 10 April 24I have issues with my Dualshock 4 controller. It works fine with other emulators.

It is detected as USB0 PS4 Controller (see attachement), but only the left analog stick works as joystick directions. The D-Pad doesn't, and none of the buttons are working at all.
Is there something to configure somewhere to fix that ?

Thanks.
i know some PAD buttons are invisible to libSDL
i can send you a exec to test if it is the case for you

Title: Re: ACE for Linux,Mac, Windows
Post by: Deevee on 08:15, 10 April 24
Yes sure
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 20:01, 12 April 24
new release

Linux instruction set limited to sandybridge but it seems it's not enough for very old CPU until i found something else

http://www.roudoudou.com/ACE-DL/

- LibSDL upgraded to 2.30.2
- Shugart Drive ready loss time accuracy based on electronic sensors
- Drive distinction between EME-150A and EME-155
- FDC stress mode for command parameters
- allow configuration menu when in debug mode
- shadowing Joystick via Keyboard emulation at startup
- new HUD icon to temporary disabling Joystick via Keyboard emulation
- pressing F3 multiple time switch between Floppy/Snapshot load
- bugfix PSG volume with very high frequencies
- bugfix USB Joystick 1 Fire mapping
- bugfix multiple unintended opening of RamDump
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 20:13, 13 April 24
ooopsy for Linux build, i made a new one with less optimizations (at least Zisquier succeed to launch it with an Ivy Bridge CPU)
Title: Re: ACE for Linux,Mac, Windows
Post by: roudoudou on 17:28, 19 April 24
Minor update, will take some times for new surprises incoming

- True Drive LED management
- FDC Shadow polling management
- FDC Long HUT bug emulation
- FDC HUT cutoff for Seek/Calibrate/Illegal
- Reset emulator when draging new ROM to Dandanator
- Ludicrous timings adjustments in FDC polling according to electronic measures
- Ludicrous timings adjustments according to drive models for Ready loss with motor ON
- bugfix right-click on HUD buttons (wont trigger anymore vertically above)
- bugfix drive conflicts between A and B
- bugfix breakpoints on FDC Scan

http://www.roudoudou.com/ACE-DL/
Powered by SMFPacks Menu Editor Mod