CPCWiki forum

General Category => Emulators => Topic started by: Aeliss on 17:16, 20 January 14

Title: A new version of Arnold.
Post by: Aeliss on 17:16, 20 January 14
Hi all, I have too much problem with others emulators, so I have modified/updated the arnold source, because this one can run GX4000 and cpc+ Game and the code is really easy to understand.
I have corrected somes bugs (Horizontal distorsion, sound enveloppe, controls, heap correction, etc ...) and add some functionnalities because I use this emulator from my couch.
I have add specials features to control it without keyboard, only with pad, you can load/save snaps, change disk, simulate a key (not yet a virtual keyboard  :) ).

But ATM I m really blocked, I can't correct synchronisations problems bettween gate-array and CRTC, all the games/demos with raster effect are affected. And I don't see how to correct that without a complete core re-ecriture.

I put the source and the executable here, if some one want to continu the project or help me to resolve this problem. the code is made for Visual 2010, not sure It still work for linux branch, executable compiled in x86 mode.
Sorry I haven't cleaned the folder before the zip.

Multiupload.nl - upload your files to multiple file hosting sites! (http://www.multiupload.nl/D9VSCOZNBW)



Title: Re: A new version of Arnold.
Post by: Bryce on 17:33, 20 January 14
Hi and Welcome to the Forum,
         Kevin (the guy who wrote Arnold) is still active on the forum here, username Arnoldemu (bit of a giveaway that name). I'm not sure whether he still actively develops Arnold, but you should talk to him about the changes you've made and issues you've found.

Bryce.
Title: Re: A new version of Arnold.
Post by: Aeliss on 19:23, 20 January 14
Yep, he have PM me, I m really surprised, I thought his project totally abandonned after so many years. But It s a good new for me :) .
Title: Re: A new version of Arnold.
Post by: Gryzor on 19:37, 20 January 14
Hm, a very nice addition if I may say so! Probably all emulators should support such an approach...
Title: Re: A new version of Arnold.
Post by: greatxerox on 10:33, 20 April 14
Hello Aeliss


congrats for your work but, could you upload again your Arnold release please ? all links are dead.


i'll add it to emu-france in order to distribute it.



