XRoar 1.12 released

A place to discuss everything Dragon related that doesn't fall into the other categories.
Post Reply
sixxie
Posts: 1484
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

XRoar 1.12 released

Post by sixxie »

https://www.6809.org.uk/xroar/

Big internal changes to debugging that hopefully stay mostly invisible on the outside, except that XRoar can now report register information to GDB. Building a GDB with the current set of patches, it can report not only the running CPU architecture (6809, 6309, and 6803 is also now supported). The -gdb-pseudo-regs option exposes SAM/GIME and PIA registers too, which may prove useful.

I haven't properly looked into it yet, but I imagine that this could be quite useful when Python support is built into GDB.

The other visible change is a new option, -vo-monochrome. It doesn't just turn the colour down, it adjusts the luma filter so you see a bit more of the chroma information leak into the luma (NTSC only - it was already pretty visible in PAL). This code was contributed by Erik Gavriluk.

SDL3 is now supported - the Windows UI is updated to use it, but the MacOSX+ one hasn't been yet, so if you happen to have SDL3 dev files installed on MacOS as well as the required SDL2 versions, be sure to run configure with --without-sdl3.
sixxie
Posts: 1484
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 1.12 released

Post by sixxie »

Of course I do all that and forget to add the one architecture to the list of pseudo-registers that the most well-known user of GDB could need... I assume I'll get around to adding iMMUnity to the list soon and either make a point release or another full one ;)
sixxie
Posts: 1484
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 1.12 released

Post by sixxie »

1.12.1 is a source tarball packaging update, thanks to Adam Sampson for the heads-up.
pser1
Posts: 1896
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XRoar 1.12 released

Post by pser1 »

Hi, Ciaran
thanks for that new version!
Here is a screenshot of the nightmare I am debugging.
As the registers are shown one per row, they eat too much space, so I have limited them to just the 6809 cpu
cheers!
XRoarNews.jpg
XRoarNews.jpg (82.63 KiB) Viewed 105 times
sixxie
Posts: 1484
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 1.12 released

Post by sixxie »

pser1 wrote: Tue Jul 28, 2026 3:33 pm As the registers are shown one per row, they eat too much space, so I have limited them to just the 6809 cpu
Yeah they do take a lot of space - I'm not sure why GDB feels the need to write out all the single-bit fields of a register twice like that.

But I've included all the structure I can because I assume it'll be useful for something :)

..ciaran
pser1
Posts: 1896
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XRoar 1.12 released

Post by pser1 »

@Sixxie,
when this last version starts GDB, it shows the message
-- Type <RET> for more, q to quit, c to continue without paging --
This is an old known message that was solved at some point in the past ...
Pressing Enter works, but this was not needed with the old version
Any pointer will be highly appreciated!
cheers
pere
sixxie
Posts: 1484
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 1.12 released

Post by sixxie »

pser1 wrote: Tue Jul 28, 2026 11:17 pm @Sixxie,
when this last version starts GDB, it shows the message
-- Type <RET> for more, q to quit, c to continue without paging --
This is an old known message that was solved at some point in the past ...
Pressing Enter works, but this was not needed with the old version
You can put "set pagination off" in your .gdbinit file (or run with -ex 'set pagination off')
pser1
Posts: 1896
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XRoar 1.12 released

Post by pser1 »

sixxie wrote: Wed Jul 29, 2026 6:46 am You can put "set pagination off" in your .gdbinit file (or run with -ex 'set pagination off')
Hi Ciaran,
thanks a lot. That solves the problem!
cheers!
pere
pser1
Posts: 1896
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: XRoar 1.12 released

Post by pser1 »

@Ciaran,
I have seen that the window size of the XRoar emulation is now smaller than it was in previous versions.
I can modify it using the menu option "View/TV Options" but even saving the configuration it is not
applied next startup :-(
Is there any way to customize that window?
thanks in advance
pere
current Size.jpg
current Size.jpg (112.82 KiB) Viewed 76 times
Previous v1.11.jpg
Previous v1.11.jpg (112.7 KiB) Viewed 76 times
sixxie
Posts: 1484
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 1.12 released

Post by sixxie »

Interesting, I'll have to look into that.

My immediate thoughts are that the switch to SDL3 perhaps enables some high-DPI code that I might have to switch off...
Post Reply