Author Topic: theseus 4.001 trap in usbmon  (Read 2737 times)

roberto

  • Hero Member
  • *****
  • Thank You
  • -Given: 19
  • -Receive: 13
  • Posts: 613
  • Karma: +1/-0
    • View Profile
theseus 4.001 trap in usbmon
« on: May 23, 2021, 09:06:37 am »
The Theseus program, when I click twice on the USBMON it generates a TRAP.
If someone is not produced any TRAP, let them tell me and I will tell them what I want.

I leave you this patch, it runs in a DOS session, starting it with Qbasic, at the beginning of the system boot.
 It's not finished, it's experimental, but it seems to work. In some computers it produces an overflow error and it is not possible to execute it.
The name for the file is pk-r05.bas
Code: [Select]
CLS
DATA long a
PRINT "ejecutando pk-r00..."
REM swap 2048 2048
FOR a = 1 TO 100000
REM no quitar la linea print o se generara el error wifi on off
 PRINT a
REM  POKE &HFFEBCBDD, 0
REM  POKE &HFFEBCBDD, 0


REM overflow POKE &HFFEBC821, 160
POKE &HFFEBC974, 53
POKE &HFFEBCA6D, 53
POKE &HFFEBCFB9, 53
POKE &HFFEBD594, 53
POKE &HFFEBD6E0, 53
POKE &HFFEBD6F4, 53
   POKE &HFFEBDD3C, 53
   POKE &HFFEC4C2C, 53

 REM MMHELP
 POKE &HFBB1A323, 20
REM A4A4 ARREGLA BARRA NEGRA EN TRUE SPECTRA
 POKE &HFBB1A4A4, 20
 POKE &HFBB1A639, 20
 POKE &HFBB1A6E2, 20

 POKE &HFBB1A7F7, 20
 POKE &HFBB1B887, 20
 POKE &HFBB1F7E5, 20
 POKE &HFBB218B0, 20

 REM ASWITCH
 POKE &H11898, 20
 POKE &H118F2, 20
 POKE &H11951, 20

REM FREEMEMR
POKE &H1F321B66, 20
POKE &H1F321C24, 20
POKE &H1F321C51, 20
POKE &H1F321DA8, 20
POKE &H1F321E9C, 20
POKE &H1F321EC0, 20
REM POKE &H1F321F31, 20
POKE &H1F321FC9, 20
POKE &H1F322090, 20
POKE &H1F32245A, 20
POKE &H1F3224EF, 20
POKE &H1F3225A3, 20
POKE &H1F3225AB, 20
POKE &H1F3226A7, 20
POKE &H1F322766, 20
POKE &H1F322904, 20
POKE &H1F322A24, 20
POKE &H1F322AAC, 20
POKE &H1F322B60, 20
POKE &H1F322B82, 20
POKE &H1F322BDE, 20
POKE &H1F322CC0, 20
POKE &H1F322DBE, 20
POKE &H1F322DE9, 20
POKE &H1F322DFC, 20
POKE &H1F322E0D, 20
POKE &H1F322E41, 20
POKE &H1F322E7A, 20
POKE &H1F322EAD, 20
POKE &H1F322ECC, 20
POKE &H1F322EE9, 20
POKE &H1F322F5B, 20
POKE &H1F322FC3, 20
POKE &H1F32303F, 20
POKE &H1F3230B4, 20
POKE &H1F323108, 20
POKE &H1F323173, 20
POKE &H1F3231C8, 20
POKE &H1F3231D9, 20
POKE &H1F323253, 20
POKE &H1F323261, 20
POKE &H1F3232E5, 20
POKE &H1F323449, 20
POKE &H1F3234B6, 20

REM GRE2VMAN PMSHELL
POKE &H1F371B66, 160
POKE &H1F371C24, 160
POKE &H1F371C51, 160
POKE &H1F371E9C, 160
POKE &H1F371EC0, 160
POKE &H1F371F31, 160
POKE &H1F372090, 160
REM POKE &H1F37245A, 160
REM POKE &H1F3724EF, 160
REM POKE &H1F3725A3, 160
REM POKE &H1F3725AB, 160

REM PNCLOCK PMSHELL
POKE &HFE3B7F04, 160

REM VDM PMSHELL
POKE &HFE3B626A, 160
POKE &HFE3B63B0, 160

REM CAD-POP PMSHELL
POKE &HFE3BC26C, 160