thanks a lot
Title: Re: A new version of Arnold.
Post by: Aeliss on 11:05, 20 April 14
No prbs
Executable > Multiupload.nl - upload your files to multiple file hosting sites! (http://www.multiupload.nl/H1J3UHJEFK)
Sources > Multiupload.nl - upload your files to multiple file hosting sites! (http://www.multiupload.nl/JT5WI0VIWI)

But in fact it s not really usefull, because Arnoldemu is working hard on a new version for his emulator, so this version will be totally out of date in somes months (I hope ^^).
Title: Re: A new version of Arnold.
Post by: arnoldemu on 11:37, 20 April 14
Both aeliss and cpcitor have looked at and run my wip of arnold. Both have pointed me at problems and have been very helpful. Aeliss' work is very much appreciated and I am integrating this and that of arnold tng into it. I use this emu most days. I build it on 64 bit Linux and 32 bit Windows. I use the very accurate inkz80 core which a friend has written which passes all instruction exercisers, we are resolving the timing issues now.

I do listen to all the feedback I have received and recently spent a lot of time fixing memory leaks, compiler warnings and 64 bit build issues.

No public version from me yet. I am happy for aeliss to share his.
Title: Re: A new version of Arnold.
Post by: Gryzor on 12:35, 20 April 14
I'm uploading the executable version here... :)
Title: Re: A new version of Arnold.
Post by: greatxerox on 17:45, 20 April 14
thanks to you.
That's great you're working together to upgrade nice emulators like Arnold :)


I'm just a simple user & i'm unable to say which emulator is the best between caprice 32 3.61 (always this one for 10 years ??), winape, javacpc or arnold. i use only Saboteur 2 to see how it's working. i compare between different emulators. i used it for CPC++ b700, and the music menu was very slow.


For Arnold CPC, i'd like you to say me how i can name it : Arnold WIP (20140120) for example ? i let you decide.  A description will be very appreciated :) 

ps : i know only to create  10 Print "bonjour" , too bad :(
Title: Re: A new version of Arnold.
Post by: Aeliss on 19:04, 20 April 14
The version called "My_arnold" isn't official, it s just a project I have started because Arnold is my favorite emul (open source and lot of comment/documentation in the code, realy instructive, I think the code is more interesting than the executable) and stopped when I have seen ArnoldEmu was working again on his official version.

You can call it like you prefer but like it s an unofficial version I think it s better avoid WIP name.

For the description, it s just an Arnold version (so work with GX4000 and 6128 plus version) with somes correctives/additions like full joystick support for 2 players (with sensitivity setting), better fullscreen, sound core correction, an horizontal distorsion bug, speed drive during loading, better auto-run to use it with command line.
And more important, a beta feature to use it like a console from your couch, only with pad you can simulate some keys like enter or space, or acces to a "on screen menu" with a complete keyboard (a crappy but working interface ^^ not yet a virtual keyboard). You can too load/save your state when you want, switch 6128/6128plus system for incompatibles games or switch disk, the appli search automaticaly the next disk.

I don't think I will continue this project because all I can do will be useless when the new official version will be finished, and Kevin have already do lot of work, IDK if he have a date but I don't want to spend time on a version that will be obsolete in few month. I prefer wait for the new version to work on it.

Anyway this version is better than the original (  :P ) and I use it in a special machine in my lounge without problem for games, the Kevin's core is really good I have only somes problems with rasters effects, but too much work needed to correct them.
Title: Re: A new version of Arnold.
Post by: greatxerox on 19:27, 20 April 14
"Arnold Aeliss edition"  should be nice^^
Title: Re: A new version of Arnold.
Post by: Aeliss on 19:29, 20 April 14
Lol
Or Arnold_2013, I think it was the only one release in 2013.
Title: Re: A new version of Arnold.
Post by: remax on 21:43, 20 April 14
Hello Aeliss


congrats for your work but, could you upload again your Arnold release please ? all links are dead.


i'll add it to emu-france in order to distribute it.



thanks a lot
Hi @greatxerox (http://www.cpcwiki.eu/forum/index.php?action=profile;u=270) ^_^
Title: Re: A new version of Arnold.
Post by: TotO on 22:26, 20 April 14
Hi @greatxerox (http://www.cpcwiki.eu/forum/index.php?action=profile;u=270) ^_^
2 cents of My life...
greatxerox was in the same classroom than I, the past millennium.
Title: Re: A new version of Arnold.
Post by: greatxerox on 22:46, 20 April 14
 Here it is :


[Ordi.] Arnold Aeliss Edition - Emu-France (http://www.emu-france.com/news/29799-ordi-arnold-aeliss-edition/)
http://amstrad.eu/modules/news/article.php?storyid=1784 (http://amstrad.eu/modules/news/article.php?storyid=1784)


Enjoy !


ps : Hi remax, how are you ? you are always updated with doscenter ? (i have to fix my ftp settings)
Ps (2) : Hi Toto, iXien is in my contacts :)
i'm now a newser on Amstrad EU http://amstrad.eu/modules/news/index.php (http://amstrad.eu/modules/news/index.php)
Title: Re: A new version of Arnold.
Post by: remax on 23:17, 20 April 14
ps : Hi remax, how are you ? you are always updated with doscenter ? (i have to fix my ftp settings)

Ouais, par contre j'ai plus accès à ton ftp la dernière fois que j'ai voulu t'updater ;)
Title: Re: A new version of Arnold.
Post by: greatxerox on 00:01, 21 April 14
Ouais, par contre j'ai plus accès à ton ftp la dernière fois que j'ai voulu t'updater ;)
Merci remax
oui c'est parce que j'ai déménagé (adieu la fibre, snif), donc changement d'ip et je dois reconfigurer tout ça. et j'avoue que j'ai une flemmingite à ce niveau actuellement. et puis je suis bien occupé entre mes news, youtube et les jeux. et j'attends d'avoir un NAS de folie :) donc vu mes finances, ce n'est pas pour tout de suite^^ mais cela viendra !
Title: Re: A new version of Arnold.
Post by: remax on 00:15, 21 April 14
ok ;)
Title: Re: A new version of Arnold.
Post by: greatxerox on 03:34, 18 March 16
some news about Arnold ? Aeliss, did you continue the dev a little ?
Title: Re: A new version of Arnold.
Post by: Aeliss on 23:00, 18 March 16
Yep, ofc, for the moment I haven't found better emul than arnold for my personal use, and I have lot of luck, I m using the Future arnold core (the WIP one)  :P .

It will be like the previous one, in C (GUI in C++), easy to port, lot of comments, easy to understand, so I have start to use it in the old version to test it, more usable for me. It's a light version, without debugger, less machine but usable from my couch (OSD, auto change disk, cheat system with joypad in the future).
I m forced to make a personal version because Arnold is an "accuracy extremist", I use lot of hack to have the new core working (snaps, sound, ect ...) and he hates that ^^ so he will never use it, and I can't use his version without theses functionalities. It's not a joke, ask him how he will make "no exit" working, you will hallucinate.

The WIP official version is almost finished for me (the core, for the GUI it's another question with this fanatic) I m using it with 3/4 games ATM, and no bugs at all, for the moment the accuracy is his priority, and at this stade it's realy hard for me to help him, but yes I m continuing to dev on Arnold on all versions I can do something.

It depends on what you are looking for, but I realy think we can have a full working version soon. He have realy do lot of work, and he spends lot of time to increase accuracy with methods you can't imagine :) .

Have you tried his last version ?


Edit: howww, I m looking the post date, 2 years I have stoped my version, lol, when I stoped it, I did not think it will take so long time to have a new one.
Title: Re: A new version of Arnold.
Post by: greatxerox on 21:04, 27 March 16
last version ?


i have only Arnold 04012004  and "Arnold Aeliss Edition (http://www.emu-france.com/emulateurs/10-ordinateurs/97-amstrad-cpc-cpc/6623-arnold/)"  :)
Title: Re: A new version of Arnold.
Post by: Aeliss on 16:41, 28 March 16
This one
arnold wip (http://www.cpcwiki.eu/forum/emulators/arnold-wip/)
Title: Re: A new version of Arnold.
Post by: greatxerox on 23:14, 16 April 16
thank you Aeliss.
but what's going on with this WIP ? i've always a black screen in the main window. i really don't know what to do
Title: Re: A new version of Arnold.
Post by: arnoldemu on 10:31, 17 April 16
thank you Aeliss.
but what's going on with this WIP ? i've always a black screen in the main window. i really don't know what to do
Please go to the directory where the arnold exe is.

On English Windows it is installed in "program files (x86)\arnold"

You should see these files:

arnlogo.png
arnold.exe
autostart.png
breakpoint.png
cart.png
cass.png
current.png
debugger.png
debuggo.png
disabledbreakpoint.png
disk.png
GUIFrame.xrc
rom.png
roms.zip

if roms.zip is missing then you will see a black display as you describe.
If you then open the debugger (view->debugger...) you will see memory data of ff and dissassembly window full of rst #38.



Title: Re: A new version of Arnold.
Post by: Aeliss on 18:14, 20 April 16
??
Strange, I have made a test 5mn ago, and all is working.
Perhaps it's because I have already the emul configured before the install, try to select a system >> "control" "change configuration" or "file" "cartridge" and select a defaut cartridge.
Title: Re: A new version of Arnold.
Post by: greatxerox on 21:29, 20 April 16
(http://nsm08.casimages.com/img/2016/04/20//mini_16042008361016744214168495.jpg)


i tried but no success.


debuggo.png missing


((i had installed arnold in this folder) (http://www.casimages.com/img.php?i=16042008361016744214168495.jpg)
Title: Re: A new version of Arnold.
Post by: arnoldemu on 08:29, 21 April 16
@greatxerox (http://www.cpcwiki.eu/forum/index.php?action=profile;u=270):

Thank you for the picture I can see the files are there :)

I see you have an "#ORDIS" directory.

I will need to check this on my machine, but I think you have hit a bug in wxwidgets. The bug happens if # is in a filename, but it seems it also happens when # is in the directory name. I reported this bug to them.

Can you move the Arnold Emulator directory to a different place (e.g. EMULATEURS) and tell me if it loads?

I will test it here and fix this problem for the next release.
Title: Re: A new version of Arnold.
Post by: greatxerox on 02:00, 24 April 16
hello Arnold !


i tried in   E:\Arnold Emulator
same thing :(


if you want, you can use Teamviewer & connect to my computer to find the solution. just contact me online
Title: Re: A new version of Arnold.
Post by: Aeliss on 12:07, 25 April 16
And I have tried with deleting all arnold entry in my registry, it's still working for me.
I don't see what can be a problem in the windows environement, I don't think it's a path problem because the icons are correctly displayed.
Perhaps with the version with console log ?

Title: Re: A new version of Arnold.
Post by: greatxerox on 03:09, 26 April 16
thank you for the fix you sent me , arnold.

http://cpctech.cpc-live.com/setup.zip (http://cpctech.cpc-live.com/setup.zip)

-fixed loading from a path with '#'. This was causing roms to fail to load and a black screen.
-if OS/BASIC/Amsdos rom were set for override but no rom data was set, then this could also show a black screen. It will fix this.
This version is made from new code so it has other fixes not released yet.


Little problem :
i set the emulator on amstrad 6128+ french, i'm unable to find the character "+" when i try to do    run" something+"
How to use "copy" , i don't succeed using Alt key
thx
Title: Re: A new version of Arnold.
Post by: arnoldemu on 08:27, 26 April 16
The zip (containing the windows installer) in the link from @greatxerox (http://www.cpcwiki.eu/forum/index.php?action=profile;u=270) has the latest code as of yesterday.

This also includes:
- vortex 512KB ram expansion emulation (tested against my vortex ram. It will be corrected after TFM tests his vortex ram)
- fix for saving settings (bug found by TFM)
- inicron ram fixes (will be updated after testing from TFM)
- symbiface 2 ram and rom emulation
- many improvements to crtc type 0,1,2 and 3 emulation. (this has been my major focus and there will be more to come).
- if a single sided dsk is autostarted make sure it's on side 0 (user could set side 1 in disk settings or force it with a side switch - but undo that in this case)
- if autorun finds too many files, do a CAT to list them so user can decide which to run.
- centre emulation window on screen
- translated keyboard mode doesn't interrupt autotype if active
- power on register settings on plus


Title: Re: A new version of Arnold.
Post by: arnoldemu on 08:33, 26 April 16

Little problem :
i set the emulator on amstrad 6128+ french, i'm unable to find the character "+" when i try to do    run" something+"
How to use "copy" , i don't succeed using Alt key
thx
Hmmm it seems both keys are not mapped. I will check that.

Settings->Keyboard->Positional Mode Configuration...

this should show the assignment, but also shows that left cursor is not mapped but it is.  ???

Title: Re: A new version of Arnold.
Post by: greatxerox on 07:00, 15 May 16

Hello Arnold


i tried what you said but nothing happens, there is no reaction when i try to select a key from my keyboard in i'm in the "Define Host keys" window



(http://nsm08.casimages.com/img/2016/05/15//16051506075416744214227226.jpg)




I'd like to know also if Arnold Aeliss Edition (http://www.emu-france.com/news/29799-ordi-arnold-aeliss-edition/) is useless now and if the added features from your ancient release (http://www.emu-france.com/news/6013-ordi-arnold-04012004/) has been integrated in your last build Date: Apr 25 2016 Build Time: 19:13:33
thank you a lot !
Title: Re: A new version of Arnold.
Post by: Aeliss on 13:13, 15 May 16
Edit: Make a right click inside the box to have a new menu to select the key ("configure").

For the Aeliss edition, I m using his new WIP core, so I will not update the old one, and I can't publish a new one with unofficial stolen code. So I m like you, I m waiting for the final version ^^.
Title: Re: A new version of Arnold.
Post by: greatxerox on 20:49, 16 May 16
thank you Aeliss & Arnold :)
Title: Re: A new version of Arnold.
Post by: arnoldemu on 11:00, 11 June 16
New release of arnold for windows.

http://cpctech.cpc-live.com/setup.zip (http://cpctech.cpc-live.com/setup.zip)

Changes:
- menus with checkmarks didn't update in debugger
- another ASIC Split bug fixed. Delirium Tremens demo now works.
- another PRI bug fixed.
- more than 1 positional keyboard configuration can be chosen.
- positional keyboard configuration can be configured in a basic way.
- added debugging feature: reveal graphics under border. (enable/disable border drawing)
- moved debugging switches to where debugger is (here you can turn on/off audio channels, sprites, split etc).
- improvements to crtc emulation (more to come). All types except HD6845R are improved.
- Yarek's 4MB ram expansion is more accurate (thanks @TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179) )
- emulation of blanking on kc compact.
EDIT: - added multiplay 3rd fire button and added placeholder multiplay mouse registers (currently always  0)

EDIT: Source uploaded for Linux users to build :)

http://cpctech.cpc-live.com/arnoldsrc.zip (http://cpctech.cpc-live.com/arnoldsrc.zip)

This has all the changes too :)
Title: Re: A new version of Arnold.
Post by: fgbrain on 15:09, 11 June 16
I think I found a bug! Command IN F,(C) is not implemented well...

this code on a cpc checks for a frame flyback (also works on WinAPE)
Code: [Select]
ld b,&f5
.frame  db &ed,&70 ; IN F,(C)
jp po,frame

exactly like the normal routine (only this works fine with Arnold)
Code: [Select]
ld b,&f5
.frame  in a,(c)
rra
jr nc,frame   


hardly ever used undocumented routine but still a bug...
Title: Re: A new version of Arnold.
Post by: arnoldemu on 15:37, 11 June 16
I think I found a bug! Command IN F,(C) is not implemented well...

this code on a cpc checks for a frame flyback (also works on WinAPE)
Code: [Select]
ld b,&f5
.frame  db &ed,&70 ; IN F,(C)
jp po,frame

exactly like the normal routine (only this works fine with Arnold)
Code: [Select]
ld b,&f5
.frame  in a,(c)
rra
jr nc,frame   


hardly ever used undocumented routine but still a bug...
Sorry but I don't think your code will work exactly like the normal routine.
po will trigger for any odd number of 1 bits in the register.
e.g. 10100010

This will also trigger it because there are 3 ones, but here vsync is not set.

For English CPC to trigger it cassette ready must be 0, printer must be connected and ready and you must either use a 6128 or a 464 with ddi-1.

But I will check on all my cpcs to confirm.

On Arnold, printer is offline unless you setup writing to a file, so this is probably why it doesn't work.

EDIT:
Works on GX4000.
On 464+ I had mixed results, one time it didn't work and another it did. I think the result depends on the bits from the cassette.
On 6128+ without tape always fails.
Works on 6128 (without printer)

I didn't check 464 yet.

"6128+" configuration in arnold is a 6128+ without cassette interface added. I think winape probably emulates a 6128+ (or maybe a 6512+) with cassette interface.


Title: Re: A new version of Arnold.
Post by: reidrac on 15:54, 11 June 16
New release of arnold for windows.

http://cpctech.cpc-live.com/setup.zip (http://cpctech.cpc-live.com/setup.zip)

Changes:
- menus with checkmarks didn't update in debugger
- another ASIC Split bug fixed. Delirium Tremens demo now works.
- another PRI bug fixed.
- more than 1 positional keyboard configuration can be chosen.
- positional keyboard configuration can be configured in a basic way.
- added debugging feature: reveal graphics under border. (enable/disable border drawing)
- moved debugging switches to where debugger is (here you can turn on/off audio channels, sprites, split etc).
- improvements to crtc emulation (more to come). All types except HD6845R are improved.
- Yarek's 4MB ram expansion is more accurate (thanks @TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179) )
- emulation of blanking on kc compact.
EDIT: - added multiplay 3rd fire button and added placeholder multiplay mouse registers (currently always  0)

EDIT: Source uploaded for Linux users to build :)

http://cpctech.cpc-live.com/arnoldsrc.zip (http://cpctech.cpc-live.com/arnoldsrc.zip)

This has all the changes too :)

Where I can check the version in the source code and/or the changes from a previous version?

Also, can you include the dependency list required to build the source in Linux? Perhaps the install.txt could include it (name of the dependency, minimal version, etc).
Title: Re: A new version of Arnold.
Post by: fgbrain on 16:07, 11 June 16
Quote
For English CPC to trigger it cassette ready must be 0, printer must be connected and ready and you must either use a 6128 or a 464 with ddi-1.

Me and KOD (an old pal) we found this working on 2 6128s without printers and tapes (mid 90s I think it was).

But perhaps you're right about other CPCs... Needs checking..
Title: Re: A new version of Arnold.
Post by: arnoldemu on 16:09, 11 June 16
Me and KOD (an old pal) we found this working on 2 6128s without printers and tapes (mid 90s I think it was).

But perhaps you're right about other CPCs... Needs checking..
I did some testing and it doesn't work on 6128+. I updated my message with my results so far. :)
I confirm that it works on 6128 without printer and tape. :)


Title: Re: A new version of Arnold.
Post by: arnoldemu on 16:14, 11 June 16
Where I can check the version in the source code and/or the changes from a previous version?

Also, can you include the dependency list required to build the source in Linux? Perhaps the install.txt could include it (name of the dependency, minimal version, etc).
I was going to say "check the file 'build_notes.txt'" but it seems fossil scm removed that file!
On linux it's really confused about if that file exists in fossil or not.  >:(

For linux:

cmake
gcc
g++
libsdl1.2-dev
libwxgtk3.0-dev

and run this shell script:
make_arnz80_release.sh



Title: Re: A new version of Arnold.
Post by: reidrac on 16:17, 11 June 16
I was going to say "check the file 'build_notes.txt'" but it seems fossil scm removed that file!
On linux it's really confused about if that file exists in fossil or not.  >:(

For linux:

cmake
gcc
g++
libsdl1.2-dev
libwxgtk3.0-dev

and run this shell script:
make_arnz80_release.sh




OK, thanks.

I'm trying (again) to build Debian packages, but is not going to be pretty because the way you build the project. Also some files are missing (license?), etc.

If I get anywhere this time, I may upload my changes to a github repo so you can integrate them in Fossil if you want to.
Title: Re: A new version of Arnold.
Post by: arnoldemu on 16:55, 11 June 16
Where I can check the version in the source code and/or the changes from a previous version?

Also, can you include the dependency list required to build the source in Linux? Perhaps the install.txt could include it (name of the dependency, minimal version, etc).
I didn't keep track of the changelist and the changes but I should so here are the ones I gathered from the checkins I did:


Since january 20th (which I think was the last release on all platforms):

- added "interlace field" to debugger information. This tracks the internal frame the crtc uses for interlace
- fixed i/o port decoding for symbiface 2 for selecting it's rom and ram
- added ide drive address register
- used RAII for dialogs instead of new and delete
- fixed refresh of menus with checkable items under windows
- added cursor flash state to type 3 status registers
- fixed more of the type 3 status register bits
- fixed annoying screen jumping.
- fixed opening cpr from finder on mac
- fix IPC (this is where if you start a second instance of arnold it tells you and then it communicates the opened file to the other one)
- turn off IPC on mac
- move where resources are within mac bundle
- fixed blank screen when launching games on mac from finder
- set initial prescale value to 0 on power-on because that seems to be the most common value
- fixed most initial asic register values when powering on
- obtained sample rate was incorrectly reported in console window
- attempted to improve sound synchronisation on start up
- translated key mode no longer interrupts autotype
- upgraded code for wx3.1 and sdl2.0.4
- initially centre window on screen
- much closer crtc r9, r4 and r7 emulation. much closer to the tests.
- improved r12/r13 emulation on type 2 including correct time when values are captured and when they are used
- if attempting to autostart a dsk and too many files qualify do a CAT to list them for the user.
- type 3 "vertical adjust" - defined by crtc r5 fixes
- if you auto start a single sided dsk switch to side 0 (fixes problems if you force side 1 in the settings)
- changed crtc r6 handling, works more like my tests but breaks "From Scratch" XD
- fixed vertical sync length handling on CRTC type 0.
- improvements for CRTC R8 handling in terms of interlace and interlace and sync.
- type 2 interlace now working correctly.
- vortex 512kb ram is now a useable device
- fix loading arnold from paths with '#' in them
- if an override rom has been defined (basic, amsdos, os) ignore if the filename is empty. stops confusion with black screen
- physical keyboard mode key assignments were not always reported correctly. now fixed.
- allow choice of different positional keyboard layouts
- fixed handling of reload media when modified. Yes was ignored.
- kc compact blanking fixed (blanking happens during hsync and vsync)
- improved positional keyboard redefinition
- fixed i/o port decoding for Yarek's 4MB expansion. Thanks to TFM for testing :)
- fixed split screen on last line of screen - fixes Delerium Tremens demo.


Title: Re: A new version of Arnold.
Post by: TFM on 05:33, 12 June 16
WoW!!! You've been super busy! Great work! Hats off!!!  :) :) :)
Title: Re: A new version of Arnold.
Post by: greatxerox on 20:43, 12 June 16
Arnold, please could you do a description for Arnoldemu ?


i'm going to put it on Emu-france.  :)
Title: Re: A new version of Arnold.
Post by: roudoudou on 21:29, 12 June 16
Arnold, great work!



Title: Re: A new version of Arnold.
Post by: TFM on 18:12, 13 June 16
Who is Arnold?  ;D  [nb]http://www.cpcwiki.eu/index.php/Kevin_Thacker[/nb]
Title: Re: A new version of Arnold.
Post by: TotO on 10:32, 14 June 16
I though he was named Emu!  :'(
Title: Re: A new version of Arnold.
Post by: robcfg on 10:41, 14 June 16
His name is Emu. Arnold Emu...  ;D
Title: Re: A new version of Arnold.
Post by: arnoldemu on 15:12, 14 June 16
Arnold, please could you do a description for Arnoldemu ?


i'm going to put it on Emu-france.  :)
Mr.Emu ( :D ) says:


"
Arnold emulator lets you play classic Amstrad CPC and Amstrad Plus games on your PC.

Use it's powerful options to configure the computer just like the one you used to have or to experience newly released hardware and see the future of Amstrad.

If you like to program, enjoy the powerful debugger, inspect and edit memory, dissassemble programs and see the hardware state.

Arnold also includes emulation of two Amstrad clones, one from Eastern Germany, the KC Compact, and one from the former Soviet Union - the Aleste 520EX.
"
 

Title: Re: A new version of Arnold.
Post by: greatxerox on 17:14, 14 June 16
Mr.Emu ( :D ) says:


"
Arnold emulator lets you play classic Amstrad CPC and Amstrad Plus games on your PC.

Use it's powerful options to configure the computer just like the one you used to have or to experience newly released hardware and see the future of Amstrad.

If you like to program, enjoy the powerful debugger, inspect and edit memory, dissassemble programs and see the hardware state.

Arnold also includes emulation of two Amstrad clones, one from Eastern Germany, the KC Compact, and one from the former Soviet Union - the Aleste 520EX.
"


Fiche de Arnold Emulator (2016/06/11) - Emu-France (http://www.emu-france.com/emulateurs/10-ordinateurs/97-amstrad-cpc-cpc/877-arnold-emulator/)   8)
Title: Re: A new version of Arnold.
Post by: Kris on 17:17, 14 June 16
Nice update !  ;)

Title: Re: A new version of Arnold.
Post by: TFM on 17:17, 14 June 16
So do we have two separated lines of evolution for Arnold now?

Title: Re: A new version of Arnold.
Post by: Ast on 17:26, 14 June 16
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) : Can you re-send me your email adress ?
I've done the "Beast+" for your emulation test !

[YouTube]https://youtu.be/GxzUpTZpt4E[/youtube]

Beast+ loading all files & working on x-Mass using my iMPdos v1.16.2
Basically it's not hard to do ^^
I have done some modifications today and keep it X-Mem compatible... So Beast+ works on Cpc Plus with or without memory Expansion...

Title: Re: A new version of Arnold.
Post by: TFM on 20:13, 14 June 16
The background mountains still move more quick than some of the small ant hills in the front. Would look more realistic when this would be changed, so that objects obviously more far away move slower that objects more near. Well, if doable.  :)
Title: Re: A new version of Arnold.
Post by: Ast on 20:26, 14 June 16
just made a "pre-preview" for Arnoldemu, but I'll do my best to fix it in a future version....
Title: Re: A new version of Arnold.
Post by: Ast on 21:54, 14 June 16
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) : email sent !
Title: Re: A new version of Arnold.
Post by: arnoldemu on 22:39, 14 June 16
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) : email sent !
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573): received. I am running it now :)

