Arculator v2.0 released!

discuss emulators of 32-bit acorn systems e.g. arculator and rpcemu
User avatar
SarahWalker
Posts: 1229
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Arculator v2.0 released!

Post by SarahWalker » Sat Nov 09, 2019 2:51 pm

That can't be right. It's apparently been TEN YEARS since the last Arculator release. I'm old...

Anyway, here's v2.0. Changes from v0.99 :
  • FPA10 emulation
  • Podule emulation. Current included podules : AKA31 SCSI Podule, AKD52 Hard Disc Podule, Computer Concepts Lark, HCCS Ultimate CD-ROM, ICS ideA, RISC Developments IDE Podule, Wild Vision MIDI Max, ZIDEFS
  • Much better CPU/memory timing. Now emulates ARM3 cache and MEMC1/MEMC1a timings
  • Added emulation of GamesPad, RTFM and Serial Port/Vertical Twist joysticks
  • Improved sound filter emulation
  • Re-implemented FDI support
  • Added HostFS (ported from RPCemu)
  • Disc drive noise
  • Linux port
  • Numerous bug fixes
  • Many other changes
Download from http://b-em.bbcmicro.com/arculator/. That site really does feel like it's been over a decade, should probably update that properly as well at some point.

User avatar
Pernod
Posts: 1952
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: Arculator v2.0 released!

Post by Pernod » Sat Nov 09, 2019 3:02 pm

Awesome =D>
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.

User avatar
IanS
Posts: 1197
Joined: Mon Aug 31, 2009 7:02 pm
Contact:

Re: Arculator v2.0 released!

Post by IanS » Sat Nov 09, 2019 3:05 pm

Windows zip file appears broken.

Code: Select all

    testing: Arculator.exe            OK
file #335:  bad zipfile offset (local header sig):  5511057
file #336:  bad zipfile offset (local header sig):  5514217
file #337:  bad zipfile offset (local header sig):  5731920
file #338:  bad zipfile offset (local header sig):  6109668
    testing: readme.txt               OK

User avatar
SarahWalker
Posts: 1229
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arculator v2.0 released!

Post by SarahWalker » Sat Nov 09, 2019 3:38 pm

Windows zip file now replaced with a non-broken version.

hubersn
Posts: 175
Joined: Sun Aug 14, 2016 8:59 pm
Contact:

Re: Arculator v2.0 released!

Post by hubersn » Sat Nov 09, 2019 7:45 pm

Thanks a lot for this new version - the machine config alone is really great!

Still experimenting with all the new stuff. There seems to be a problem with connecting existing .hdfs with e.g. ADFS and ZIDEFS IDE, but it is too early to suggest a bug! I also wasn't immediately successful in providing a CD image to a SCSI CD-ROM. Or have I misunderstood the "virtual" feature? I can see the CD-ROM being listed in *devices, but that's it basically, in config I can not select anything ("Host" is greyed out because this laptop has no host drive, so that is expected).

Could you detail the technical background of SCSI podule emulation? Is it connected to SPTI on Windows (i.e. would allow USB sticks in filecore format), or is it entirely virtual?

Thanks again
hubersn

User avatar
SarahWalker
Posts: 1229
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arculator v2.0 released!

Post by SarahWalker » Sat Nov 09, 2019 7:51 pm

hubersn wrote:
Sat Nov 09, 2019 7:45 pm
Thanks a lot for this new version - the machine config alone is really great!

Still experimenting with all the new stuff. There seems to be a problem with connecting existing .hdfs with e.g. ADFS and ZIDEFS IDE, but it is too early to suggest a bug!
Arculator used to have a bug where it added a pointless 512 byte header to all .hdfs. I removed that, but tried to keep compatibility with the older images. Possibly I didn't detect them right...

If you can, try deleting the 512 byte header off the old image; it should (hopefully) start working.
I also wasn't immediately successful in providing a CD image to a SCSI CD-ROM. Or have I misunderstood the "virtual" feature? I can see the CD-ROM being listed in *devices, but that's it basically, in config I can not select anything ("Host" is greyed out because this laptop has no host drive, so that is expected).
You need a virtual drive on the host side, Daemon Tools or similar.
Could you detail the technical background of SCSI podule emulation? Is it connected to SPTI on Windows (i.e. would allow USB sticks in filecore format), or is it entirely virtual?
Nope, entirely virtual.