rem xwpdaemon pmshell
poke &HFE3B726A, 160

REM NDCTL PMSHELL
POKE &HFE3B9465, 160

rem harderr pmshell
rem POKE &HFE3B5B09, 160
rem POKE &HFE3B626A, 160


REM ERRORS CRASH
POKE &H1E101AE6, 211
REM 1AE1 1AEC EXPERIMENTALLLL  UN SIGNO 2D -
POKE &H1CB41AEC, 211
POKE &H1CB41C82, 211
POKE &H1682DA77, 211
POKE &H1E101AE6, 211

REM IMPORTANTES MEMORIA AGOTADA
poke &H1CB41AE1, 160
POKE &H1CCA1AE1, 160

rem errores de los trp
POKE &H001AF5F3, 20
POKE &H001AD083, 20
POKE &H001AB173, 20

REM POKE &H0013C4DF, 20
rem POKE &H0013C4FF, 20 falla con las descargas se cierra
rem POKE &H0013C5E4, 20 ciclo infinito no mejora



    REM midi 92b8
    REM POKE &HB96792B8, 211
   REM mouse 51b8
   REM POKE &HFCC051B8, 211

REM   POKE &HFFEC8082, 160
REM   POKE &HFFEC830F, 160
REM   POKE &HFFEC8333, 160
REM   POKE &HFFEC843D, 160
REM    POKE &HFFEC8464, 160
REM   POKE &HFFEC84BA, 160
REM   POKE &HFFEC8532, 160
REM   POKE &HFFEC8543, 160
REM   POKE &HFFEC86C2, 160
REM   POKE &HFFEC876B, 160
REM   POKE &HFFEC877C, 160
REM   POKE &HFFEC884B, 160
REM   POKE &HFFEC886E, 160
REM   POKE &HFFEC88CA, 160
REM   POKE &HFFEC8AD6, 160
REM   POKE &HFFEC8C8A, 160
REM   POKE &HFFEC8C90, 160
REM   POKE &HFFEC8F1E, 160
REM   POKE &HFFEC8F73, 160
REM   POKE &HFFEC8FA3, 160
REM   POKE &HFFEC8FEB, 160
REM   POKE &HFFEC9092, 160
REM   POKE &HFFEC90F0, 160
REM   POKE &HFFEC91CF, 160
REM   POKE &HFFEC9242, 160
REM   POKE &HFFEC92A0, 160
REM   POKE &HFFEC92EC, 160
REM   POKE &HFFEC9450, 160
REM   POKE &HFFEC9562, 160
REM   POKE &HFFEC958E, 160



NEXT a
END





Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 607
  • -Receive: 122
  • Posts: 3296
  • Karma: +27/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: theseus 4.001 trap in usbmon
« Reply #1 on: May 23, 2021, 05:08:29 pm »
Hi Roberto
The Theseus program, when I click twice on the USBMON it generates a TRAP.
If someone is not produced any TRAP, let them tell me and I will tell them what I want.

I have reproduced the trap. I have ArcaOS 5.0.6 and Theseus 4.001.00 installed.
On the main Theseus page, if I click "USBMON" I get an OS2KRNL trap.  I tried two times for the moment.

Regards
« Last Edit: May 24, 2021, 03:50:02 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

OS4User

  • Sr. Member
  • ****
  • Thank You
  • -Given: 97
  • -Receive: 16
  • Posts: 306
  • Karma: +9/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #2 on: May 23, 2021, 05:24:45 pm »
The Theseus program, when I click twice on the USBMON it generates a TRAP.

I have checked on OS/4   -  no traps here.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 607
  • -Receive: 122
  • Posts: 3296
  • Karma: +27/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: theseus 4.001 trap in usbmon
« Reply #3 on: May 23, 2021, 05:35:50 pm »
Hi

It can be interesting if someone without the 14.202 kernel can do the testing too. Like OS4User did, but maybe with the OS/2 Warp 4.52 kernel or an older ArcaOS without 14.202.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

roberto

  • Hero Member
  • *****
  • Thank You
  • -Given: 19
  • -Receive: 13
  • Posts: 613
  • Karma: +1/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #4 on: May 23, 2021, 10:35:51 pm »
Traps are very similar.

Andreas Schnellbacher

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 39
  • Posts: 716
  • Karma: +11/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #5 on: May 24, 2021, 02:40:34 am »
