Re: [hatari-devel] Re: [Emutos-devel] floppy issue

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

I'm changing this to hatari-devel as it needs feedback from Nicolas
(and I know you're on that list :-)).

On tiistai 11 helmikuu 2014, Roger Burrows wrote:
> On 11 Feb 2014 at 11:22, Eero Tamminen wrote:
> > > > 12 = General error.  EmuTOS seems to generate this when
> > > > floppy format is unknown or DMA fails.  Is there anything
> > > > peculiar in how EmuTOS does DMA?  Are e.g. the DMA buffers
> > > > valid?
> > > 
> > > There are two reasons for EmuTOS to report EGENRL:
> > >  . an invalid number of sectors per track when formatting
> > >  . bit 1 is not set in the DMA status register following a format
> > >  track,
> > > 
> > > read sector, or write sector - obviously the case here.
> > 
> > Bit 0 or 1?
> 
> Bit 0, i.e. 0x0001.
> 
> > Do you do DMA operations with zero sector count?
> 
> Not as far as I can see.  Is this an area that has changed in the new
> emulation code?

I think Nicolas rewrote most of FDC emulation code for v1.7,
this part included.


> > With original Atari SD and DD floppy drives or some replacement PC
> > floppy driver?
> 
> With original drives.
> 
> > That tells only that EmuTOS breaks, because emulation got more
> > accurate, it doesn't tell whether issue is in EmuTOS or Hatari.
> 
> It doesn't tell me that the emulation got more accurate (although I don't
> disbelieve you).  Actually, from my POV, the emulation is now less
> accurate (it used to work, now it doesn't).
> 
> > One of the large features of 1.7 was Nicolas' rewrite of FDC handling
> > to make it much more accurate e.g. timing-wise.  The code's been
> > tested with large number of very finicky floppy loaders, so I'm
> > inclined to thing the issue to be in EmuTOS.
> 
> This is an important (negative) clue.  Loaders (as far as I know) only
> READ floppies.  The problem with EmuTOS and Hatari comes when we try to
> WRITE floppies; reading works fine.  So everything shows that the new
> reading code works well; but it doesn't say anything about the writing
> code.

Good point.  :-)


> > To do the test properly, you need to test exactly the same floppy
> > contents on real HW and in Hatari 1.7.x, and make sure that your
> > floppy device is real Atari one.
> 
> What exactly do you mean by "the same floppy contents"?  Will starting
> out from a blank floppy image and a blank floppy disk suffice?

If they have the same format, yes.

> If I copy a file from hard disk to a floppy disk on real hardware, it
> works. If I copy a file from an emulated hard disk to an emulated floppy
> disk, it doesn't.  I have no way of accessing a real floppy drive from
> Hatari.

I was speculating that the position where the data is could affect
the error, due to access timings.


> I'm not sure why you can't debug this yourself.  I'm under the impression
> that the debugger has all kinds of info about hardware-level stuff, and
> you certainly know the debugger inside-out.

Sure.  However, my total knowledge of how FDC works could be summarized
with single, short word ("None").


> Why can't you run EmuTOS,
> reproduce the problem with traces, and point out what EmuTOS is doing
> wrong.

I have no idea what could be wrong.  Trace [1] seems to have several
FDC DMA resets, maybe those also clear sector count?


Necessary tracing can be done easiest with with these 3 debugger scripts:

==> fcreate.ini <==
# break on Fcreate() and trace all GEMDOS calls
b GemdosOpcode = 0x3C :trace :file trace.ini
trace gemdos
==> trace.ini <==
# trace FDC in addition to GEMDOS during this OS call
trace gemdos,fdc
b pc = "NextPC" :once :trace :file regs.ini
==> regs.ini <==
# show GEMDOS call return value (D0) & continue tracing just GEMDOS
e d0
trace gemdos
==================

And invoking Hatari like this:
	hatari --parse fcreate.ini -d . disk.st

It will trace all GEMDOS calls, and additionally trace FDC
register/DMA usage during Fcreate() call (which is what fails),
and show return value for the GEMDOS call, while you use EmuTOS.  [1]

(By changing GemdosOpcode in first debugger script, you can do
same for any GEMDOS call.)


> Then I'll fix it.  At the moment, all I can tell you is that
> EmuTOS sees that the hardware says there was an error, so it reports an
> error.
> 
> Here's a debugging plan for you:
> 1. Reproduce the problem (trivially easy)
> 2. Determine whether the emulation code is returning an error or not

