Thanks for you fast reply!
daxb wrote: ↑30.09.2022 - 11:25
Start SnoopDos and/or other debug tools before you click the 8/16bit button. There is access to ahi.device and other AHI stuff. audio.device is also accessed but that shouldn't make problems. So I would check if the problem stays with different ahi.device versions and/or different audio modes and settings.
Ok... I made SnoopDOS and CyberGuard dump logs to a RAD:-disk for speed, and persistence so I could recover them from a crash... Here are two scenarios:
1. Loading an .xm module I know work
SnoopDOS
Code: Select all
Count Process Name Action Target Name Options Res.
----- ------------ ------ ----------- ------- ----
:
:
:
6 DigiBoosterPro *Open dh2:moduler/released_module Read OK
7 DigiBoosterPro #FINDINPUT 22303B3, 0, 225F99 DH2 OK
8 DigiBoosterPro #READ 807DCD4, 8CB1188, 62 DH2 OK
9 DigiBoosterPro #END 807DCD4 DH2 OK
10 DigiBoosterPro *Lock dh2:moduler/released_module Read OK
11 DigiBoosterPro #LOC_OBJEC 0, 231A782, FFFFFFF DH2 OK
12 DigiBoosterPro #EXAM_OBJE 201F737, 233C45A DH2 OK
13 DigiBoosterPro #FREE_LOCK 201F737 DH2 OK
14 DigiBoosterPro *Open dh2:moduler/released_module Read OK
15 DigiBoosterPro #FINDINPUT 22303B3, 0, 225F99 DH2 OK
16 DigiBoosterPro #READ 807DCD4, 8E47900, A21C DH2 OK
17 DigiBoosterPro #END 807DCD4 DH2 OK
18 DigiBoosterPro *Open ENV:Sys/ahi.prefs Read OK
19 DigiBoosterPro #FINDINPUT 22303B3, 207588F, 21540F RAM OK
20 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
21 DigiBoosterPro #READ 22DCAC1, 8A2B124, RAM OK
22 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
23 DigiBoosterPro #READ 22DCAC1, 8A2B988, RAM OK
24 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
25 DigiBoosterPro #READ 22DCAC1, 8A465B8, 1 RAM OK
26 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
27 DigiBoosterPro #READ 22DCAC1, 8A46AFC, 2 RAM OK
28 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
29 DigiBoosterPro #READ 22DCAC1, 8A64ED4, 2 RAM OK
30 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
31 DigiBoosterPro #READ 22DCAC1, 8A813A4, 2 RAM OK
32 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
33 DigiBoosterPro #READ 22DCAC1, 8A813D4, 2 RAM OK
34 DigiBoosterPro #READ 22DCAC1, 8C69D00, RAM OK
35 DigiBoosterPro #READ 22DCAC1, 8A81404, 2 RAM OK
36 DigiBoosterPro #END 22DCAC1 RAM OK
:
:
Nothing weird going on there, from what I can tell....
CyberGuard
Code: Select all
Alert !! Alert 81000005 TCB: 08D83560 USP: 08D875C8
Data: 08933738 08000010 00000000 11590A58 0000001F 0000002E 00000023 81000005
Addr: 08000000 08C5D320 08C5D290 08D45598 08D10326 08D10312 08000964 08D875C8
Stck: 00F81E92 00000000 08C71D5C 00F81EBE 08BAAE9C 00000009 00000190 08C58984
Stck: 08C5D324 08B4EA60 08CFE830 00000000 00000001 00000009 00000190 0000001F
Stck: 0000002E 00000023 00320000 FFFFFFFF 000006A0 08C71D5C 08D45598 08D10326
Stck: 08D10312 08C71A24 08CF7DFA 08CF202C 08CF1C22 00F967B4 00004000 44696769
Stck: 426F6F73 74657250 726F0000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> $00f81e92: MOVE.L A1,D1
----> $08c71d5c: ORI.B #$00,D0
----> $00090000: ORI.B #$00,(A7)+
----> $08c58984: ORI.B #$00,D0
----> $08c5d324: BCLR #$38,(A3)
----> $08cfe830: MOVEM.L (A7)+,D0-D7/A0-A6
----> $00010000: SUB.B D7,D7
----> $00090000: ORI.B #$00,(A7)+
----> $001f0000: DC.W $ffff
Name: "DigiBoosterPro"
WORD-READ from 00000000 PC: 00000000
USP: 08D875D0 SR: 0004 FLSW: 01428200 TCB: 08D83560
Data: 00000000 08C5A12C 00014E1C 00F81E92 00000005 00000000 0000000D 08D87608
Addr: 08000000 08C5A12C 08C522D0 08D83560 08D87644 08C5269E 08000964 08D875D0
Stck: 08C71D5C 00F81EBE 08BAAE9C 00000009 00000190 08C58984 08C5D324 08B4EA60
Stck: 08CFE830 00000000 00000001 00000009 00000190 0000001F 0000002E 00000023
Stck: 00320000 FFFFFFFF 000006A0 08C71D5C 08D45598 08D10326 08D10312 08C71A24
Stck: 08CF7DFA 08CF202C 08CF1C22 00F967B4 00004000 44696769 426F6F73 74657250
Stck: 726F0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> $08c71d5c: ORI.B #$00,D0
----> $00090000: ORI.B #$00,(A7)+
----> $08c58984: ORI.B #$00,D0
----> $08c5d324: BCLR #$38,(A3)
----> $08cfe830: MOVEM.L (A7)+,D0-D7/A0-A6
----> $00010000: SUB.B D7,D7
----> $00090000: ORI.B #$00,(A7)+
----> $001f0000: DC.W $ffff
Name: "DigiBoosterPro"
LONG-READ from 00000034 PC: 089C7A5E
USP: 08CD97CC SR: 0014 FLSW: 01010200 TCB: 08CD7798
Data: 00000000 0976ACB3 00000000 00000001 00000000 00000000 00000000 00000000
Addr: 00000000 08C3C788 00000000 08CD9830 00000000 08CD9870 08141BF0 08CD97CC
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 08CD7798 00000000 00000000 00000000 00000000 00010000 00000000
Stck: 00000000 08C636AC 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 08C4CB50 08C4CB4C 05000000 000008C4 81000020 00000008 00E8FFFF
Stck: 08C48054 FF40FF71 542AA6E1 00038E16 08C48054 08C4F5A4 08CD9868 00000000
Stck: 08CD9864 00000000 00F967B4 00002000 646F7075 735F6C69 73746572 00000000
Stck: 00000000 00004B04 00007B38 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> $089c7a5e: MOVE.L $0034(A0),-(A7)
----> $08cd7798: BTST #$fe,D0
----> $00010000: SUB.B D7,D7
Se comment below.
2. Just toggling 8bit to 16bit
SnoopDOS
Code: Select all
Count Process Name Action Target Name Options Res.
----- ------------ ------ ----------- ------- ----
:
:
10 DigiBoosterPro *Open ENV:Sys/ahi.prefs Read OK
11 DigiBoosterPro #FINDINPUT 23148CB, 207648F, 21F125 RAM OK
12 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
13 DigiBoosterPro #READ 2076991, 8C5242C, RAM OK
14 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
15 DigiBoosterPro #READ 2076991, 8C52498, RAM OK
16 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
17 DigiBoosterPro #READ 2076991, 8C524C8, 1 RAM OK
18 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
19 DigiBoosterPro #READ 2076991, 8C524EC, 2 RAM OK
20 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
21 DigiBoosterPro #READ 2076991, 8C5254C, 2 RAM OK
22 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
23 DigiBoosterPro #READ 2076991, 8C5257C, 2 RAM OK
24 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
25 DigiBoosterPro #READ 2076991, 8C525AC, 2 RAM OK
26 DigiBoosterPro #READ 2076991, 8C6EE0C, RAM OK
27 DigiBoosterPro #READ 2076991, 8C525DC, 2 RAM OK
28 DigiBoosterPro #END 2076991 RAM OK
:
:
CyberGuard
Nothing produced.... So no hit, i guess. However it behaves strangely after (this time)
Both scenarios either garbled the mouse pointer, thew a Software Failure - And left the machine in an unstable state.
I'm thinking..... Reading the CyberGuard output in the loading of an XM-file. Stack usage? How much stack should DigiBoosterPro 2.21 need? Maybe I have too little. The default icon has 8192 bytes. Seems a bit low, but I don't know the inner workings of how the code is written.
A switch from 8/16bit doubles/halves the memory usage. So there might be some maths going on and of course memory accesses. I guess there is no FPU involved.
How about MMU? I'm running the Phase5 68060 and 68040 libraries (which I believe is correct) and then the mmulib from AmiNet mmu.library upon that. Maybe that's stupid?
EDIT: A side note: I managed to screenshot the DigiBooster screen using sgrab before and after toggle (even though sgrab crashed after saving the file to RAD:) i can see the "Free: " part of the top right info box change dramatically when toggling 8bit to 16bit, before it (the machine) starts misbehaving.
Before: 11409K
After: 10720K
So it does _something_ before it dies on me. Probably the doubling of the allocation of memory used for 8 v.s. 16 bit mode.