It works for me with the latest kernel.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 13
  • -Receive: 225
  • Posts: 3140
  • Karma: +57/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #6 on: May 24, 2021, 03:44:30 am »
Traps for me with the latest kernel and Arca Noae USB stack.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 607
  • -Receive: 122
  • Posts: 3296
  • Karma: +27/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: theseus 4.001 trap in usbmon
« Reply #7 on: May 24, 2021, 03:45:01 am »
Hi Andreas

Can you give a little bit more details of your system to try to find out why it does not trap to you?
Here it is my "testlog generic" log just to compare driver versions.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andreas Schnellbacher

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 39
  • Posts: 716
  • Karma: +11/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #8 on: May 24, 2021, 04:08:38 am »
Here is mine.

BTW: The personalized drivers made a lot work to x their info out. What a mess and for whom?

ivan

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 52
  • Posts: 1316
  • Karma: +13/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #9 on: May 24, 2021, 11:02:32 am »
No problem with any of my AMD processor units.  Maybe the trap is processor based since roberto, Dave and Martin are using Intel CPUs while Andreas and myself use AMD units.

roberto

  • Hero Member
  • *****
  • Thank You
  • -Given: 19
  • -Receive: 13
  • Posts: 613
  • Karma: +1/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #10 on: May 24, 2021, 11:18:36 am »
Hello Ivan
I will ask you a favor.
Doble click in USBMON
PTDA address xxxxxxx doble click
Select in Virtual memory manager
          Next Arena xxxxxxx
In menu - Funtions - Show memory at linear address hex
From this address to 3000 bytes (no 100 bytes)
Save the file and send it here.

My problem is that with the browser I usually see youtubes and at the same time I look at ebay things, and with the patch this improves me a lot, but when my memory runs out, the sound gets intermittent, and I don't know why I think it could influence this. The only way to know is to try it.
Thanks

Andreas Schnellbacher

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 39
  • Posts: 716
  • Karma: +11/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #11 on: May 24, 2021, 06:49:07 pm »
I'm not Ivan, but here's what you asked for from my system.

Roderick Klein

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 26
  • Posts: 426
  • Karma: +6/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #12 on: May 24, 2021, 07:09:53 pm »
The Theseus program, when I click twice on the USBMON it generates a TRAP.
If someone is not produced any TRAP, let them tell me and I will tell them what I want.

I leave you this patch, it runs in a DOS session, starting it with Qbasic, at the beginning of the system boot.
 It's not finished, it's experimental, but it seems to work. In some computers it produces an overflow error and it is not possible to execute it.
The name for the file is pk-r05.bas
Code: [Select]
CLS
DATA long a
PRINT "ejecutando pk-r00..."
REM swap 2048 2048
FOR a = 1 TO 100000
REM no quitar la linea print o se generara el error wifi on off
 PRINT a
REM  POKE &HFFEBCBDD, 0
REM  POKE &HFFEBCBDD, 0


REM overflow POKE &HFFEBC821, 160
POKE &HFFEBC974, 53
POKE &HFFEBCA6D, 53
POKE &HFFEBCFB9, 53
POKE &HFFEBD594, 53
POKE &HFFEBD6E0, 53
POKE &HFFEBD6F4, 53
   POKE &HFFEBDD3C, 53
   POKE &HFFEC4C2C, 53

 REM MMHELP
 POKE &HFBB1A323, 20
REM A4A4 ARREGLA BARRA NEGRA EN TRUE SPECTRA
 POKE &HFBB1A4A4, 20
 POKE &HFBB1A639, 20
 POKE &HFBB1A6E2, 20

 POKE &HFBB1A7F7, 20
 POKE &HFBB1B887, 20
 POKE &HFBB1F7E5, 20
 POKE &HFBB218B0, 20

 REM ASWITCH
 POKE &H11898, 20
 POKE &H118F2, 20
 POKE &H11951, 20

