XRoar 0.28 available

A place to discuss everything Dragon related that doesn't fall into the other categories.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: XRoar 0.28 available

Post by zephyr »

There is also a problem with A/D double speed mode (POKE65495,0) running far too slow under XROAR. BASIC test code and results are listed below.

Test code:

Code: Select all

10 CLS:TIMER=0
20 FOR I = 1 TO 1000
30 PRINT"QWERTY"
40 NEXT:PRINT TIMER/50
Test results running at A/D double speed (POKE65495,0):

Dragon 64 emulation under XROAR 0.28.1
Best Time = 8.26
Worst Time = 8.3

Real Dragon 64
Best Time = 7.5
Worst Time = 7.52


Test results running at normal speed:

Dragon 64 emulation under XROAR 0.28.1
Best Time = 11.32
Worst Time = 11.36

Real Dragon 64
Best Time = 11.32
Worst Time = 11.36

NOTE: Only original Dragon 64 ROM images (NO DOS) were used for this test.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: XRoar 0.28 available

Post by zephyr »

There is another problem with the latest snapshot. The following command line settings cause the emulated CoCo 2 to freeze.

Code: Select all

xroar -vo sdl -machine cocous -bas bas12.rom -extbas extbas11.rom -nodos -ram 32 -kbd-translate
Seems to be a problem with the emulated RAM.
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: XRoar 0.28 available

Post by Rink »

Would there be any chance of adding a memory viewer / editor into XRoar?
User avatar
rolfmichelsen
Posts: 299
Joined: Wed Apr 08, 2009 8:43 pm
Location: Oslo, Norway
Contact:

Re: XRoar 0.28 available

Post by rolfmichelsen »

Xroar already supports features for creating a memory dump and loading dumps back into the emulator. Maybe you can use that?

-- Rolf
sixxie
Posts: 1357
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 0.28 available

Post by sixxie »

Dynamic access to such things would be nice though.

Probably best implemented as a gdb stub or similar.
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: XRoar 0.28 available

Post by Rink »

rolfmichelsen wrote:Xroar already supports features for creating a memory dump and loading dumps back into the emulator. Maybe you can use that?
Oh I have been - and it works ok. I just thought I'd post it and see how Sixxie felt. :) It might be something only I'd get much use out of but as my granny used to say, "if you don't ask, you don't get"*

The only thing about the snapshots is that they have a header... Which screws up your memory addresses if you forget. I've switched my Dragon programming to Windows (from the Dragon) and using Xroar to run everything so something like a memory view from a paused emulation state would be super handy for me.

*Although this was the same woman who also said "he who wants, never gets" if you did ask for anything.
User avatar
rolfmichelsen
Posts: 299
Joined: Wed Apr 08, 2009 8:43 pm
Location: Oslo, Norway
Contact:

Re: XRoar 0.28 available

Post by rolfmichelsen »

Rink wrote:I've switched my Dragon programming to Windows (from the Dragon) and using Xroar to run everything so something like a memory view from a paused emulation state would be super handy for me.
Agreed. I've done the same thing, switched all Dragon work not actually requiring a physical Dragon to Windows using xroar and related tools.

-- Rolf
sixxie
Posts: 1357
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 0.28 available

Post by sixxie »

I've had a go at fixing most of the issues in this thread, and pushed new snapshot builds out here:

http://www.6809.org.uk/tmp/xroar/

Hopefully no regressions... The Address-Dependent CPU rate mode doesn't seem to quite tally, but it's much closer.

This also includes new VDG code that copes with sub-scanline mode switching a lot more accurately. Specifically, it accounts for the fact that changes to CSS and !INT/EXT are delayed in relation to all the other mode select lines - this can be explored with the 'stripe' test from http://www.6809.org.uk/tmp/da/tests/. Controls:

Code: Select all

; Video mode changing test.

; Timed to render a diagonal stripe across the screen using only
; mode changing.

; Controls:
;     Up, Down, Left, Right - move stripe around by changing timings.
;     1, Q - Set/reset !A/G, GM2, GM1
;     2, W - Set/reset GM0 (and !INT/EXT)
;     3, E - Set/reset GM2, GM1 (switch between 32- and 16-byte graphic modes)
;     4, R - Set/reset CSS
;     Enter - Cycle through different screen patterns
;     Break - Return to BASIC

; Hold Shift to apply mode changes to background instead of stripe.
Another amusing extra is support for keyboard "ghosting" - test by holding down 'W' and 'S' and pressing Shift a few times. And note how Shift+Clear+/ doesn't generate a backslash, like on real hardware.
User avatar
robcfg
Posts: 1542
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: XRoar 0.28 available

Post by robcfg »

Wow!

I have to say I'm quite impressed that you can actually do some tricks with the 6847.

I've tested the program in the latest snapshot and on the Dragon and it works just dandy!

By the way, did you get my email regarding my proposal for a XRoar icon?
sixxie
Posts: 1357
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: XRoar 0.28 available

Post by sixxie »

Yes, sorry it got lost in the pile...

XRoar does have an icon! For macosx anyway ;) It's a stylised pixel-art version of the Dragon logo...

I'm not sure how you get that into a windows exe...

Edit: ok, didn't take me much googling to find out about "windres".

Moar edit: I just built new snapshots, and they look like they have icons in them, but I actually have no way of testing - 'winfile' under wine doesn't show any icon, so I don't know if it's worked or not...
Post Reply