EDIT: Really nice! :)
Title: Re: A new version of Arnold. *BUG REPORT V6016-06-11*
Post by: Ramon Zarat on 04:15, 15 June 16
Hi.
 
 The sound in the demo "Batman forever" is wrong. Tried 2-3 other demos and same thing. Tried to changed quite a few setting to solve issue, still wrong. Play perfectly in JavaCPC Desktop latest version.
 
 System:
 
 2500K @ 4.7Ghz
 16GB RAM
 GTX 660, driver 365.19
 3 X LCD 1680X1050
 Win 7 64
 Aero on
 
 PS: Nice comeback after a decade+ long hiatus!
Title: Re: A new version of Arnold. *BUG REPORT V6016-06-11*
Post by: arnoldemu on 08:49, 15 June 16
Hi.
 
 The sound in the demo "Batman forever" is wrong. Tried 2-3 other demos and same thing. Tried to changed quite a few setting to solve issue, still wrong. Play perfectly in JavaCPC Desktop latest version.
 
 System:
 
 2500K @ 4.7Ghz
 16GB RAM
 GTX 660, driver 365.19
 3 X LCD 1680X1050
 Win 7 64
 Aero on
Hi Ramon,
Thank you for the report. It is my plan to fix it for next release :)

PS: Nice comeback after a decade+ long hiatus!
Thank you :)
Title: Re: A new version of Arnold.
Post by: Gryzor on 16:27, 15 June 16
Use it's powerful options to configure the computer just like the one you used to have or to experience newly released hardware and see the future of Amstrad.
 