REM FREEMEMR
POKE &H1F321B66, 20
POKE &H1F321C24, 20
POKE &H1F321C51, 20
POKE &H1F321DA8, 20
POKE &H1F321E9C, 20
POKE &H1F321EC0, 20
REM POKE &H1F321F31, 20
POKE &H1F321FC9, 20
POKE &H1F322090, 20
POKE &H1F32245A, 20
POKE &H1F3224EF, 20
POKE &H1F3225A3, 20
POKE &H1F3225AB, 20
POKE &H1F3226A7, 20
POKE &H1F322766, 20
POKE &H1F322904, 20
POKE &H1F322A24, 20
POKE &H1F322AAC, 20
POKE &H1F322B60, 20
POKE &H1F322B82, 20
POKE &H1F322BDE, 20
POKE &H1F322CC0, 20
POKE &H1F322DBE, 20
POKE &H1F322DE9, 20
POKE &H1F322DFC, 20
POKE &H1F322E0D, 20
POKE &H1F322E41, 20
POKE &H1F322E7A, 20
POKE &H1F322EAD, 20
POKE &H1F322ECC, 20
POKE &H1F322EE9, 20
POKE &H1F322F5B, 20
POKE &H1F322FC3, 20
POKE &H1F32303F, 20
POKE &H1F3230B4, 20
POKE &H1F323108, 20
POKE &H1F323173, 20
POKE &H1F3231C8, 20
POKE &H1F3231D9, 20
POKE &H1F323253, 20
POKE &H1F323261, 20
POKE &H1F3232E5, 20
POKE &H1F323449, 20
POKE &H1F3234B6, 20

REM GRE2VMAN PMSHELL
POKE &H1F371B66, 160
POKE &H1F371C24, 160
POKE &H1F371C51, 160
POKE &H1F371E9C, 160
POKE &H1F371EC0, 160
POKE &H1F371F31, 160
POKE &H1F372090, 160
REM POKE &H1F37245A, 160
REM POKE &H1F3724EF, 160
REM POKE &H1F3725A3, 160
REM POKE &H1F3725AB, 160

REM PNCLOCK PMSHELL
POKE &HFE3B7F04, 160

REM VDM PMSHELL
POKE &HFE3B626A, 160
POKE &HFE3B63B0, 160

REM CAD-POP PMSHELL
POKE &HFE3BC26C, 160

rem xwpdaemon pmshell
poke &HFE3B726A, 160

REM NDCTL PMSHELL
POKE &HFE3B9465, 160

rem harderr pmshell
rem POKE &HFE3B5B09, 160
rem POKE &HFE3B626A, 160


REM ERRORS CRASH
POKE &H1E101AE6, 211
REM 1AE1 1AEC EXPERIMENTALLLL  UN SIGNO 2D -
POKE &H1CB41AEC, 211
POKE &H1CB41C82, 211
POKE &H1682DA77, 211
POKE &H1E101AE6, 211

REM IMPORTANTES MEMORIA AGOTADA
poke &H1CB41AE1, 160
POKE &H1CCA1AE1, 160

rem errores de los trp
POKE &H001AF5F3, 20
POKE &H001AD083, 20
POKE &H001AB173, 20

REM POKE &H0013C4DF, 20
rem POKE &H0013C4FF, 20 falla con las descargas se cierra
rem POKE &H0013C5E4, 20 ciclo infinito no mejora



    REM midi 92b8
    REM POKE &HB96792B8, 211
   REM mouse 51b8
   REM POKE &HFCC051B8, 211

REM   POKE &HFFEC8082, 160
REM   POKE &HFFEC830F, 160
REM   POKE &HFFEC8333, 160
REM   POKE &HFFEC843D, 160
REM    POKE &HFFEC8464, 160
REM   POKE &HFFEC84BA, 160
REM   POKE &HFFEC8532, 160
REM   POKE &HFFEC8543, 160
REM   POKE &HFFEC86C2, 160
REM   POKE &HFFEC876B, 160
REM   POKE &HFFEC877C, 160
REM   POKE &HFFEC884B, 160
REM   POKE &HFFEC886E, 160
REM   POKE &HFFEC88CA, 160
REM   POKE &HFFEC8AD6, 160
REM   POKE &HFFEC8C8A, 160
REM   POKE &HFFEC8C90, 160
REM   POKE &HFFEC8F1E, 160
REM   POKE &HFFEC8F73, 160
REM   POKE &HFFEC8FA3, 160
REM   POKE &HFFEC8FEB, 160
REM   POKE &HFFEC9092, 160
REM   POKE &HFFEC90F0, 160
REM   POKE &HFFEC91CF, 160
REM   POKE &HFFEC9242, 160
REM   POKE &HFFEC92A0, 160
REM   POKE &HFFEC92EC, 160
REM   POKE &HFFEC9450, 160
REM   POKE &HFFEC9562, 160
REM   POKE &HFFEC958E, 160



