View Single Post
Old 04 May 2022, 17:51   #1
Rock'n Roll
German Translator

Rock'n Roll's Avatar
 
Join Date: Aug 2018
Location: Drübeck / Germany
Age: 47
Posts: 64
questions to di and did debugger commands

Code:
>di r 0
Disk breakpoint mode R-- track 0
>g
DSKLEN: drive 0 motor  on cylinder  0 sel yes rw mfmpos 52533/101344
5295 5555 5255 5555|5495 5555 5555 5555 5495 5555 5555 5555 5295 5555 5255 5555 5295
side 0 dma 2 off 1 word 5555 pt 00002064 len 9CBE bytr 80AA adk 1100 sync 0000
  D0 00009CBE   D1 00000400   D2 00009CBE   D3 00000000
  D4 00000000   D5 00000000   D6 00000000   D7 00000000
  A0 00C04800   A1 00DFF000   A2 00002064   A3 00C04730
  A4 00FEA22A   A5 00000000   A6 00C03AA4   A7 00C04A8C
USP  00C04A8C ISP  00C80000
T=00 S=0 M=0 X=0 N=1 Z=0 V=0 C=0 IMASK=0 STP=0
Prefetch 4e75 (RTS) 43fa (LEA) Chip latch FFFF9CBE
00fea232 4e75                     rts  == $00fea1fc
Next PC: 00fea234
>
1. what triggers this break?
2. what are the numbers and letters stand for?
DSKLEN: drive 0 motor on cylinder 0 sel yes rw mfmpos 52533/101344
5295 5555 5255 5555|5495 5555 5555 5555 5495 5555 5555 5555 5295 5555 5255 5555 5295
side 0 dma 2 off 1 word 5555 pt 00002064 len 9CBE bytr 80AA adk 1100 sync 0000

3. also with
Code:
>did 4
Disk logging level 4
>g

...
DSKLEN: drive 0 motor  on cylinder 55 sel yes ro mfmpos 98972/101344
9555 2A51 4A52 5149|1524 492A AA91 5255 1512 A455 24AA 52A9 1149 5111 514A A949 124A
side 0 dma 2 off 15 word 5149 pt 00005DC6 len 98F0 bytr 80A2 adk 1500 sync 4489
SYNC: drive 0 motor  on cylinder 55 sel yes ro mfmpos 5648/101344
AAAA AAAA AAAA 4489|4489 5515 2AA5 5544 AAA9 2AAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA
side 0 dma 2 off 15 word 4489 pt 00005DC6 len 98F0 bytr 8089 adk 1500 sync 4489
4. are there different log level and for what?
did <log level> Enable disk logging.

5. for what is this breakpoint and logging feature helpful? maybe to understand mfm/gcr-encoding?
or disc data structure?
Rock'n Roll is offline  
 
Page generated in 0.04576 seconds with 11 queries