XROAR and Windows 10

A place to discuss everything Dragon related that doesn't fall into the other categories.
pser1
Posts: 1655
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XROAR and Windows 10

Post by pser1 »

Hello Ciaran,
I have been using the last snapshot and worked great ...
But it failed when I wanted to debug a program using the GDB
The message says something like:
; --------------------------------------------------------------------------------------------------------
Files that give a description of the problem:
C:\Users\serrat\AppData\Local\Temp\WERD5F8.tmp.WERInternalMetadata.xml
C:\Users\serrat\AppData\Local\Temp\WERECE3.tmp.appcompat.txt
C:\Users\serrat\AppData\Local\Temp\WERED8F.tmp.hdmp
; --------------------------------------------------------------------------------------------------------
I am attaching them 'zipped' here, maybe this could help.
You can count on me to do any needed test

cheers
pere

Ps Of course, version "v0.33.1-2015-33312 w64" works flawlessly
Attachments
Crash-Files.zip
(2 MiB) Downloaded 225 times
sixxie
Posts: 1346
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XROAR and Windows 10

Post by sixxie »

Now that I've fixed my Wine fonts issue (none appearing, even with fonts-wine package installed - fix was to use winetricks), I can look into this - first quick test showed gdb working though - both w32 and w64. Is there anything you do other than starting with -gdb and then connecting to it to trigger this?
pser1
Posts: 1655
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XROAR and Windows 10

Post by pser1 »

Hello Ciaran,
this is the bat file I use to start both GDB and XRoar:

Code: Select all

cd..
copy ..\XRoar\DOS-ROMs\dplus50.rom ddos40.rom
copy ..\XRoar\ROMs\d64rom1V31.rom d64_1.rom
copy ..\XRoar\ROMs\d64rom2V31.rom d64_2.rom
start xroar -gdb -machine dragon64 -machine-cpu 6309 -extbas d64_1.rom -altbas d64_2.rom -machine-cart dragondos -cart-rom ddos40.rom -force-crc-match -disk-write-back -joy-left 0,0:1:0 -kbd-translate -lp-file ..\XRoar\sortida.txt 
pause "press any key when XRoar is running"
m6809-gdb -ex "layout asm" -ex "layout regs" --eval-command="target remote localhost:65520"
del *.rom
This bat works flawlessly with the old XRoar "v0.33.1-2015-33312 w64"

cheers
pere
pser1
Posts: 1655
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XROAR and Windows 10

Post by pser1 »

Hello Sixxie,
I am uploading here a zip file that contains the environment where I test this last version.
Just execute the .BAT file
I have put inside a folder two screenshots, one before executing a program (1 byte) in XRoar
and the other with the crash
In the Windows event viewer I have found just this small file with info about the problem.
If your exe does save info into another folder, just tell me and I will upload it here too

cheers
pere
Attachments
XRoar-Test.zip
(2.9 MiB) Downloaded 223 times
sixxie
Posts: 1346
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XROAR and Windows 10

Post by sixxie »

Unfortunately all of that works fine under Wine - not crashing for me!

Do you have the .hdmp (mdmp?) file from running this version? winedbg seemed to be able to do something with those, and it might give me a clue where the crash is happening.
pser1
Posts: 1655
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XROAR and Windows 10

Post by pser1 »

Hello,
I have found these two files inside a folder.
I have zipped the whole folder and attached it here
Hopefully this will help find the problem

cheers
pere
Attachments
AppCrash_xroar.exe.zip
(2.23 MiB) Downloaded 221 times
pser1
Posts: 1655
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XROAR and Windows 10

Post by pser1 »

Hi Ciaran,
I have seen on "http://www.6809.org.uk/tmp/xroar/"
a new snapshot of XRoar (2016-15132) from yesterday ...
I have downloaded it and it works without GDB, but as soon as it is
intercepted by GDB crashes as did last snapshot ...
I assume I wil have to wait untill you tell me it works again with GDB.
If you need me to do any test, just let me know. Thanks.

cheers
pere
sixxie
Posts: 1346
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XROAR and Windows 10

Post by sixxie »

Yeah sorry, that was just a snapshot that killed off Control+C in the SDL interface for someone else (long since undocumented, doesn't work in the GTK+ interface).

I've not made any progress on the gdb weirdness - wine doesn't give me anything useful with your last set of mdmp/hdmp files I'm afraid.
User avatar
Gareth_O'Flaherty
Posts: 42
Joined: Tue Dec 04, 2012 1:24 pm
Location: Newbridge, County Kildare, Ireland

Re: XROAR and Windows 10

Post by Gareth_O'Flaherty »

The latest iteration of Windows and XRoar now working perfectly with one another! Happy days.
Got my first Dragon 32 in 1983 (where does the time go??).
sixxie
Posts: 1346
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XROAR and Windows 10

Post by sixxie »

Sounds like the move to SDL2 is a big win for Windows then.

Shame about its keyboard handling: extra platform-dependent code is required to handle special characters like Ñ on the Dragon 200-E in translated mode. SDL1 made that pretty straightforward.
Post Reply