NEXT a
END





Uuuh I do understand the code of your basic script. But I have no clue how this fixes the kernel trap.
How can do stuff from DOS VDM process ?

I made a memory dump and based on what I have seen in PMDF. If could be wrong...
Theseus used to have its own driver for debugging purposes. That driver was later integrated in the kernel by IBM.
When you double click on USBMON something triggers an error in the kernel and that is why the system blows up with a TRAP.
But my analyses could be wrong.

Roderick

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 77
  • Posts: 832
  • Karma: +24/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #13 on: May 24, 2021, 07:47:47 pm »
I also do not understand, why on Martin's system USBMON is started as a child process of pmshell.exe.
On my system it is started without a parent, that is, as a detached process.

I am running eCS 2.2b as a VirtualBox guest, with a W4 14.201 kernel, I have my own USB driver stack installed but I don't see how the USB stack would make a difference.

It works for me. No trap when double clicking USBMON.

« Last Edit: May 24, 2021, 07:53:40 pm by Lars »

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 77
  • Posts: 832
  • Karma: +24/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #14 on: May 24, 2021, 08:07:46 pm »
The Theseus program, when I click twice on the USBMON it generates a TRAP.
If someone is not produced any TRAP, let them tell me and I will tell them what I want.

I leave you this patch, it runs in a DOS session, starting it with Qbasic, at the beginning of the system boot.
 It's not finished, it's experimental, but it seems to work. In some computers it produces an overflow error and it is not possible to execute it.
The name for the file is pk-r05.bas
Code: [Select]
CLS
DATA long a
PRINT "ejecutando pk-r00..."
REM swap 2048 2048
FOR a = 1 TO 100000
REM no quitar la linea print o se generara el error wifi on off
 PRINT a
REM  POKE &HFFEBCBDD, 0
REM  POKE &HFFEBCBDD, 0


REM overflow POKE &HFFEBC821, 160
POKE &HFFEBC974, 53
POKE &HFFEBCA6D, 53
POKE &HFFEBCFB9, 53
POKE &HFFEBD594, 53
POKE &HFFEBD6E0, 53
POKE &HFFEBD6F4, 53
   POKE &HFFEBDD3C, 53
   POKE &HFFEC4C2C, 53

 REM MMHELP
 POKE &HFBB1A323, 20
REM A4A4 ARREGLA BARRA NEGRA EN TRUE SPECTRA
 POKE &HFBB1A4A4, 20
 POKE &HFBB1A639, 20
 POKE &HFBB1A6E2, 20

 POKE &HFBB1A7F7, 20
 POKE &HFBB1B887, 20
 POKE &HFBB1F7E5, 20
 POKE &HFBB218B0, 20

 REM ASWITCH
 POKE &H11898, 20
 POKE &H118F2, 20
 POKE &H11951, 20

REM FREEMEMR
POKE &H1F321B66, 20
POKE &H1F321C24, 20
POKE &H1F321C51, 20
POKE &H1F321DA8, 20
POKE &H1F321E9C, 20
POKE &H1F321EC0, 20
REM POKE &H1F321F31, 20
POKE &H1F321FC9, 20
POKE &H1F322090, 20
POKE &H1F32245A, 20
POKE &H1F3224EF, 20
POKE &H1F3225A3, 20
POKE &H1F3225AB, 20
POKE &H1F3226A7, 20
POKE &H1F322766, 20
POKE &H1F322904, 20
POKE &H1F322A24, 20
POKE &H1F322AAC, 20
POKE &H1F322B60, 20
POKE &H1F322B82, 20
POKE &H1F322BDE, 20
POKE &H1F322CC0, 20
POKE &H1F322DBE, 20
POKE &H1F322DE9, 20
POKE &H1F322DFC, 20
POKE &H1F322E0D, 20
POKE &H1F322E41, 20
POKE &H1F322E7A, 20
POKE &H1F322EAD, 20
POKE &H1F322ECC, 20
POKE &H1F322EE9, 20
POKE &H1F322F5B, 20
POKE &H1F322FC3, 20
POKE &H1F32303F, 20
POKE &H1F3230B4, 20
POKE &H1F323108, 20
POKE &H1F323173, 20
POKE &H1F3231C8, 20
POKE &H1F3231D9, 20
POKE &H1F323253, 20
POKE &H1F323261, 20
POKE &H1F3232E5, 20
POKE &H1F323449, 20
POKE &H1F3234B6, 20

