27 June 2024, 21:25 | #1 |
German Translator
Join Date: Aug 2018
Location: Drübeck / Germany
Age: 49
Posts: 200
|
WinUAE Debugger - points for clarification or improvement
This is a summary of various points that I noticed during testing. Maybe some of them can be implemented in a future version?
1. Wc <addr> <endaddr> <destaddr>, copy memory. >Wc 30000 30030 30050 Copied from 00030000 - 0003002f to 00030050 - 0003007f Why not Copied from 00030000 - 00030030 to 00030050 - 00030080 ? include the last byte 2. helptext: e[x] wrong, better: e[a/x] 3. helptext: s "<string>"/<values> [<addr>] [<length>] is wrong, better s "<string>"/<values> [<addr>] [<end>] ; not length -> end >s 0839000600bfe001 20000 30000 Searching from 00020000 to 00030000.. 4. I <custom event> Is this command obsolet and free, othwise an example is needed. What is meaned with custom event? 5. S <file> <addr> <n> Save a block of Amiga memory. >S m31212 $31212 !400 ; Wrote 00031212 - 000313A2 (400 bytes) to 'm31212'. but better is ; Wrote 00031212 - 000313A1 (400 bytes) >S m1 $1 1 ; Wrote 00000001 - 00000002 (1 bytes) to 'm1'. --> better is: Wrote 00000001 - 00000001 (1 bytes) to 'm1'. >S m1 $1 0 ; Wrote 00000001 - 00000001 (0 bytes) to 'm1'. --> some error message like 'wrong argument' 6. S <file> <addr> <n> Save a block of Amiga memory. S C:\Amiga test $10 2 It is not possible to set a custom path for save. All files goes (in my case) to C:\Users\Public\Documents\Amiga Files\WinUAE 7. helptext wrong w <num> <address> <length> <R/W/I> <F/C/L/N> [V<value>[.x]] (read/write/opcode) (freeze/mustchange/logonly/nobreak). better is: w <num> [<address> [<length> [<R/W/I> <F/C/L/N> [V<value>[.x]] [<channel>]]]]] 8. Unknown command and function unknown >seg No executable loaded 9. Unknown command and function unknown >wl Memwatch breakpoints enabled Memwatch DMA validator enabled > 10. vm [<channel> <sub index> [<hex rgb>]] show DMA channel status / DMA channel enable/disable toggle/ change color of channel If sub index is zero: all sub index colors are changed. ok, if index 0 changed all, then it would be good to change the order from 7,0 -> 7,7 to 7,1 -> 7,8 >vm 7 1 00123456 7,0: 00123456 * Sprite ; the answer is 7,0 and not 7,1; better is: 7,0: --> 7,1: 11. >fl 0: PC == 0003173e [00000000 00000000] what is the meaning of [00000000 00000000] ? [00000000 00000000] Could be erased? I linked the other points here: >fo ; https://eab.abime.net/showpost.php?p...18&postcount=6 >il ; https://eab.abime.net/showpost.php?p...4&postcount=3; >smc ; https://eab.abime.net/showpost.php?p...7&postcount=21 >f ; https://eab.abime.net/showpost.php?p...4&postcount=22 >wd ; https://eab.abime.net/showpost.php?p...47&postcount=9 >vh ; https://eab.abime.net/showpost.php?p...6&postcount=28 >D ; https://eab.abime.net/showpost.php?p...65&postcount=8 Last edited by Rock'n Roll; 28 June 2024 at 14:56. |
28 June 2024, 15:07 | #2 |
German Translator
Join Date: Aug 2018
Location: Drübeck / Germany
Age: 49
Posts: 200
|
a slightly improved help with all the commands I know:
Code:
>h HELP for UAE Debugger ----------------------- g [<addr>] Start execution at the current address or <address>. c Dump state of the CIA, disk drives and custom registers. r Dump state of the CPU. r <reg> <value> Modify CPU registers (Dx,Ax,USP,ISP,VBR,...). rc[d] Show CPU instruction or data cache contents. m <addr> [<lines>] Memory dump starting at <address>. a <addr> Assembler. d <addr> [<lines>] Disassembly starting at <address>. d[o/ppc] change disassembly to PPC or 'Original' 68k Assembly t [instructions] Step one or more instructions. tx Break when any exception. z Step through one instruction - useful for JSR, DBRA etc. f Step forward until PC in RAM ("boot block finder"). f <addr> [Nx] Add/remove breakpoint. fa <addr> [<start>] [<endaddr>] Find effective address <address>. fi Step forward until PC points to RTS, RTD or RTE. fi <opcode> [<w2>] [<w3>] Step forward until PC points to <opcode>. fp "<name>"/<addr> Step forward until process <name> or <addr> is active. fl List breakpoints. fd Remove all breakpoints. fs <lines to wait> | <vpos> <hpos> Wait n scanlines/position. fc <CCKs to wait> Wait n color clocks. fo <num> <reg> <oper> <val> [<mask> <val2>] [Nx] [Hx] Conditional register breakpoint. reg=Dx,Ax,PC,USP,ISP,VBR,SR. oper:!=,==,<,>,>=,<=,-,!- (-=val to val2 range). f <addr1> <addr2> Step forward until <addr1> <= PC <= <addr2>. e[a/x] Dump contents of all custom registers, ea = AGA colors. i Dump contents of interrupt and trap vectors. il [<mask>] Exception breakpoint. o <0-2|addr> [<lines>]View memory as Copper instructions. od Enable/disable Copper vpos/hpos tracing. ot Copper single step trace. ob <addr> Copper breakpoint. H[H] <cnt> Show PC history (HH=full CPU info) <cnt> instructions. C <value> Search for values like energy or lifes in games. Cl List currently found trainer addresses. D[idxzs [<max diff>]] Deep trainer. i=new value must be larger, d=smaller, x = must be same, z = must be different, s = restart. W <addr> <values[.x] separated by space> Write into Amiga memory. W <addr> 'string' Write into Amiga memory. Wf <addr> <endaddr> <bytes or string like above>, fill memory. Wc <addr> <endaddr> <destaddr>, copy memory. w <num> [<addr> [<length> [<R/W/I> <F/C/L/N> [V<value>[.x]] [<channel>]]]]] (read/write/opcode) (freeze/mustchange/logonly/nobreak). Add/remove memory watchpoints. wd [<0-1>] Enable illegal access logger. 1 = enable break. wl Memwatch DMA validator L <file> <addr> [<n>] Load a block of Amiga memory. S <file> <addr> <n> Save a block of Amiga memory. s "<string>"/<values> [<addr>] [<endaddr>] Search for string/bytes. T or Tt Show exec tasks and their PCs. Td,Tl,Tr,Tp,Ts,TS,Ti,TO,TM,Tf Show devs, libs, resources, ports, semaphores, residents, interrupts, doslist, memorylist, fsres. b Step to previous state capture position. M<a/b/s> <val> Enable or disable audio channels, bitplanes or sprites. sp <addr> [<addr2][<size>] Dump sprite information. di <mode> [<track>] Break on disk access. R=DMA read,W=write,RW=both,P=PIO. Also enables level 1 disk logging. did <log level> Enable disk logging. dj [<level bitmask>] Enable joystick/mouse input debugging. smc [<0-1>] Enable self-modifying code detector. 1 = enable break. dm Dump current address space map. v [<-1/-2/-3/-4/o> | <vpos> [<hpos>] [<lines>] Show DMA data (accurate only in cycle-exact mode). v [-1 to -4] = enable visual DMA debugger. vh [ -1/?/c/d/h ] | [<channel> [<lines>]] "Heat map" vm [<channel> <sub index> [<hex rgb>]] show DMA channel status / DMA channel enable/ disable toggle/ change color of channel I <custom event> Send custom event string reset[<h/k>] Reset ?<value> Hex ($ and 0x)/Bin (%)/Dec (!) converter and calculator. x Close debugger. xx Switch between console and GUI debugger. mg <address> Memory dump starting at <address> in GUI. dg <address> Disassembly starting at <address> in GUI. q Quit the emulator. You don't want to use this command. > |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
When closing the WinUAE debugger, WinUAE closes. | Photon | support.WinUAE | 2 | 21 September 2021 20:07 |
Debugger updates (was: WinUAE Debugger HH PC history) | selco | support.WinUAE | 8 | 14 March 2018 22:27 |
Disk-swapping improvement (WinUAE) | Maren | request.UAE Wishlist | 49 | 13 March 2010 22:34 |
Need help using the WinUAE Debugger | Steve | support.WinUAE | 9 | 10 January 2009 20:00 |
WinUAE 1.2 problem/improvement/request/proposal :) | jotd | support.WinUAE | 7 | 11 March 2006 18:54 |
|
|