17 April 2017, 14:58 | #21 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
[OT]
@Toni: why DMA cycle 0 is always used (extra cycle used by copper)? [/OT] |
17 April 2017, 15:14 | #22 | |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
Quote:
anyway "luckily" my observations still stand |
|
17 April 2017, 15:29 | #23 | ||||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
Quote:
Quote:
Quote:
Perhaps you confuse it with CPU interrupt level bar? It is not part of DMA channels. (yellow = level 3) |
||||
17 April 2017, 16:02 | #24 | |||
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
Quote:
See attached screenshots (apart from the black lines there's also a distinct pattern noticeable). Mode is 5 and "vm" reports the following: Quote:
Quote:
Totally understandable, just mentioning it for completeness. Also I just noticed a small annoyances with the debugger (Perhaps I should open another request thread?): When pressing shift+f12 with the debugger window already open, it'd be nice if it (the debugger window) was activated. |
|||
17 April 2017, 16:27 | #25 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
Quote:
|
||
17 April 2017, 16:46 | #26 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
See attached image (a zoom in visual DMA debugger). An empty copper list with CEND |
|
17 April 2017, 16:58 | #27 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
Copper does that extra cycle at vblank startup, it is useless looking read from previous line's last copper pointer. I guess this cycle does cop1 pointer to internal copper pointer copy. (Note that it is not same cycle sequence that COPJMPx access does) Following cycle is first "normal" read. |
|
17 April 2017, 17:00 | #28 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
I forgot to specify that I was talking about the GUI debugger - it works fine for the console debugger. But now that I think about it, the real solution is for me to always use the console version - it's only because the gui one is the default, that I've come to use it.
|
17 April 2017, 17:03 | #29 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
|
|
17 April 2017, 17:09 | #30 | ||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
Quote:
|
||
17 April 2017, 17:14 | #31 | |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
Quote:
Anyway, I have no more issues to report. Great work and response time |
|
17 April 2017, 17:33 | #32 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
17 April 2017, 19:59 | #33 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
All changes work for me in the just posted 3410b6.7z
Though every other vertical line is still black in mode 5 when all channels are masked. No big deal as the visual debugger can now be turned off but personally I'd prefer those lines to just be transparent if it isn't much extra effort. Again no big deal and thanks for the work. (I've attached a screenshot and my configuration just in case it's relevant. EDIT: it's the same using the quick start configurations) Last edited by paraj; 17 April 2017 at 20:07. |
23 April 2017, 00:27 | #34 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
Low priority crash bug report:
In latest beta (3410b7, commit 4009d994ca75b80baec0eff703e9396b54926dd1) and probably earlier it's possible to crash winuae by enabling the visual debugger before dma_record (in debug.cpp) is (re-)initialized. To reproduce enter the debugger "very quickly" after startup. Easy to do when debugging from MSVC, otherwise chose a (new?) quick start configuration, press "start" and then quickly enter the debugger. In the debugger enter "v -3"<enter>"g"<enter> -> crash. I can provide dmp-file / other info if needed. Example callstack on crash (dma_record is {nullptr,nullptr}): Code:
winuae.exe!debug_draw_cycles(unsigned char * buf=0x0e3f8ca0, int bpp=0x00000004, int line, int width=0x00000118, int height, unsigned int * xredcolors=0x04c34578, unsigned int * xgreencolors=0x04c34978, unsigned int * xbluescolors=0x04c34d78) Line 1389 C++ winuae.exe!debug_draw(unsigned char * buf=0x0e3f8ca0, int bpp=0x00000004, int line=0x00000008, int width=0x000002f0, int height=0x0000023e, unsigned int * xredcolors=0x04c34578, unsigned int * xgreencolors=0x04c34978, unsigned int * xbluescolors=0x04c34d78) Line 1466 C++ [Inline Frame] winuae.exe!draw_debug_status_line(int) Line 3497 C++ winuae.exe!finish_drawing_frame() Line 3788 C++ winuae.exe!vsync_handle_redraw(int long_field, int lof_changed, unsigned short bplcon0p=0x0000, unsigned short bplcon3p=0x0c00) Line 3961 C++ winuae.exe!vsync_handler_pre() Line 7801 C++ winuae.exe!hsync_handler() Line 8674 C++ winuae.exe!do_cycles_slow(unsigned long cycles_to_add=0x00000000) Line 124 C++ winuae.exe!m68k_run_1() Line 4192 C++ winuae.exe!m68k_go(int may_quit) Line 5615 C++ winuae.exe!do_start_program() Line 990 C++ winuae.exe!real_main(int argc=0x00000000, wchar_t * * argv=0x06cc69c8) Line 1162 C++ winuae.exe!WinMain2(HINSTANCE__ * hInstance=0x000c0000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x06ca29e0, int nCmdShow=0x0000000a) Line 6283 C++ winuae.exe!wWinMain(HINSTANCE__ * hInstance=0x000c0000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x06ca29e0, int nCmdShow=0x0000000a) Line 7104 C++ |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Visual FX for imagefx | amiga | request.Apps | 3 | 14 October 2020 21:02 |
visual DMA debugger crash and questions | selco | support.WinUAE | 4 | 28 April 2015 09:53 |
DMA debugger and 14Mhz 68K | ovale | support.WinUAE | 3 | 10 June 2014 15:10 |
Visual 6502 in JavaScript | Charlie | Retrogaming General Discussion | 1 | 03 October 2010 13:35 |
amiga visual editor | thinlega | request.Apps | 1 | 22 January 2003 15:48 |
|
|