Author Topic: A new version of Arnold.  (Read 17268 times)

0 Members and 1 Guest are viewing this topic.

Offline greatxerox

  • CPC464
  • **
  • Posts: 32
  • Country: fr
    • EMU-FRANCE / Amstrad.EU / Rommanager.com
  • Liked: 5
  • Likes Given: 6

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #26 on: 08:29, 21 April 16 »
@greatxerox:

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.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline greatxerox

  • CPC464
  • **
  • Posts: 32
  • Country: fr
    • EMU-FRANCE / Amstrad.EU / Rommanager.com
  • Liked: 5
  • Likes Given: 6
Re: A new version of Arnold.
« Reply #27 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
« Last Edit: 02:02, 24 April 16 by greatxerox »

Offline Aeliss

  • CPC464
  • **
  • Posts: 26
  • Country: fr
  • Liked: 9
  • Likes Given: 8
Re: A new version of Arnold.
« Reply #28 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 ?


Offline greatxerox

  • CPC464
  • **
  • Posts: 32
  • Country: fr
    • EMU-FRANCE / Amstrad.EU / Rommanager.com
  • Liked: 5
  • Likes Given: 6
Re: A new version of Arnold.
« Reply #29 on: 03:09, 26 April 16 »
thank you for the fix you sent me , arnold.

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
« Last Edit: 03:14, 26 April 16 by greatxerox »

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #30 on: 08:27, 26 April 16 »
The zip (containing the windows installer) in the link from @greatxerox 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


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #31 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.  ???

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline greatxerox

  • CPC464
  • **
  • Posts: 32
  • Country: fr
    • EMU-FRANCE / Amstrad.EU / Rommanager.com
  • Liked: 5
  • Likes Given: 6
Re: A new version of Arnold.
« Reply #32 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








I'd like to know also if Arnold Aeliss Edition is useless now and if the added features from your ancient release has been integrated in your last build Date: Apr 25 2016 Build Time: 19:13:33
thank you a lot !

Offline Aeliss

  • CPC464
  • **
  • Posts: 26
  • Country: fr
  • Liked: 9
  • Likes Given: 8
Re: A new version of Arnold.
« Reply #33 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 ^^.
« Last Edit: 20:30, 15 May 16 by Aeliss »

Offline greatxerox

  • CPC464
  • **
  • Posts: 32
  • Country: fr
    • EMU-FRANCE / Amstrad.EU / Rommanager.com
  • Liked: 5
  • Likes Given: 6
Re: A new version of Arnold.
« Reply #34 on: 20:49, 16 May 16 »
thank you Aeliss & Arnold :)

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #35 on: 11:00, 11 June 16 »
New release of arnold for windows.

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 )
- 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

This has all the changes too :)
« Last Edit: 12:29, 11 June 16 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline fgbrain

  • CPC6128
  • ****
  • Posts: 230
  • Country: gr
    • index.php?action=treasury
    • Chaos CPC Homepage
  • Liked: 129
  • Likes Given: 299
Re: A new version of Arnold.
« Reply #36 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...
_____

6128 (UK keyboard, Crtc type 0/2), 6128+ (UK keyboard), 3.5" and 5.25" drives, Reset switch and Digiblaster (selfmade), Inicron Romram box, Bryce Megaflash, SVideo & PS/2 mouse, , Magnum Lightgun, X-MEM, X4 Board, C4CPC, Multiface2 X4, RTC X4 and Gotek USB Floppy emulator.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #37 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.


« Last Edit: 16:08, 11 June 16 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 690
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1183
  • Likes Given: 728
Re: A new version of Arnold.
« Reply #38 on: 15:54, 11 June 16 »
New release of arnold for windows.

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 )
- 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

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).
« Last Edit: 15:56, 11 June 16 by reidrac »
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline fgbrain

  • CPC6128
  • ****
  • Posts: 230
  • Country: gr
    • index.php?action=treasury
    • Chaos CPC Homepage
  • Liked: 129
  • Likes Given: 299
Re: A new version of Arnold.
« Reply #39 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..
_____

6128 (UK keyboard, Crtc type 0/2), 6128+ (UK keyboard), 3.5" and 5.25" drives, Reset switch and Digiblaster (selfmade), Inicron Romram box, Bryce Megaflash, SVideo & PS/2 mouse, , Magnum Lightgun, X-MEM, X4 Board, C4CPC, Multiface2 X4, RTC X4 and Gotek USB Floppy emulator.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #40 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. :)


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #41 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



My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline reidrac

  • Supporter
  • 6128 Plus
  • *
  • Posts: 690
  • Country: gb
  • Trying to gamedev!
    • index.php?action=treasury
    • usebox.net
  • Liked: 1183
  • Likes Given: 728
Re: A new version of Arnold.
« Reply #42 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.
Released The Return of Traxtor, Golden Tail, Magica and The Dawn of Kernel for the CPC.

If you like my games and want to show some appreciation, you can always buy me a coffee.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2246
  • Likes Given: 3477
Re: A new version of Arnold.
« Reply #43 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.


« Last Edit: 16:59, 11 June 16 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: A new version of Arnold.
« Reply #44 on: 05:33, 12 June 16 »
WoW!!! You've been super busy! Great work! Hats off!!!  :) :) :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline greatxerox

  • CPC464
  • **
  • Posts: 32
  • Country: fr
    • EMU-FRANCE / Amstrad.EU / Rommanager.com
  • Liked: 5
  • Likes Given: 6
Re: A new version of Arnold.
« Reply #45 on: 20:43, 12 June 16 »
Arnold, please could you do a description for Arnoldemu ?


i'm going to put it on Emu-france.  :)

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 684
  • Country: fr
    • urban exploration
  • Liked: 954
  • Likes Given: 597
Re: A new version of Arnold.
« Reply #46 on: 21:29, 12 June 16 »
Arnold, great work!



use RASM, the best assembler ever made :p

I will survive

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: A new version of Arnold.
« Reply #47 on: 18:12, 13 June 16 »
Who is Arnold?  ;D  [nb]http://www.cpcwiki.eu/index.php/Kevin_Thacker[/nb]
« Last Edit: 18:16, 13 June 16 by TFM »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.452
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2628
  • Likes Given: 1552
Re: A new version of Arnold.
« Reply #48 on: 10:32, 14 June 16 »
I though he was named Emu!  :'(
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.225
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 989
  • Likes Given: 2243
Re: A new version of Arnold.
« Reply #49 on: 10:41, 14 June 16 »
His name is Emu. Arnold Emu...  ;D