*its
Title: Re: A new version of Arnold.
Post by: TFM on 19:10, 15 June 16
... and see the future of Amstrad.
Therefore you need an option to autoboot FutureOS  ;D
Title: Re: A new version of Arnold.
Post by: Executioner on 06:36, 25 June 16
I have done some modifications today and keep it X-Mem compatible... So Beast+ works on Cpc Plus with or without memory Expansion...

Hi Ast, have you tried Beast+ on WinAPE? I'd like to know if it runs properly.
Title: Re: A new version of Arnold.
Post by: genesis8 on 18:18, 25 June 16
EDIT: Source uploaded for Linux users to build :)

http://cpctech.cpc-live.com/arnoldsrc.zip (http://cpctech.cpc-live.com/arnoldsrc.zip)

I tried to compile but I get the following error in cmakeerror.log :

/usr/bin/cc   -Wall -pedantic  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec591663486.dir/CheckFunctionExists.c.o  -o cmTryCompileExec591663486 -rdynamic -lpthreads
/usr/bin/ld: ne peut trouver -lpthreads

Before the script stops, I have :

Will use SDL
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15")
SDL found

-- Could NOT find EXPAT (missing:  EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.0/Modules/FindEXPAT.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:182 (FIND_PACKAGE)

Any idea (on lubuntu 15.04) ?
Title: Re: A new version of Arnold.
Post by: arnoldemu on 18:49, 25 June 16
Hi Emmanuel,

I think old versions of wxwidgets need libexpat.

Please unzip these files over the source.

I have replaced two CMakeLists.txt and disabled libexpat.

This works for me. Does it work for you?
Title: Re: A new version of Arnold.
Post by: genesis8 on 19:08, 25 June 16
Hi Emmanuel,

I think old versions of wxwidgets need libexpat.

Please unzip these files over the source.

I have replaced two CMakeLists.txt and disabled libexpat.

This works for me. Does it work for you?

It worked and ended on :

/home/martin/Documents/arnold/src/cpc/asic.c:1426:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
cpc/CMakeFiles/cpc.dir/build.make:169: recipe for target 'cpc/CMakeFiles/cpc.dir/asic.c.o' failed
make[2]: *** [cpc/CMakeFiles/cpc.dir/asic.c.o] Error 1
CMakeFiles/Makefile2:86: recipe for target 'cpc/CMakeFiles/cpc.dir/all' failed
make[1]: *** [cpc/CMakeFiles/cpc.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

In CMakeError.log :

/usr/bin/cc   -Wall -pedantic  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec629741184.dir/CheckFunctionExists.c.o  -o cmTryCompileExec629741184 -rdynamic -lpthreads
/usr/bin/ld: ne peut trouver -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec629741184.dir/build.make:88: recipe for target 'cmTryCompileExec629741184' failed
make[1]: Leaving directory '/home/martin/Documents/arnold/src/build_arnz80_release/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec629741184] Error 1
Makefile:118: recipe for target 'cmTryCompileExec629741184/fast' failed
make: *** [cmTryCompileExec629741184/fast] Error 2

Still the error with LD and the option -lpthreads. I checked before posting my first message, and found some posts about using -lpthread instead of -lpthreads. But I found nothing in all the CMakeLists.txt
r
Title: Re: A new version of Arnold.
Post by: arnoldemu on 19:15, 25 June 16
I think pthreads is a wxwidgets dependency.

What do you see with:

wx-config --libs

??
I see -pthread in the list.

What do you see for:

wx-config --list

??

I have gtk2-unicode-3.1

EDIT: I will download lubuntu :)

Title: Re: A new version of Arnold.
Post by: genesis8 on 19:49, 25 June 16
I think pthreads is a wxwidgets dependency.

What do you see with:

wx-config --libs

??
I see -pthread in the list.

What do you see for:

wx-config --list

??

I have gtk2-unicode-3.1

With wx-config --libs :

-L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0

With wx-config --list :

    Default config is gtk2-unicode-3.0

  Default config will be used for output

  Alternate matches:
    base-unicode-3.0

I had no problems compiling arnold on a raspberry pi2 in march though.
Title: Re: A new version of Arnold.
Post by: arnoldemu on 19:57, 25 June 16
With wx-config --libs :

-L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0

With wx-config --list :

    Default config is gtk2-unicode-3.0

  Default config will be used for output

  Alternate matches:
    base-unicode-3.0

I had no problems compiling arnold on a raspberry pi2 in march though.
All the settings are good. It must be something in lubuntu's configuration. It will be at least 1 hour before I can test lubunutu and know.

I can't help until then sorry. I use ubuntu.

Good to know it worked on the pi2. :)
Title: Re: A new version of Arnold.
Post by: reidrac on 20:54, 25 June 16
I managed to compile the emulator in Debian, with the special bit of being an ARM machine (a Chromebook actually).

