XRoar 0.31 released

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

Re: XRoar 0.31 released

Post by pser1 »

hello,
finally it turned out that localhost was not defined in
c:\Windows\System32\drivers\etc\hosts
I just uncommented the line
# 127.0.0.1 localhost
and so, there is no need to state an IP, so the command is reduced to
xroar -gdb -gdb-port 6442 -machine dragon64 -machine-cpu 6309 -extbas d64_1.rom -altbas d64_2.rom -dostype ddos40.rom -force-crc-match -disk-write-back
and later on the m6809-gdb console using localhost:6442 works fine.

Finally I have tested without any parameter to -gdb so that it uses localhost:65520 and it works ok too, so the command is shortened to:
xroar -gdb -machine dragon64 -machine-cpu 6309 -extbas d64_1.rom -altbas d64_2.rom -dostype ddos40.rom -force-crc-match -disk-write-back

have a nice week-end
pere
Alastair
Posts: 675
Joined: Fri Jul 18, 2008 11:33 pm

Re: XRoar 0.31 released

Post by Alastair »

0.31-w32 keeps freezing on my computer (running XP). I've had some success by increasing the number of audio buffer frames to 2048, but it's not foolproof and XRoar still freezes on occasion. Unsurprisingly, with "-ao null" XRoar works all the time.
sixxie
Posts: 1357
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 0.31 released

Post by sixxie »

Alastair wrote:0.31-w32 keeps freezing on my computer (running XP)
Hmm ok, that shouldn't be able to happen, but I seem to recall reading that the windows sound system can force clients to reconnect at weird times, so maybe that's affecting the SDL audio thread. I think a simple timeout will fix this, will have a poke during lunchtime...

Edit: ok, added a timeout (1.5 * the buffer length). If for some reason the audio callback fails to fire, there should just be a small glitch and the emulator will carry on. Let me know if that helps. Snapshot here.
Alastair
Posts: 675
Joined: Fri Jul 18, 2008 11:33 pm

Re: XRoar 0.31 released

Post by Alastair »

sixxie wrote:Edit: ok, added a timeout (1.5 * the buffer length). If for some reason the audio callback fails to fire, there should just be a small glitch and the emulator will carry on. Let me know if that helps.
Thanks, snap-2013-49459-w32 seems to have fixed the problem.
Alastair
Posts: 675
Joined: Fri Jul 18, 2008 11:33 pm

Re: XRoar 0.31 released

Post by Alastair »

Just a note that nowhere in the manual does it mention that the extra ROM for the Dragon 200-E should have the name "d200e_26.rom".
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: XRoar 0.31 released

Post by zephyr »

I found a bug in the latest XROAR v0.31.1 release. Using the command line option -dos with customised DOS versions (such as my favourite ddos11c.rom) doesn't work unless you have one of the standard DOS ROM dumps (ddos10.rom, ddos40.rom, etc) in the same directory.
pser1
Posts: 1677
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XRoar 0.31 released

Post by pser1 »

hello,
I am using the XRoar v0.31.1 both w32 and w64 with DragonDOS11C without problems, I do call XRoar from within a bat file (I have some of them for different configuratons).
In the directory where XRoar.exe exists, there are only the bat files and the copied ROM files, always the same name but different contents depending on the chosen emulation (bat file)
This is one of the bat files

Code: Select all

copy ..\XRoar\DOS-ROMs\ddos11C.rom ddos40.rom
copy ..\XRoar\ROMs\d64rom1V31.rom d64_1.rom
copy ..\XRoar\ROMs\d64rom2V31.rom d64_2.rom
xroar -machine dragon64 -machine-cpu 6309 -extbas d64_1.rom -altbas d64_2.rom  -dostype ddos40.rom -force-crc-match -disk-write-back -joy-left 0,0:1:0 -kbd-translate -lp-file ..\XRoar\sortida.txt 
del *.dgn
del *.rom
pere
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: XRoar 0.31 released

Post by zephyr »

I use batch files as well, but it does not work for me. I have been using exactly the same batch files for about two years without any problems (until now). The command line below is an example of my own batch files.

Code: Select all

xroar -vo sdl -machine dragon64 -extbas d64rom1.rom -altbas d64rom2.rom -dos ddos11c.rom -kbd-translate
I'm using the Win32 version.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: XRoar 0.31 released

Post by zephyr »

I managed to get it working by changing to the following command line configuration.

Code: Select all

xroar -vo sdl -machine dragon64 -extbas d64rom1.rom -altbas d64rom2.rom -machine-cart dragondos -cart-rom ddos11c.rom -kbd-translate
Although this works, I will wait for the bug fix. Otherwise, I will have a lot of different batch files that would need to be changed to the above DOS configuration.
pser1
Posts: 1677
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XRoar 0.31 released

Post by pser1 »

I have created a folder with just the files you are using and yes, it starts up Dragon but NOT the disk system.
Surprisingly, if I just rename the file DDOS11C.rom to DDOS40.rom and change the bat file accordingly, it works alright!
No need to copy the real DDOS40.rom. I have not suffered that problem because my bats do rename the files before executing XRoar.
So, I think that Ciaran will have to review that problem
pere
Post Reply