Page 2 of 5

Re: XRoar 0.28 available

Posted: Mon Jul 16, 2012 10:24 am
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.

Re: XRoar 0.28 available

Posted: Fri Jul 20, 2012 12:25 am
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.

Re: XRoar 0.28 available

Posted: Fri Aug 24, 2012 12:23 pm
by Rink
Would there be any chance of adding a memory viewer / editor into XRoar?

Re: XRoar 0.28 available

Posted: Fri Aug 24, 2012 1:45 pm
by rolfmichelsen
Xroar already supports features for creating a memory dump and loading dumps back into the emulator. Maybe you can use that?

-- Rolf

Re: XRoar 0.28 available

Posted: Fri Aug 24, 2012 2:01 pm
by sixxie
Dynamic access to such things would be nice though.

Probably best implemented as a gdb stub or similar.

Re: XRoar 0.28 available

Posted: Fri Aug 24, 2012 3:53 pm
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.

Re: XRoar 0.28 available

Posted: Fri Aug 24, 2012 8:46 pm
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

Re: XRoar 0.28 available

Posted: Sat Sep 22, 2012 11:15 am
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.

Re: XRoar 0.28 available

Posted: Sun Sep 23, 2012 12:58 am
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?

Re: XRoar 0.28 available

Posted: Sun Sep 23, 2012 8:01 am
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...