Nicolas?


> 3. If it isn't returning an error, then let me know (EmuTOS must be doing
> the wrong check)
> 4. If it is returning an error, and the error is because things aren't
> set up correctly, let me know what the problem is, and I'll fix it.


	- Eero

[1] Here's an example of what FDC operations EmuTOS tries to do
    with the DMA failing Fcreate():
----------------------------------------------
GEMDOS 0x3C Fcreate("A:\MODLIST.TXT", 0x0)
fdc change drive/side io_porta_old=0x7 io_porta_new=0x5 side 0->0 drive -1-
>0 VBL=30949 HBL=471
fdc write 8606 ctrl=0x84 VBL=30949 video_cyc=105964 12@473 pc=e07066
fdc write 8604 data=0x1 VBL=30949 video_cyc=106020 68@473 pc=e07076
fdc write 8604 sector=0x1 VBL=30949 video_cyc=106020 68@473 pc=e07076
fdc write dma address ff860d val=0xb4 address=0x66b4 VBL=30949 
video_cyc=106140 188@473 pc=e06fe4
fdc write dma address ff860b val=0x64 address=0x64b4 VBL=30949 
video_cyc=106180 4@474 pc=e06fec
fdc write dma address ff8609 val=0x00 address=0x64b4 VBL=30949 
video_cyc=106200 24@474 pc=e06ff4
fdc write 8606 ctrl=0x90 VBL=30949 video_cyc=106248 72@474 pc=e07344
fdc write 8606 ctrl=0x190 VBL=30949 video_cyc=106264 88@474 pc=e0734a
fdc reset dma VBL=30949 video_cyc=106264 88@474 pc=e0734a
fdc write 8606 ctrl=0x90 VBL=30949 video_cyc=106280 104@474 pc=e07350
fdc reset dma VBL=30949 video_cyc=106280 104@474 pc=e07350
fdc write 8604 data=0x1 VBL=30949 video_cyc=106296 120@474 pc=e07356
fdc write 8604 dma sector count=0x1 VBL=30949 video_cyc=106296 120@474 
pc=e07356
fdc write 8606 ctrl=0x80 VBL=30949 video_cyc=106368 192@474 pc=e07066
fdc write 8604 data=0x80 VBL=30949 video_cyc=106424 24@475 pc=e07076
fdc write 8604 command=0x80 VBL=30949 video_cyc=106424 24@475 pc=e07076
fdc clear irq VBL=30949 HBL=475
fdc type II read sector sector=0x1 multi=off spinup=on settle=off tr=0x0 
head_track=0x0 side=0 drive=0 dmasector=1 addr=0x64b4 VBL=30949 
video_cyc=106424 24@475 pc=e07076
fdc start motor with spinup VBL=30949 video_cyc=106448 48@475 pc=e07076
fdc init index drive=0 side=0 counter=0 ip_time=3472396913 VBL=30949 HBL=475
fdc update index drive=0 side=0 counter=1 ip_time=3474001162 VBL=30955 
HBL=479
fdc update index drive=0 side=0 counter=2 ip_time=3475605411 VBL=30970 
HBL=126
fdc update index drive=0 side=0 counter=3 ip_time=3477209660 VBL=30984 
HBL=273
fdc update index drive=0 side=0 counter=4 ip_time=3478813909 VBL=30998 
HBL=421
fdc update index drive=0 side=0 counter=5 ip_time=3480418158 VBL=31013 
HBL=68
fdc update index drive=0 side=0 counter=6 ip_time=3482022407 VBL=31027 
HBL=216
fdc read sector addr=0x64b4 drive=0 sect=1 track=0 side=0 VBL=31027 
video_cyc=51544 24@230 pc=e05882
fdc write 0x64c4 to dma address VBL=31027 video_cyc=51916 172@231 pc=e05886
fdc write 0x64d4 to dma address VBL=31027 video_cyc=52312 120@233 pc=e05890
fdc write 0x64e4 to dma address VBL=31027 video_cyc=52708 68@235 pc=e05886
fdc write 0x64f4 to dma address VBL=31027 video_cyc=53112 24@237 pc=e0587e
fdc write 0x6504 to dma address VBL=31027 video_cyc=53508 196@238 pc=e05888
fdc write 0x6514 to dma address VBL=31027 video_cyc=53920 160@240 pc=e05882
fdc write 0x6524 to dma address VBL=31027 video_cyc=54320 112@242 pc=e0588e
fdc write 0x6534 to dma address VBL=31027 video_cyc=54712 56@244 pc=e05882
fdc write 0x6544 to dma address VBL=31027 video_cyc=55112 8@246 pc=e0588e
fdc write 0x6554 to dma address VBL=31027 video_cyc=55516 188@247 pc=e05886
fdc write 0x6564 to dma address VBL=31027 video_cyc=55912 136@249 pc=e05890
fdc write 0x6574 to dma address VBL=31027 video_cyc=56308 84@251 pc=e05886
fdc write 0x6584 to dma address VBL=31027 video_cyc=56712 40@253 pc=e0587e
fdc write 0x6594 to dma address VBL=31027 video_cyc=57108 212@254 pc=e05888
fdc write 0x65a4 to dma address VBL=31027 video_cyc=57520 176@256 pc=e05882
fdc write 0x65b4 to dma address VBL=31027 video_cyc=57920 128@258 pc=e0588e
fdc write 0x65c4 to dma address VBL=31027 video_cyc=58312 72@260 pc=e05882
fdc write 0x65d4 to dma address VBL=31027 video_cyc=58712 24@262 pc=e0588e
fdc write 0x65e4 to dma address VBL=31027 video_cyc=59116 204@263 pc=e05886
fdc write 0x65f4 to dma address VBL=31027 video_cyc=59512 152@265 pc=e05890
fdc write 0x6604 to dma address VBL=31027 video_cyc=59908 100@267 pc=e05886
fdc write 0x6614 to dma address VBL=31027 video_cyc=60312 56@269 pc=e0587e
fdc write 0x6624 to dma address VBL=31027 video_cyc=60708 4@271 pc=e05888
fdc write 0x6634 to dma address VBL=31027 video_cyc=61120 192@272 pc=e05882
fdc write 0x6644 to dma address VBL=31027 video_cyc=61520 144@274 pc=e0588e
fdc write 0x6654 to dma address VBL=31027 video_cyc=61912 88@276 pc=e05882
fdc write 0x6664 to dma address VBL=31027 video_cyc=62312 40@278 pc=e0588e
fdc write 0x6674 to dma address VBL=31027 video_cyc=62716 220@279 pc=e05886
fdc write 0x6684 to dma address VBL=31027 video_cyc=63112 168@281 pc=e05890
fdc write 0x6694 to dma address VBL=31027 video_cyc=63508 116@283 pc=e05886
fdc write 0x66a4 to dma address VBL=31027 video_cyc=63912 72@285 pc=e0587e
fdc write 0x66b4 to dma address VBL=31027 video_cyc=64308 20@287 pc=e05888
fdc complete command VBL=31027 video_cyc=64400 112@287 pc=e0588e
fdc set irq VBL=31027 HBL=287
fdc write 8606 ctrl=0x90 VBL=31027 video_cyc=64492 204@287 pc=e07396
fdc write 8606 ctrl=0x80 VBL=31027 video_cyc=64556 44@288 pc=e07192
fdc clear irq VBL=31027 HBL=288
fdc read 8604 ctrl status=0x80 VBL=31027 video_cyc=64608 96@288 pc=e0719c
fdc change drive/side io_porta_old=0x5 io_porta_new=0x4 side 0->1 drive 0->0 
VBL=31027 HBL=311
fdc write 8606 ctrl=0x84 VBL=31027 video_cyc=70232 120@313 pc=e07066
fdc write 8604 data=0x3 VBL=31027 video_cyc=70288 176@313 pc=e07076
fdc write 8604 sector=0x3 VBL=31027 video_cyc=70288 176@313 pc=e07076
fdc write dma address ff860d val=0x9c address=0x669c VBL=31027 
video_cyc=70408 72@314 pc=e06fe4
fdc write dma address ff860b val=0x16 address=0x169c VBL=31027 
video_cyc=70448 112@314 pc=e06fec
fdc write dma address ff8609 val=0x01 address=0x1169c VBL=31027 
video_cyc=70468 132@314 pc=e06ff4
fdc write 8606 ctrl=0x90 VBL=31027 video_cyc=70516 180@314 pc=e07344
fdc write 8606 ctrl=0x190 VBL=31027 video_cyc=70532 196@314 pc=e0734a
fdc reset dma VBL=31027 video_cyc=70532 196@314 pc=e0734a
fdc write 8606 ctrl=0x90 VBL=31027 video_cyc=70548 212@314 pc=e07350
fdc reset dma VBL=31027 video_cyc=70548 212@314 pc=e07350
fdc write 8604 data=0x1 VBL=31027 video_cyc=70564 4@315 pc=e07356
fdc write 8604 dma sector count=0x1 VBL=31027 video_cyc=70564 4@315 
pc=e07356
fdc write 8606 ctrl=0x80 VBL=31027 video_cyc=70636 76@315 pc=e07066
fdc write 8604 data=0x80 VBL=31027 video_cyc=70692 132@315 pc=e07076
fdc write 8604 command=0x80 VBL=31027 video_cyc=70692 132@315 pc=e07076
fdc clear irq VBL=31027 HBL=315
fdc type II read sector sector=0x3 multi=off spinup=on settle=off tr=0x0 
head_track=0x0 side=1 drive=0 dmasector=1 addr=0x1169c VBL=31027 
video_cyc=70692 132@315 pc=e07076
fdc start motor without spinup VBL=31027 video_cyc=70716 156@315 pc=e07076
fdc read sector addr=0x1169c drive=0 sect=3 track=0 side=1 VBL=31029 
video_cyc=16584 8@74 pc=e05886
fdc write 0x116ac to dma address VBL=31029 video_cyc=16952 152@75 pc=e05888
fdc write 0x116bc to dma address VBL=31029 video_cyc=17364 116@77 pc=e05882
fdc write 0x116cc to dma address VBL=31029 video_cyc=17764 68@79 pc=e0588e
fdc write 0x116dc to dma address VBL=31029 video_cyc=18156 12@81 pc=e05882
fdc write 0x116ec to dma address VBL=31029 video_cyc=18556 188@82 pc=e0588e
fdc write 0x116fc to dma address VBL=31029 video_cyc=18960 144@84 pc=e05886
fdc write 0x1170c to dma address VBL=31029 video_cyc=19356 92@86 pc=e05890
fdc write 0x1171c to dma address VBL=31029 video_cyc=19752 40@88 pc=e05886
fdc write 0x1172c to dma address VBL=31029 video_cyc=20156 220@89 pc=e0587e
fdc write 0x1173c to dma address VBL=31029 video_cyc=20552 168@91 pc=e05888
fdc write 0x1174c to dma address VBL=31029 video_cyc=20964 132@93 pc=e05882
fdc write 0x1175c to dma address VBL=31029 video_cyc=21364 84@95 pc=e0588e
fdc write 0x1176c to dma address VBL=31029 video_cyc=21756 28@97 pc=e05882
fdc write 0x1177c to dma address VBL=31029 video_cyc=22156 204@98 pc=e0588e
fdc write 0x1178c to dma address VBL=31029 video_cyc=22560 160@100 pc=e05886
fdc write 0x1179c to dma address VBL=31029 video_cyc=22956 108@102 pc=e05890
fdc write 0x117ac to dma address VBL=31029 video_cyc=23352 56@104 pc=e05886
fdc write 0x117bc to dma address VBL=31029 video_cyc=23756 12@106 pc=e0587e
fdc write 0x117cc to dma address VBL=31029 video_cyc=24152 184@107 pc=e05888
fdc write 0x117dc to dma address VBL=31029 video_cyc=24564 148@109 pc=e05882
fdc write 0x117ec to dma address VBL=31029 video_cyc=24964 100@111 pc=e0588e
fdc write 0x117fc to dma address VBL=31029 video_cyc=25376 64@113 pc=e005c8
fdc write 0x1180c to dma address VBL=31029 video_cyc=25756 220@114 pc=e05888
fdc write 0x1181c to dma address VBL=31029 video_cyc=26152 168@116 pc=e0587e
fdc write 0x1182c to dma address VBL=31029 video_cyc=26568 136@118 pc=e0588e
fdc write 0x1183c to dma address VBL=31029 video_cyc=26960 80@120 pc=e05882
fdc write 0x1184c to dma address VBL=31029 video_cyc=27360 32@122 pc=e0588e
fdc write 0x1185c to dma address VBL=31029 video_cyc=27752 200@123 pc=e05882
fdc write 0x1186c to dma address VBL=31029 video_cyc=28152 152@125 pc=e0588e
fdc write 0x1187c to dma address VBL=31029 video_cyc=28556 108@127 pc=e05886
fdc write 0x1188c to dma address VBL=31029 video_cyc=28952 56@129 pc=e05890
fdc write 0x1189c to dma address VBL=31029 video_cyc=29356 12@131 pc=e05888
fdc complete command VBL=31029 video_cyc=29448 104@131 pc=e0588e
fdc set irq VBL=31029 HBL=131
fdc write 8606 ctrl=0x90 VBL=31029 video_cyc=29540 196@131 pc=e07396
fdc write 8606 ctrl=0x80 VBL=31029 video_cyc=29604 36@132 pc=e07192
fdc clear irq VBL=31029 HBL=132
fdc read 8604 ctrl status=0x80 VBL=31029 video_cyc=29656 88@132 pc=e0719c
fdc write 8606 ctrl=0x84 VBL=31029 video_cyc=96908 140@432 pc=e07066
fdc write 8604 data=0x3 VBL=31029 video_cyc=96964 196@432 pc=e07076
fdc write 8604 sector=0x3 VBL=31029 video_cyc=96964 196@432 pc=e07076
fdc write dma address ff860d val=0x9c address=0x1189c VBL=31029 
video_cyc=97084 92@433 pc=e06fe4
fdc write dma address ff860b val=0x16 address=0x1169c VBL=31029 
video_cyc=97124 132@433 pc=e06fec
fdc write dma address ff8609 val=0x01 address=0x1169c VBL=31029 
video_cyc=97144 152@433 pc=e06ff4
fdc write 8606 ctrl=0x190 VBL=31029 video_cyc=97196 204@433 pc=e07366
fdc reset dma VBL=31029 video_cyc=97196 204@433 pc=e07366
fdc write 8606 ctrl=0x90 VBL=31029 video_cyc=97212 220@433 pc=e0736c
fdc reset dma VBL=31029 video_cyc=97212 220@433 pc=e0736c
fdc write 8606 ctrl=0x190 VBL=31029 video_cyc=97228 12@434 pc=e07372
fdc reset dma VBL=31029 video_cyc=97228 12@434 pc=e07372
fdc write 8604 data=0x1 VBL=31029 video_cyc=97244 28@434 pc=e07378
fdc write 8604 dma sector count=0x1 VBL=31029 video_cyc=97244 28@434 
pc=e07378
fdc write 8606 ctrl=0x180 VBL=31029 video_cyc=97304 88@434 pc=e07066
fdc write 8604 data=0xa0 VBL=31029 video_cyc=97360 144@434 pc=e07076
fdc write 8604 command=0xa0 VBL=31029 video_cyc=97360 144@434 pc=e07076
fdc clear irq VBL=31029 HBL=434
fdc type II write sector sector=0x3 multi=off spinup=on settle=off tr=0x0 
head_track=0x0 side=1 drive=0 dmasector=1 addr=0x1169c VBL=31029 
video_cyc=97360 144@434 pc=e07076
fdc start motor without spinup VBL=31029 video_cyc=97384 168@434 pc=e07076
fdc write sector addr=0x1169c drive=0 sect=3 track=0 side=1 VBL=31029 
video_cyc=104536 152@466 pc=e05890
fdc write 0x116ac to dma address VBL=31029 video_cyc=104536 152@466 
pc=e05890
fdc write 0x116bc to dma address VBL=31029 video_cyc=104940 108@468 
pc=e05888
fdc write 0x116cc to dma address VBL=31029 video_cyc=105336 56@470 pc=e0587e
fdc write 0x116dc to dma address VBL=31029 video_cyc=105736 8@472 pc=e069a4
fdc write 0x116ec to dma address VBL=31029 video_cyc=106148 196@473 
pc=e3ad54
fdc write 0x116fc to dma address VBL=31029 video_cyc=106628 4@476 pc=e005c2
fdc write 0x1170c to dma address VBL=31029 video_cyc=106944 96@477 pc=e05882
fdc write 0x1171c to dma address VBL=31029 video_cyc=107344 48@479 pc=e0588e
fdc write 0x1172c to dma address VBL=31029 video_cyc=107736 216@480 
pc=e05882
fdc write 0x1173c to dma address VBL=31029 video_cyc=108136 168@482 
pc=e0588e
fdc write 0x1174c to dma address VBL=31029 video_cyc=108540 124@484 
pc=e05886
fdc write 0x1175c to dma address VBL=31029 video_cyc=108936 72@486 pc=e05890
fdc write 0x1176c to dma address VBL=31029 video_cyc=109340 28@488 pc=e05888
fdc write 0x1177c to dma address VBL=31029 video_cyc=109736 200@489 
pc=e0587e
fdc write 0x1178c to dma address VBL=31029 video_cyc=110152 168@491 
pc=e0588e
fdc write 0x1179c to dma address VBL=31029 video_cyc=110544 112@493 
pc=e05882
fdc write 0x117ac to dma address VBL=31029 video_cyc=110944 64@495 pc=e0588e
fdc write 0x117bc to dma address VBL=31029 video_cyc=111336 8@497 pc=e05882
fdc write 0x117cc to dma address VBL=31029 video_cyc=111736 184@498 
pc=e0588e
fdc write 0x117dc to dma address VBL=31029 video_cyc=112140 140@500 
pc=e05886
fdc write 0x117ec to dma address VBL=31030 video_cyc=320 96@1 pc=e004e0
fdc write 0x117fc to dma address VBL=31030 video_cyc=716 44@3 pc=e33980
fdc write 0x1180c to dma address VBL=31030 video_cyc=1112 216@4 pc=e00570
fdc write 0x1181c to dma address VBL=31030 video_cyc=1520 176@6 pc=e0588e
fdc write 0x1182c to dma address VBL=31030 video_cyc=1912 120@8 pc=e05882
fdc write 0x1183c to dma address VBL=31030 video_cyc=2312 72@10 pc=e0588e
fdc write 0x1184c to dma address VBL=31030 video_cyc=2716 28@12 pc=e05886
fdc write 0x1185c to dma address VBL=31030 video_cyc=3112 200@13 pc=e05890
fdc write 0x1186c to dma address VBL=31030 video_cyc=3516 156@15 pc=e05888
fdc write 0x1187c to dma address VBL=31030 video_cyc=3912 104@17 pc=e0587e
fdc write 0x1188c to dma address VBL=31030 video_cyc=4328 72@19 pc=e0588e
fdc write 0x1189c to dma address VBL=31030 video_cyc=4720 16@21 pc=e05882
fdc complete command VBL=31030 video_cyc=5172 20@23 pc=e05888
fdc set irq VBL=31030 HBL=23
fdc write 8606 ctrl=0x90 VBL=31030 video_cyc=5284 132@23 pc=e07396
fdc reset dma VBL=31030 video_cyc=5284 132@23 pc=e07396
fdc write 8606 ctrl=0x84 VBL=31030 video_cyc=5412 36@24 pc=e07066
fdc write 8604 data=0x3 VBL=31030 video_cyc=5468 92@24 pc=e07076
fdc write 8604 sector=0x3 VBL=31030 video_cyc=5468 92@24 pc=e07076
fdc write dma address ff860d val=0x9c address=0x1189c VBL=31030 
video_cyc=5588 212@24 pc=e06fe4
fdc write dma address ff860b val=0x16 address=0x1169c VBL=31030 
video_cyc=5628 28@25 pc=e06fec
fdc write dma address ff8609 val=0x01 address=0x1169c VBL=31030 
video_cyc=5648 48@25 pc=e06ff4
fdc write 8606 ctrl=0x190 VBL=31030 video_cyc=5700 100@25 pc=e07366
fdc reset dma VBL=31030 video_cyc=5700 100@25 pc=e07366
fdc write 8606 ctrl=0x90 VBL=31030 video_cyc=5716 116@25 pc=e0736c
fdc reset dma VBL=31030 video_cyc=5716 116@25 pc=e0736c
fdc write 8606 ctrl=0x190 VBL=31030 video_cyc=5732 132@25 pc=e07372
fdc reset dma VBL=31030 video_cyc=5732 132@25 pc=e07372
fdc write 8604 data=0x1 VBL=31030 video_cyc=5748 148@25 pc=e07378
fdc write 8604 dma sector count=0x1 VBL=31030 video_cyc=5748 148@25 
pc=e07378
fdc write 8606 ctrl=0x180 VBL=31030 video_cyc=5808 208@25 pc=e07066
fdc write 8604 data=0xa0 VBL=31030 video_cyc=5864 40@26 pc=e07076
fdc write 8604 command=0xa0 VBL=31030 video_cyc=5864 40@26 pc=e07076
fdc clear irq VBL=31030 HBL=26
fdc type II write sector sector=0x3 multi=off spinup=on settle=off tr=0x0 
head_track=0x0 side=1 drive=0 dmasector=1 addr=0x1169c VBL=31030 
video_cyc=5864 40@26 pc=e07076
fdc start motor without spinup VBL=31030 video_cyc=5888 64@26 pc=e07076
fdc write sector addr=0x1169c drive=0 sect=3 track=0 side=1 VBL=31030 
video_cyc=10996 20@49 pc=e05888
fdc write 0x116ac to dma address VBL=31030 video_cyc=10996 20@49 pc=e05888
fdc write 0x116bc to dma address VBL=31030 video_cyc=11392 192@50 pc=e0587e
fdc write 0x116cc to dma address VBL=31030 video_cyc=11808 160@52 pc=e0588e
fdc write 0x116dc to dma address VBL=31030 video_cyc=12200 104@54 pc=e05882
fdc write 0x116ec to dma address VBL=31030 video_cyc=12600 56@56 pc=e0588e
fdc write 0x116fc to dma address VBL=31030 video_cyc=12992 0@58 pc=e05882
fdc write 0x1170c to dma address VBL=31030 video_cyc=13392 176@59 pc=e0588e
fdc write 0x1171c to dma address VBL=31030 video_cyc=13796 132@61 pc=e05886
fdc write 0x1172c to dma address VBL=31030 video_cyc=14192 80@63 pc=e05890
fdc write 0x1173c to dma address VBL=31030 video_cyc=14596 36@65 pc=e05888
fdc write 0x1174c to dma address VBL=31030 video_cyc=14992 208@66 pc=e0587e
fdc write 0x1175c to dma address VBL=31030 video_cyc=15408 176@68 pc=e0588e
fdc write 0x1176c to dma address VBL=31030 video_cyc=15800 120@70 pc=e05882
fdc write 0x1177c to dma address VBL=31030 video_cyc=16200 72@72 pc=e0588e
fdc write 0x1178c to dma address VBL=31030 video_cyc=16592 16@74 pc=e05882
fdc write 0x1179c to dma address VBL=31030 video_cyc=16992 192@75 pc=e0588e
fdc write 0x117ac to dma address VBL=31030 video_cyc=17396 148@77 pc=e05886
fdc write 0x117bc to dma address VBL=31030 video_cyc=17792 96@79 pc=e05890
fdc write 0x117cc to dma address VBL=31030 video_cyc=18196 52@81 pc=e05888
fdc write 0x117dc to dma address VBL=31030 video_cyc=18592 0@83 pc=e0587e
fdc write 0x117ec to dma address VBL=31030 video_cyc=19008 192@84 pc=e0588e
fdc write 0x117fc to dma address VBL=31030 video_cyc=19400 136@86 pc=e05882
fdc write 0x1180c to dma address VBL=31030 video_cyc=19800 88@88 pc=e0588e
fdc write 0x1181c to dma address VBL=31030 video_cyc=20192 32@90 pc=e05882
fdc write 0x1182c to dma address VBL=31030 video_cyc=20592 208@91 pc=e0588e
fdc write 0x1183c to dma address VBL=31030 video_cyc=20996 164@93 pc=e05886
fdc write 0x1184c to dma address VBL=31030 video_cyc=21392 112@95 pc=e05890
fdc write 0x1185c to dma address VBL=31030 video_cyc=21796 68@97 pc=e05888
fdc write 0x1186c to dma address VBL=31030 video_cyc=22192 16@99 pc=e0587e
fdc write 0x1187c to dma address VBL=31030 video_cyc=22608 208@100 pc=e0588e
fdc write 0x1188c to dma address VBL=31030 video_cyc=23000 152@102 pc=e05882
fdc write 0x1189c to dma address VBL=31030 video_cyc=23400 104@104 pc=e0588e
fdc complete command VBL=31030 video_cyc=23864 120@106 pc=e05882
fdc set irq VBL=31030 HBL=106
fdc write 8606 ctrl=0x90 VBL=31030 video_cyc=23996 28@107 pc=e07396
fdc reset dma VBL=31030 video_cyc=23996 28@107 pc=e07396
Reading debugger commands from 'regs.ini'...
> e d0
= %11111111111111111111111111110100 (bin), #4294967284/-12 (dec), $fffffff4 
(hex)
----------------------------------------------




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/