Moderators: Mug UK, Steem Authors, Moderator Team
first is bad date/timestamp shown (and used) by files in GEMDOS hard disk emulation. Instead time of file's last modification creation time is shown. It is incorrect, as TOS (and DOS) shows time of last modification on file. So, replaced CreationTime with LastWriteTime in stemdos.cpp .
Cyprian wrote:Currently, Steem Boiler starts with emulation paused. Would be possible to add a checkbox (or a switch in the "Control mask browser") to start Steem Boiler with emulation started? And similar situation with Fast Forward, would be cool to have a check box.
Those changes would speed up a bit code debugging.
AtariZoll wrote:It seems that Steven Seagal is absent from here last weeks. Perhaps filming new action movie ?
coolSteven Seagal wrote:I'll look if that's possible.
via drag'n'drop, command line or both?Steven Seagal wrote:Meanwhile next beta should have PRG and TOS support.
hehe, will waiting for that movieSteven Seagal wrote:AtariZoll wrote:It seems that Steven Seagal is absent from here last weeks. Perhaps filming new action movie ?
Secret mission!
Cyprian wrote:via drag'n'drop, command line or both?
Code: Select all
00F1EE: move.l -2(a1),d6
00F1F2: ror.l d7,d6
00F1F4: lea +$2000(a2),a5
00F1F8: lea +$60c(a5),a3
00F1FC: move.w d6,d1
00F1FE: subq.w #1,d1
00F200: movem.l D0-1/A0/A2,-(a7)
00F204: moveq #16,d3
00F206: bsr .l +$11a {$00F322}
00F322: sub.b d3,d7
00F324: bcc.s +12 {$00F332}
00F326: add.b #$10,d7
00F32A: move.l (a1),d6
Code: Select all
00F1EE: move.l -2(a1),d6 {$00F920}
00F1F2: ror.l d7,d6
00F1F4: lea +$2000(a2),a5 {$00F900}
Cyprian wrote:One request regarding Logging.
I'm trying to recognize memory usage of a part of code. When I use logging "Log --> CPU" then I see following output:Code: Select all
00F1EE: move.l -2(a1),d6
00F1F2: ror.l d7,d6
00F1F4: lea +$2000(a2),a5
00F1F8: lea +$60c(a5),a3
00F1FC: move.w d6,d1
00F1FE: subq.w #1,d1
00F200: movem.l D0-1/A0/A2,-(a7)
00F204: moveq #16,d3
00F206: bsr .l +$11a {$00F322}
00F322: sub.b d3,d7
00F324: bcc.s +12 {$00F332}
00F326: add.b #$10,d7
00F32A: move.l (a1),d6
Unfortunately, in case of my output (it has about 10000 lines) I'm not able to guess which memory address is read or written by the CPU instruction.
Would be possible to add calculated memory address in curly brackets as it is currently done in case of branches?Code: Select all
00F1EE: move.l -2(a1),d6 {$00F920}
00F1F2: ror.l d7,d6
00F1F4: lea +$2000(a2),a5 {$00F900}
Code: Select all
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=CC04 A6=1AFDC A7=1AFAC SR=2404
FC06EE 48E7 movem.l D0-7/A0-6,-(a7)
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=CC04 A6=1AFDC A7=1AF70 SR=2404
FC06F2 52B9 addq.l #1,$462
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=CC04 A6=1AFDC A7=1AF70 SR=2400
FC06F8 9BCD suba.l a5,a5
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=0 A6=1AFDC A7=1AF70 SR=2400
FC06FA 1039 move.b $ffff8260,d0
D0=3C0FFFC D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=0 A6=1AFDC A7=1AF70 SR=2408
FC0700 C03C and.b #$3,d0
D0=3C0FF00 D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=0 A6=1AFDC A7=1AF70 SR=2404
FC0704 B03C cmp.b #$2,d0
Steven Seagal wrote:In current version 3.7, CPU log gives something like this:Code: Select all
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=CC04 A6=1AFDC A7=1AFAC SR=2404
FC06EE 48E7 movem.l D0-7/A0-6,-(a7)
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=CC04 A6=1AFDC A7=1AF70 SR=2404
FC06F2 52B9 addq.l #1,$462
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=CC04 A6=1AFDC A7=1AF70 SR=2400
FC06F8 9BCD suba.l a5,a5
D0=3C0FFFF D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=0 A6=1AFDC A7=1AF70 SR=2400
FC06FA 1039 move.b $ffff8260,d0
D0=3C0FFFC D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=0 A6=1AFDC A7=1AF70 SR=2408
FC0700 C03C and.b #$3,d0
D0=3C0FF00 D1=0 D2=0 D3=3C00000 D4=0 D5=FFE0 D6=B D7=FF80
A0=174F0 A1=37F7A A2=444E2 A3=26108 A4=19074 A5=0 A6=1AFDC A7=1AF70 SR=2404
FC0704 B03C cmp.b #$2,d0
Code: Select all
>>> Start Emulation <<<
00F3B2: movem.l D0-7/A0-6,-(a7)
00F3B6: addq.w #1,$10a1c
00F3BC: cmpi.b #$2a,$fc02.W
00F3C2: beq.s +18 {$00F3D6}
00F3C4: move.l $10a10,d0
00F3CA: lsr.w #8,d0
00F3CC: move.l d0,$8200.w
00F3D0: jsr $f400
00F400: rts
Steven Seagal wrote:EDIT: is it possible to fix the title of this thread?
Cyprian wrote:Really nice log, would be possible to add Instruction time in cycles?
How to activate it? I use Boiler 3.7 and mine is a bit different:Code: Select all
>>> Start Emulation <<<
00F3B2: movem.l D0-7/A0-6,-(a7)
00F3B6: addq.w #1,$10a1c
00F3BC: cmpi.b #$2a,$fc02.W
00F3C2: beq.s +18 {$00F3D6}
00F3C4: move.l $10a10,d0
00F3CA: lsr.w #8,d0
00F3CC: move.l d0,$8200.w
00F3D0: jsr $f400
00F400: rts
BTW,
There is one a bit uncomfortable Boiler's behaviour. FlagLog --> CPU is always cleared after pressing "GO" button.
Steven Seagal wrote:EDIT: is it possible to fix the title of this thread?
yes it is. What title do you propose?
Steven Seagal wrote:Check the powerful Control mask browser hack, line TRACE CPU:[/img]
See the potential for adding even more info, at user's choice?
Steven Seagal wrote:I already fixed that but only if you check 'suspend logging'.
Steven Seagal wrote:'Requests' instead of 'requerst' would be nice.
Cyprian wrote:good to know, actually I was wondering what does 'suspend logging' stand for.
Logging works fine now and I see that full output in file TRACE.txt
Users browsing this forum: No registered users and 0 guests