Some feedback:

Code: [Select]
for (int i = 0; i < 10; i++)
Still didn't manage to build the Debian package (this is a different test actually), but so far looks really good. Shame on the sound, but SDL 1 is really outdated. Those problems may go away when the SDL 2 version is stable.

A screenshot:

 [ You are not allowed to view attachments ]
Title: Re: A new version of Arnold.
Post by: arnoldemu on 21:10, 25 June 16
I managed to compile the emulator in Debian, with the special bit of being an ARM machine (a Chromebook actually).
...
SDL2 doesn't work with wxwidgets fully. Both use pthreads and I think wxwidgets initialises it first.
I think that is the problem :(

All the other problems are my fault ;)

Title: Re: A new version of Arnold.
Post by: arnoldemu on 21:14, 25 June 16
@genesis8 (http://www.cpcwiki.eu/forum/index.php?action=profile;u=215):

I ran lubuntu 16.04 from a live cd, I installed libwxgtk3.0-dev, libsdl1.2-dev, cmake.
I saw the same compile error with libexpat. I removed that in CMakeLists.txt.
Mine links. ?

I tried build_arnz80_release. I will try the other shell scripts.

Title: Re: A new version of Arnold.
Post by: reidrac on 21:15, 25 June 16
SDL2 doesn't work with wxwidgets fully. Both use pthreads and I think wxwidgets initialises it first.
I think that is the problem :(

All the other problems are my fault ;)

Yep, some people mention that you should implement (perhaps) main yourself instead of allowing wxwidgets to do it: http://stackoverflow.com/a/29043507 (http://stackoverflow.com/a/29043507)

One simple request: can you implement a debug flag that enables the output on the terminal and keep it quiet otherwise? Currently I can redirect to /dev/null; but that flag would be useful.
Title: Re: A new version of Arnold.
Post by: arnoldemu on 13:52, 26 June 16
Yep, some people mention that you should implement (perhaps) main yourself instead of allowing wxwidgets to do it: http://stackoverflow.com/a/29043507 (http://stackoverflow.com/a/29043507)

One simple request: can you implement a debug flag that enables the output on the terminal and keep it quiet otherwise? Currently I can redirect to /dev/null; but that flag would be useful.
I will do both as requested. :)

I will also look at the source code for both sdl and wxwidgets and see how safe the suggested solution is. The solution suggests this should be done but doesn't guarantee that it's completely safe.

@genesis8 (http://www.cpcwiki.eu/forum/index.php?action=profile;u=215): I am sorry that I wasn't able to reproduce the problem you saw. Thinking about it, it may have been the compiler selected by cmake. Do you know if it was gcc or clang?

Title: Re: A new version of Arnold.
Post by: genesis8 on 14:49, 26 June 16
@genesis8 (http://www.cpcwiki.eu/forum/index.php?action=profile;u=215): I am sorry that I wasn't able to reproduce the problem you saw. Thinking about it, it may have been the compiler selected by cmake. Do you know if it was gcc or clang?

GCC v4.9.2

I will install arch linux on the old portable I am currently using. It didnt boot with lubuntu 16.04