hubersn
Posts: 175
Joined: Sun Aug 14, 2016 8:59 pm
Contact:

Re: Arculator v2.0 released!

Post by hubersn » Sat Nov 09, 2019 8:39 pm

SarahWalker wrote:
Sat Nov 09, 2019 7:51 pm
hubersn wrote:
Sat Nov 09, 2019 7:45 pm
Thanks a lot for this new version - the machine config alone is really great!

Still experimenting with all the new stuff. There seems to be a problem with connecting existing .hdfs with e.g. ADFS and ZIDEFS IDE, but it is too early to suggest a bug!
Arculator used to have a bug where it added a pointless 512 byte header to all .hdfs. I removed that, but tried to keep compatibility with the older images. Possibly I didn't detect them right...

If you can, try deleting the 512 byte header off the old image; it should (hopefully) start working.
I tried an image for MIST (this implements a Risc Developments IDE podule) without the 512 byte header (at least according to my Filecore Reader!). I selected Risc Developments IDE podule and tried to "mount" that image as drive 4. An error dialog pops up, titled "wxWidgets debug alert": "./src/mws/textctrl.cpp(231): assert 'm_count == -1 || m_count == -2' failed in UpdatesCountFilter(): wrong initial m_updatesCount value"

It works both on MIST and on Arculator 0.99 with old-style I/O via Risc Developments IDE feature.

I have put the image up for analysis: https://www.huber-net.de/riscos/idehd_archie1.zip

Any hints?
hubersn

User avatar
SarahWalker
Posts: 1229
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arculator v2.0 released!

Post by SarahWalker » Sun Nov 10, 2019 8:59 am

I'll have to look into why that dialog is popping up, however you can just press 'Cancel' and from that point the image seems to work fine.

Dunkinator
Posts: 46
Joined: Fri Oct 16, 2015 12:15 pm
Contact:

Re: Arculator v2.0 released!

Post by Dunkinator » Wed Nov 13, 2019 6:40 pm

Thanks so much Sarah and great job! Does this version support hard drives under RISC OS 2.0?

Also might be me but cannot configure to automatically boot to desktop - keeps dropping to BASIC/Command prompt on boot and hard reset. If I recall you *Configure Language to 3 to boot to Desktop - but isn't working?!

User avatar
IanS
Posts: 1197
Joined: Mon Aug 31, 2009 7:02 pm
Contact:

Re: Arculator v2.0 released!

Post by IanS » Wed Nov 13, 2019 9:06 pm