REM GRE2VMAN PMSHELL
POKE &H1F371B66, 160
POKE &H1F371C24, 160
POKE &H1F371C51, 160
POKE &H1F371E9C, 160
POKE &H1F371EC0, 160
POKE &H1F371F31, 160
POKE &H1F372090, 160
REM POKE &H1F37245A, 160
REM POKE &H1F3724EF, 160
REM POKE &H1F3725A3, 160
REM POKE &H1F3725AB, 160

REM PNCLOCK PMSHELL
POKE &HFE3B7F04, 160

REM VDM PMSHELL
POKE &HFE3B626A, 160
POKE &HFE3B63B0, 160

REM CAD-POP PMSHELL
POKE &HFE3BC26C, 160

rem xwpdaemon pmshell
poke &HFE3B726A, 160

REM NDCTL PMSHELL
POKE &HFE3B9465, 160

rem harderr pmshell
rem POKE &HFE3B5B09, 160
rem POKE &HFE3B626A, 160


REM ERRORS CRASH
POKE &H1E101AE6, 211
REM 1AE1 1AEC EXPERIMENTALLLL  UN SIGNO 2D -
POKE &H1CB41AEC, 211
POKE &H1CB41C82, 211
POKE &H1682DA77, 211
POKE &H1E101AE6, 211

REM IMPORTANTES MEMORIA AGOTADA
poke &H1CB41AE1, 160
POKE &H1CCA1AE1, 160

rem errores de los trp
POKE &H001AF5F3, 20
POKE &H001AD083, 20
POKE &H001AB173, 20

REM POKE &H0013C4DF, 20
rem POKE &H0013C4FF, 20 falla con las descargas se cierra
rem POKE &H0013C5E4, 20 ciclo infinito no mejora



    REM midi 92b8
    REM POKE &HB96792B8, 211
   REM mouse 51b8
   REM POKE &HFCC051B8, 211

REM   POKE &HFFEC8082, 160
REM   POKE &HFFEC830F, 160
REM   POKE &HFFEC8333, 160
REM   POKE &HFFEC843D, 160
REM    POKE &HFFEC8464, 160
REM   POKE &HFFEC84BA, 160
REM   POKE &HFFEC8532, 160
REM   POKE &HFFEC8543, 160
REM   POKE &HFFEC86C2, 160
REM   POKE &HFFEC876B, 160
REM   POKE &HFFEC877C, 160
REM   POKE &HFFEC884B, 160
REM   POKE &HFFEC886E, 160
REM   POKE &HFFEC88CA, 160
REM   POKE &HFFEC8AD6, 160
REM   POKE &HFFEC8C8A, 160
REM   POKE &HFFEC8C90, 160
REM   POKE &HFFEC8F1E, 160
REM   POKE &HFFEC8F73, 160
REM   POKE &HFFEC8FA3, 160
REM   POKE &HFFEC8FEB, 160
REM   POKE &HFFEC9092, 160
REM   POKE &HFFEC90F0, 160
REM   POKE &HFFEC91CF, 160
REM   POKE &HFFEC9242, 160
REM   POKE &HFFEC92A0, 160
REM   POKE &HFFEC92EC, 160
REM   POKE &HFFEC9450, 160
REM   POKE &HFFEC9562, 160
REM   POKE &HFFEC958E, 160



NEXT a
END





Uuuh I do understand the code of your basic script. But I have no clue how this fixes the kernel trap.
How can do stuff from DOS VDM process ?

I made a memory dump and based on what I have seen in PMDF. If could be wrong...
Theseus used to have its own driver for debugging purposes. That driver was later integrated in the kernel by IBM.
When you double click on USBMON something triggers an error in the kernel and that is why the system blows up with a TRAP.
But my analyses could be wrong.

Roderick

The trap happens in a 32-bit kernel function called "THEPtdaFile_get". I am sure that "THE" stands for Theseus, so it is exactly as you suspected: a Theseus helper function implemented in the kernel fails. Guessing from the name, the function tries to query the PTDA address (per task data area) from the load path or some such. It traps because the ESI register contains a nonsense value. It should contain a proper flat address (either private or shared) but in both trap cases, it doesn't.