Dunkinator wrote:
Wed Nov 13, 2019 6:40 pm
Also might be me but cannot configure to automatically boot to desktop - keeps dropping to BASIC/Command prompt on boot and hard reset. If I recall you *Configure Language to 3 to boot to Desktop - but isn't working?!
Check the module list, configure the language to match the desktop module (it's 10 in RISC OS 3.11)

User avatar
SarahWalker
Posts: 1229
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arculator v2.0 released!

Post by SarahWalker » Thu Nov 14, 2019 8:40 am

Dunkinator wrote:
Wed Nov 13, 2019 6:40 pm
Thanks so much Sarah and great job! Does this version support hard drives under RISC OS 2.0?
Yes, either via the internal ST-506 interface (if you've configured an Archimedes 4xx machine), or via an ST-506/RISC Developments IDE/SCSI podule.

jregel
Posts: 185
Joined: Fri Dec 20, 2013 6:39 pm
Location: Gloucestershire
Contact:

Re: Arculator v2.0 released!

Post by jregel » Thu Nov 14, 2019 11:33 am

A great release, thanks.

The previous version didn't go into fullscreen mode properly in Windows, but 2.0 does without any problems.
BBC Master Turbo, Retroclinic External Datacentre, VideoNuLA, PiTubeDirect with Pi Zero, Gotek USB Floppy Emulator

User avatar
matburton
Posts: 23
Joined: Tue Jan 22, 2019 11:48 pm
Location: Cambridge
Contact:

Re: Arculator v2.0 released!

Post by matburton » Thu Nov 14, 2019 12:49 pm

SarahWalker wrote:
Thu Nov 14, 2019 8:40 am
Dunkinator wrote:
Wed Nov 13, 2019 6:40 pm
Thanks so much Sarah and great job! Does this version support hard drives under RISC OS 2.0?
Yes, either via the internal ST-506 interface (if you've configured an Archimedes 4xx machine), or via an ST-506/RISC Developments IDE/SCSI podule.
Sweet! This will really help me mess about with my setup! It looks like I'll be able to emulate it completely now :o

Thanks so much! :D

Am I right in thinking this would allow me to make a virtual IDEFS drive and when I'm happy I could just dd the file directly to my real drive?

User avatar
SarahWalker
Posts: 1229
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arculator v2.0 released!

Post by SarahWalker » Thu Nov 14, 2019 10:08 pm

Yes, that should work.

User avatar
matburton
Posts: 23
Joined: Tue Jan 22, 2019 11:48 pm
Location: Cambridge
Contact:

Re: Arculator v2.0 released!

Post by matburton » Fri Nov 15, 2019 2:25 pm

Tried it out last night, what a massive step-up. It's so much more useful and accessible now! :D
Making configurations and swapping between them is a breeze now.

I love hostfs, so handy! Am I correct in thinking this can only work under RISCOS 3+?
I tried adding the podule under RISCOS 2 and the hostfs drive is shown.
Interacting with it freezes the virtual machine however (not Arculator itself).

Also the disk drive noise is a lovely touch.
Thanks for the disc_noise_gain option in arc.cfg, I've turned it way up.
It's just not the same if it doesn't sound like a washing machine full of rubble.

The emulation of the RISC Developments IDE Controller seems perfect.
I have to ask on the off chance, while you were trying it out, how were you formatting your virtual IDEFS disks?
Is there a specific tool you using either inside the virtual machine or outside?
(I'm having some trouble formatting using the !IDEForm version I could find in the recommended way)
Image

User avatar
IanS
Posts: 1197
Joined: Mon Aug 31, 2009 7:02 pm
Contact:

Re: Arculator v2.0 released!

Post by IanS » Fri Nov 15, 2019 7:58 pm

matburton wrote:
Fri Nov 15, 2019 2:25 pm
Tried it out last night, what a massive step-up. It's so much more useful and accessible now! :D
Making configurations and swapping between them is a breeze now.

I love hostfs, so handy! Am I correct in thinking this can only work under RISCOS 3+?
I tried adding the podule under RISCOS 2 and the hostfs drive is shown.
Interacting with it freezes the virtual machine however (not Arculator itself).

Also the disk drive noise is a lovely touch.
Thanks for the disc_noise_gain option in arc.cfg, I've turned it way up.
It's just not the same if it doesn't sound like a washing machine full of rubble.

The emulation of the RISC Developments IDE Controller seems perfect.
I have to ask on the off chance, while you were trying it out, how were you formatting your virtual IDEFS disks?
Is there a specific tool you using either inside the virtual machine or outside?
(I'm having some trouble formatting using the !IDEForm version I could find in the recommended way)
Image
Try the ZIDEFS podule, you can then use any !hform (after using the ZIDEFS patch tool). You can then even attach the image to the RISC dev controller (but not connected to both at the same time)

I couldn't get HostFS to work with RISC 2.01.

User avatar
matburton
Posts: 23
Joined: Tue Jan 22, 2019 11:48 pm
Location: Cambridge
Contact:

Re: Arculator v2.0 released!

Post by matburton » Fri Nov 15, 2019 10:31 pm

Thanks that sounds promising IanS

I take it that means ZIDEFS and IDEFS are actually the same format on the disk itself?
i.e. ZIDEFS is like an upgrade of IDEFS purely in terms of software? (sorry I'm new)
IanS wrote:
Fri Nov 15, 2019 7:58 pm
use any !hform (after using the ZIDEFS patch tool)
Any idea where I can get that ZIDEFS patch for !HForm?
I'm guessing I should have been able to find it but my Google-fu has failed me!

User avatar
IanS
Posts: 1197
Joined: Mon Aug 31, 2009 7:02 pm
Contact:

Re: Arculator v2.0 released!

Post by IanS » Fri Nov 15, 2019 10:51 pm

matburton wrote:
Fri Nov 15, 2019 10:31 pm
Thanks that sounds promising IanS

I take it that means ZIDEFS and IDEFS are actually the same format on the disk itself?
i.e. ZIDEFS is like an upgrade of IDEFS purely in terms of software? (sorry I'm new)
IanS wrote:
Fri Nov 15, 2019 7:58 pm
use any !hform (after using the ZIDEFS patch tool)
Any idea where I can get that ZIDEFS patch for !HForm?
I'm guessing I should have been able to find it but my Google-fu has failed me!
Most filing systems on RISC OS ultimately use FileCore to look after the on disk layout, so they are all more or less compatible.

The ZIDEFS hform patcher is part of the ZIDEFS download - http://www.zeridajh.org/software/zidefs/index.htm
Use !Packdir to unpack the file - http://www.zeridajh.org/software/packdir/index.htm

Give it a go, if you can't get it going I'll get a patched version to upload.

The CJE verssion that you can download is probably pre-patched (I've not checked) -http://www.cjemicros.co.uk/micros/indiv ... e=4D-IDE16

User avatar
matburton
Posts: 23
Joined: Tue Jan 22, 2019 11:48 pm
Location: Cambridge
Contact:

Re: Arculator v2.0 released!

Post by matburton » Fri Nov 15, 2019 11:27 pm

IanS wrote:
Fri Nov 15, 2019 10:51 pm
Most filing systems on RISC OS ultimately use FileCore
Ah I see so FileCore is really like the filesystem while IDEFS, ZIDEFS are more like the hardware drivers?
Is that why they're compatible at the binary level? (as in binary contents of the disk)
IanS wrote:
Fri Nov 15, 2019 10:51 pm
The ZIDEFS hform patcher is part of the ZIDEFS download
Sweet that worked. The version of HForm I had with my A3000 was too old to patch, but I found the version form the RISCOS 3 disks online and... BINGO! :o It formatted with a LFAU of 1K and works under IDEFS and the Risc Developments' podule!

Thanks so much for the help IanS and sorry SarahWalker for spamming your thread (but I couldn't have done this without Arculator 2 I don't think!)

User avatar
matburton
Posts: 23
Joined: Tue Jan 22, 2019 11:48 pm
Location: Cambridge
Contact:

Re: Arculator v2.0 released!

Post by matburton » Sat Nov 16, 2019 12:06 am

SarahWalker wrote:
Thu Nov 14, 2019 10:08 pm
Yes, that should work.
Writing the image back to a real disk worked perfectly :D

johnpg
Posts: 3
Joined: Wed Oct 24, 2018 9:42 am
Contact:

Re: Arculator v2.0 released!

Post by johnpg » Tue Nov 19, 2019 7:42 am

SarahWalker wrote:
Sat Nov 09, 2019 2:51 pm
That can't be right. It's apparently been TEN YEARS since the last Arculator release. I'm old...

Anyway, here's v2.0. Changes from v0.99 :
  • FPA10 emulation
  • Podule emulation. Current included podules : AKA31 SCSI Podule, AKD52 Hard Disc Podule, Computer Concepts Lark, HCCS Ultimate CD-ROM, ICS ideA, RISC Developments IDE Podule, Wild Vision MIDI Max, ZIDEFS
  • Much better CPU/memory timing. Now emulates ARM3 cache and MEMC1/MEMC1a timings
  • Added emulation of GamesPad, RTFM and Serial Port/Vertical Twist joysticks
  • Improved sound filter emulation
  • Re-implemented FDI support
  • Added HostFS (ported from RPCemu)
  • Disc drive noise
  • Linux port
  • Numerous bug fixes
  • Many other changes
Download from http://b-em.bbcmicro.com/arculator/. That site really does feel like it's been over a decade, should probably update that properly as well at some point.
Excellent update to an excellent emulator, many thanks. Really like the updated configuration options. Apologies if I have missed the answer in the documentation but is there a way to automatically run a specified cfg file, perhaps by command line? As far as I can see it always starts in the configuration selector.

Many thanks in advance,

John.

User avatar
egel
Posts: 64
Joined: Mon Nov 25, 2019 1:10 pm
Location: Almere, Flevoland, The Netherlands
Contact:

Re: Arculator v2.0 released!

Post by egel » Mon Nov 25, 2019 7:39 pm

I tried to use arculator 2.0 in Linux, but the program crashes the moment I place the mouse cursor over an icon in the configuration manager.
A short time I got it working in a debugger, but I can't reproduce that anymore. I'm using Ubuntu 18.04.

markyoungiw
Posts: 1
Joined: Sat Jan 27, 2018 1:16 pm
Contact:

Re: Arculator v2.0 released!

Post by markyoungiw » Tue Dec 03, 2019 2:49 pm

I am so pleased to see a new version of Arculator, and on initial trial, certainly the full screen is much better. It also appears to be less system intensive on my laptop (less cooking heat is achieved).

The podules is an excellent move. Out of interest is there intent to make more, or can we help? I use an HCCS Ultimate Expansion System on my A3010, and Arculator has always been perfectly fine reading the first partition, but obviously no others (mine has 4 partitions). It would be great to be able to have Arculator read and write from all 4 partitions as well as the actual hardware (when I say Arculator reads and writes to the partitions, I mean and image, which just gets written back to the CF card in my actual machine.

Thanks

User avatar
hoglet
Posts: 9085
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Arculator v2.0 released!

Post by hoglet » Tue Dec 03, 2019 8:51 pm

Hi Sarah,

I've just tried building and running Arculator v2.0 on Ubuntu 18.04.

I had to install few missing packages, most notably:
- libwxgtk3.0-dev

I've installed the following roms:

Code: Select all

md5sum roms/riscos311/*
2aa604dd738cc4939e73fca98e424eb0  roms/riscos311/IC24.ROM
87f6a377bc5922f05745de0191a58c60  roms/riscos311/IC25.ROM
3159138627a59e2841aeeae773181fe6  roms/riscos311/IC26.ROM
a3e54328907bbef16bcc12819d98430c  roms/riscos311/IC27.ROM
When I run arculator the configurator comes up:
Screenshot from 2019-12-03 20-44-01.png
However when I hover over any of the buttons, it core dumps.

Code: Select all

dmb@quadhog:~/atom/arculator-v2.0$ ./arculator 
[00000000]: Looking for podules in ./podules/
[00000000]: podule_probe returned 0x7fa89a8d2d60
HDA Intel: PCM device=0:0:0
[00000000]: podule_probe returned 0x7fa89a6cbd40
[00000000]: Failed to open SO common ./podules/common/common.so: cannot open shared object file: No such file or directory
[00000000]: Failed to open SO .. ./podules/../...so: cannot open shared object file: No such file or directory
[00000000]: Failed to open SO . ./podules/./..so: cannot open shared object file: No such file or directory
[00000000]: podule_probe returned 0x7fa89a4b0d60
[00000000]: podule_probe returned 0x7fa89a285d20
Gtk-Message: 20:53:27.342: Failed to load module "canberra-gtk-module"
[00000000]: Loading ROM set 0 from ./roms/arthur030
[00000000]: Loading ROM set 1 from ./roms/arthur120
[00000000]: Loading ROM set 2 from ./roms/riscos200
[00000000]: Loading ROM set 3 from ./roms/riscos201
[00000000]: Loading ROM set 4 from ./roms/riscos300
[00000000]: Loading ROM set 5 from ./roms/riscos310
[00000000]: Loading ROM set 6 from ./roms/riscos311
[00000000]: Found IC27.ROM
[00000000]: Found IC24.ROM
[00000000]: Found IC25.ROM
[00000000]: Found IC26.ROM
[00000000]: Loading ROM set 7 from ./roms/riscos319
[00000000]: Opened Joystick 0
[00000000]:  Name: Logitech USB Receiver Consumer Control
[00000000]:  Number of Axes: 0
[00000000]:  Number of Buttons: 255
[00000000]:  Number of Hats: 0
Segmentation fault (core dumped)
I've recompiled with --enable-debug and this is the stack trace I see in GDB:

Code: Select all

#0  0x00007fcb58bfbfa0 in __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:65
#1  0x00007fcb541fbafa in XrmQGetResource () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007fcb541d7856 in XGetDefault () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#3  0x00007fcb54f6580e in  () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#4  0x00007fcb54f68260 in  () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#5  0x00007fcb54f381e0 in cairo_surface_get_font_options () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#6  0x00007fcb54ef5362 in  () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#7  0x00007fcb54ef8464 in  () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#8  0x00007fcb54eea344 in cairo_show_glyphs () at /usr/lib/x86_64-linux-gnu/libcairo.so.2
#9  0x00007fcb551ee48b in  () at /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
#10 0x00007fcb551ee79f in  () at /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
#11 0x00007fcb54a81179 in pango_renderer_draw_glyphs () at /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
#12 0x00007fcb551eea04 in pango_cairo_show_glyph_string () at /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
#13 0x00007fcb54a81179 in pango_renderer_draw_glyphs () at /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
#14 0x00007fcb54a8120e in pango_renderer_draw_glyph_item () at /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
#15 0x00007fcb54a81ca1 in pango_renderer_draw_layout_line () at /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
#16 0x00007fcb54a82075 in pango_renderer_draw_layout () at /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
#17 0x00007fcb5541f205 in gdk_draw_layout_with_colors () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#18 0x00007fcb5541f46d in gdk_draw_layout () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#19 0x00007fcb33ba71ba in  () at /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
#20 0x00007fcb557ceb70 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#21 0x00007fcb557da38b in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00007fcb54814021 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007fcb54826de8 in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007fcb5482f0af in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007fcb5483012f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007fcb558f02bc in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007fcb5576090e in gtk_container_propagate_expose () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007fcb5572bc85 in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007fcb5575f38e in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#30 0x00007fcb557da38b in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#31 0x00007fcb54814021 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007fcb54826de8 in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007fcb5482f0af in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007fcb5483012f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#35 0x00007fcb558f02bc in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#36 0x00007fcb5576090e in gtk_container_propagate_expose () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#37 0x00007fcb5575f38e in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#38 0x00007fcb557da38b in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#39 0x00007fcb54814021 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007fcb54826de8 in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#41 0x00007fcb5482f0af in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#42 0x00007fcb5483012f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#43 0x00007fcb558f02bc in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#44 0x00007fcb5576090e in gtk_container_propagate_expose () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#45 0x00007fcb5575f38e in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#46 0x00007fcb557da38b in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#47 0x00007fcb5481410d in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#48 0x00007fcb54826de8 in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#49 0x00007fcb5482f0af in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#50 0x00007fcb5483012f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#51 0x00007fcb558f02bc in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#52 0x00007fcb557d8c68 in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#53 0x00007fcb55434b9f in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#54 0x00007fcb55431623 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#55 0x00007fcb55431fb0 in gdk_window_process_all_updates () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#56 0x00007fcb55431ff9 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#57 0x00007fcb55410c1c in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#58 0x00007fcb54539285 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007fcb54539650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007fcb54539962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fcb557d7a37 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#62 0x00007fcb5810bb05 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#63 0x00007fcb57abea93 in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#64 0x00007fcb58177cf3 in wxDialog::ShowModal() () at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#65 0x000055a429908277 in ShowConfigSelection() () at wx-config_sel.cc:187
#66 0x000055a4298f93a9 in Frame::Start() (this=0x55a42c0f2400) at wx-app.cc:104
#67 0x000055a4298f9058 in App::OnInit() (this=0x55a42c008090) at wx-app.cc:75
#68 0x000055a4298fc5bd in wxAppConsoleBase::CallOnInit() (this=0x55a42c008090) at /usr/include/wx-3.0/wx/app.h:93
#69 0x00007fcb57b10b3a in wxEntry(int&, wchar_t**) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#70 0x000055a429910aac in main(int, char**) (argc=1, argv=0x7ffe99afd7f8) at wx-main.cc:27
Any suggestions on how to proceeed from here?

Are there any particular additional packages (e.g. fonts) that it needs?

Dave

cmorley
Posts: 1235
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: Arculator v2.0 released!

Post by cmorley » Tue Jan 21, 2020 8:56 am

I fired it up at the weekend and it is a massive step, thanks Sarah.

I saw the ZIDEFS ROM is in the Windows distribution so I copied my 4GB DOM A3000 image to the hard disk and mounted it... the dialog only goes up to 504MB but I tried anyway and it works with my 4x 500MB ZIDEFS drives - so I assume that limit doesn't prevent accesses past the 504MB (CHS?) limit. A couple of *configures later and 4 drives working :D

User avatar
egel
Posts: 64
Joined: Mon Nov 25, 2019 1:10 pm
Location: Almere, Flevoland, The Netherlands
Contact:

Re: Arculator v2.0 released!

Post by egel » Thu Jan 23, 2020 1:03 pm

Is there anybody who got a working Arculator v2.0 on Linux? Which distribution and version do you use? wxwidgets version?
I get the impression a pthread_mutex_lock is not made.

Thread 1 "arculator" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:67
67 ../nptl/pthread_mutex_lock.c: Bestand of map bestaat niet.

benj
Posts: 7
Joined: Mon Jul 27, 2015 9:42 pm
Contact:

Re: Arculator v2.0 released!

Post by benj » Fri Jan 24, 2020 12:18 am

Works for me on the latest Raspbian on Pi 4 but fails in the same way as noted above on the Debian 9 based Pinebook Pro Distribution (Built from the same Arculator code). Haven’t tried it on any x86 systems yet. No luck yet figuring out any difference in resources between the systems.

VectorEyes
Posts: 303
Joined: Fri Apr 13, 2018 2:48 pm
Contact:

Re: Arculator v2.0 released!

Post by VectorEyes » Fri Jan 24, 2020 12:57 am

I am far, far, far from an expert, but it looks to me as if there might be some kind of threading issue at play. Some OSs are more tolerant than others of UI API calls being made on non-UI threads, and those 'closure_invoke' calls in the call stack would seem to suggest some kind of concurrency system that could be completing calls on different threads. There are various threads (ha ha) online discussing thread safety in gtk and wxWidgets. This could also be why it seems to work on some systems and not others.

pdjstone
Posts: 5
Joined: Sun Feb 23, 2020 10:02 am
Contact:

Re: Arculator v2.0 released!

Post by pdjstone » Sun Feb 23, 2020 11:38 am

Thanks Sarah for a native LInux version 2.0! It compiled and worked well for me on a Lubuntu 9.04 install, but I had the same issue as hoglet on Ubuntu 19.10 with the segfault in pthread_mutex_lock. I discovered a solution on some some forums posts from other WxGtk users - adding a call to XInitThreads seems to fix the crash for me.

Quick instructions for anyone with this issue:
1. Run ./configure as per the LInux readme
2. In src/wx-main.cc add #include <X11/Xlib.h> in the extern C block
3. In the same file, add XInitThreads(); as the first line in main()
4. Modify src/Makefile (make sure you ran ./configure already) to add -lX11 to the end of the line that starts LIBS = ...

I don't know enough about automake to know how to add the X11 dependency properly (i.e. without changing the generated Makefile). A proper fix would also need some #ifdefs so it doesn't break when building on Windows.

Hopefully someone else can try this and confirm it fixes the issue.

User avatar
egel
Posts: 64
Joined: Mon Nov 25, 2019 1:10 pm
Location: Almere, Flevoland, The Netherlands
Contact:

Re: Arculator v2.0 released!

Post by egel » Sun Feb 23, 2020 3:23 pm

The changes from pdjstone seems to fix the issue.

The mouse buttons do not seem to work well: the left and right do Select and middle does not seem to work. If I see correctly.

Post Reply

Return to “32-bit acorn emulators”