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

roberto

  • Hero Member
  • *****
  • Thank You
  • -Given: 19
  • -Receive: 13
  • Posts: 627
  • Karma: +1/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #30 on: July 01, 2021, 04:40:31 pm »
Much better, but still incomplete:
Code: [Select]
CLS
REM PKR06PI.BAS PASA A 09
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

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 ERA  UNIAUD32SYS
  POKE &H0F000A08, 238
  POKE &H0F000A09, 238
  POKE &H0F000A0A, 238
  POKE &H0F000A0B, 238
  poke &H0F000100, 238
  poke &H0F000050, 238
REM RALENTIZA TIEMPOS PERO NO FALLA  POKE &H0000B64D, 238

REM FAT32 SONIDO ++
POKE &HFB837F09, 238
POKE &HFB83810D, 238
POKE &HFB838175, 238
POKE &HFB838340, 238
POKE &HFB838402, 238
POKE &HFB838414, 238
REM POKE &HFB8384CE, 238
REM POKE &HFB8384D6, 238

 rem cuelga POKE &H07476001, 238
rem es ok POKE &H0F000200, 238
 rem POKE &H0F005000, 238

rem POKE &HF000A09, 00

rem-- POKE &HF000A20, 238
rem  POKE &HF000A21, 124

rem-- POKE &HF000A306, 238
rem POKE &HF000A307, 11

 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 FREEMEMR EE A 160
POKE &HFBA696B3, 160
POKE &HFBA69A92, 160
 POKE &HFBA69B1F, 160
REM POKE &HFBA69BB8, 160

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

REM GRE2VMAN SONIDO EE
REM POKE &HFB92B719, 238
REM POKE &HFB92BE53, 238


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 TWOHAND
  POKE &HFE3B735C, 160
 POKE &HFE3B7AC4, 160
REM POKE &HFE3B9758, 160
REM POKE &HFE3BD940, 160


REM NDCTL PMSHELL
POKE &HFE3B9465, 160

REM USBMON PMSHELL
POKE &HFCF4A92C, 160
POKE &HFCF4B094, 160
REM POKE &HFCF4B7FC, 160
REM POKE &HFCF4BF64, 160
REM POKE &HFCF4C8E8, 160
REM POKE &HFCF4CE34, 160

REM PMSHELL PMSHELL
POKE &HFE3B5B09, 160
POKE &HFE3B626A, 160

REM VIDEOPMI   **SONIDO**MEJORA**LAS INTERRUPCIONES*****MEMORIA VIRTUAL UTILIZO MAS MEMORIA QUE HANTES NO PODIA ACCEDER!!!*****
POKE &HFB91C39A, 160
REM NOOO   POKE &HFB91C5F2, 160
POKE &HFB91C61F, 160
REM --- POKE &HFB91CCD0, 160
   POKE &HFB91CCDC, 160
REM  SONIDO PEOR POKE &HFB91CDE6, 160
REM  SONIDO TARTAMUDO POKE &HFB91D69E, 160
REM POKE &HFB91D76A, 160
REM POKE &HFB91D824, 160

REM VIDEOPMI SONIDO EE A 238
POKE &HFB91B88A, 238
POKE &HFB91BA03, 238
POKE &HFB91BE35, 238
POKE &HFB91BE8D, 238

POKE &HFB91BFC8, 238
POKE &HFB91C027, 238
POKE &HFB91C3CC, 238
POKE &HFB91C6CF, 238

POKE &HFB91C6DF, 238
POKE &HFB91C828, 238
POKE &HFB91CC11, 238
POKE &HFB91CC80, 238

POKE &HFB91D6DA, 238
POKE &HFB91D62E, 238


REM CUPS
POKE &HFE3B9EDA, 160
REM POKE &HFE3BB512, 160
POKE &HFE3BAD90, 160
REM POKE &HFE3BB448, 160
POKE &HFE3BB548, 160

REM XWPDAEMONM
POKE &HFE3B735C, 160
REM POKE &HFE3B7AC4, 160
REM POKE &HFE3B8DAC, 160

REM CACHEF32    SONIDO NO CRUSHHHHHH CRUSHHHHH CRUSHHH PERO MAS LENTO
POKE &HFB867804, 160
POKE &HFB868B79, 160
POKE &HFB868FFC, 160
POKE &HFB8694AC, 160


REM FREETYP6 AUMENTA VELOCIDAD
POKE &HFBAC0CB0, 160
POKE &HFBAC0EC5, 160
POKE &HFBAC18AF, 160
POKE &HFBAC2925, 160
POKE &HFBAC34A3, 160
POKE &HFBAC3B4A, 160
POKE &HFBAC3C4D, 160
POKE &HFBAC3D1C, 160
POKE &HFBAC42E7, 160
POKE &HFBAC42FA, 160
POKE &HFBAC445D, 160
POKE &HFBAC463E, 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
POKE &H17612EA2, 211

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

POKE &H1CB41B27, 160
POKE &H1CB41C49, 160
POKE &H1CB41C87, 160
POKE &H1CB41CA8, 160
POKE &H1CB41E1B, 160
POKE &H1CB41F48, 160
POKE &H1CB41FDB, 160
REM POKE &H1CB42044, 160
REM POKE &H1CB4205C, 160
REM POKE &H1CB420F9, 160

REM POKE &H1CB42199, 160
REM POKE &H1CB421AB, 160


rem errores de los trp
REM POKE &H001AF5F3, 20
REM POKE &H001AD083, 20
REM POKE &H001AB173, 20
REM POKE &H001AE690, 20
REM POKE &H001AF2C0, 20
REM POKE &H001AF3F0, 20
REM POKE &H001AD080, 20
REM POKE &H001AE348, 20

NEXT a
END




saludos

roberto

  • Hero Member
  • *****
  • Thank You
  • -Given: 19
  • -Receive: 13
  • Posts: 627
  • Karma: +1/-0
    • View Profile
Re: theseus 4.001 trap in usbmon
« Reply #31 on: July 09, 2021, 08:22:35 pm »
The idea of this was to try to combine image, sound and memory.
 They were very disarmonic.
 From Echo those differences are the ones that have helped me to look for the imbalances.
 Specly sound and mahjongg.

 As a curious fact, version09, or the previous one that I present,
 was the first time that I could play a complete game at mahnjogg,
 after having started a youtube.

 Now with version 11 that I present to you, mahjongg fails me.I hope that is only what is wrong.
The previous version 09, already showed how the memory was better freed when closing tabs
 in the browser.

 Also comment that the simplebrowser seems to like it,
  I would use it if it were not for the hits of the copy paste etc.

I have little tested but here it is:

PKR11PIr.BAS

It is optimized with this swapper:
SWAPPATH=C:\ 39 2048
Code: [Select]
CLS
REM PKR09PI.BAS PASA A 11
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

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 ERA  UNIAUD32SYS
  POKE &H0F000A08, 238
  POKE &H0F000A09, 238
  POKE &H0F000A0A, 238
  POKE &H0F000A0B, 238
  poke &H0F000100, 238
  poke &H0F000050, 238
REM RALENTIZA TIEMPOS PERO NO FALLA  POKE &H0000B64D, 238

REM FAT32 SONIDO ++
POKE &HFB837F09, 238
POKE &HFB83810D, 238
POKE &HFB838175, 238
POKE &HFB838340, 238
POKE &HFB838402, 238
POKE &HFB838414, 238
REM POKE &HFB8384CE, 238
REM POKE &HFB8384D6, 238

 rem cuelga POKE &H07476001, 238
rem es ok POKE &H0F000200, 238
 rem POKE &H0F005000, 238

rem POKE &HF000A09, 00

rem-- POKE &HF000A20, 238
rem  POKE &HF000A21, 124

rem-- POKE &HF000A306, 238
rem POKE &HF000A307, 11

 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 FREEMEMR EE A 160
POKE &HFBA696B3, 160
POKE &HFBA69A92, 160
 POKE &HFBA69B1F, 160
REM POKE &HFBA69BB8, 160

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

REM GRE2VMAN SONIDO EE
REM POKE &HFB92B719, 238
REM POKE &HFB92BE53, 238


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 TWOHAND
  POKE &HFE3B735C, 160
 POKE &HFE3B7AC4, 160
REM POKE &HFE3B9758, 160
REM POKE &HFE3BD940, 160


REM NDCTL PMSHELL
POKE &HFE3B9465, 160

REM USBMON PMSHELL
POKE &HFCF4A92C, 160
POKE &HFCF4B094, 160
REM POKE &HFCF4B7FC, 160
REM POKE &HFCF4BF64, 160
REM POKE &HFCF4C8E8, 160
REM POKE &HFCF4CE34, 160

REM PMSHELL PMSHELL
POKE &HFE3B5B09, 160
POKE &HFE3B626A, 160

REM VIDEOPMI   **SONIDO**MEJORA**LAS INTERRUPCIONES*****MEMORIA VIRTUAL UTILIZO MAS MEMORIA QUE HANTES NO PODIA ACCEDER!!!*****
POKE &HFB91C39A, 160
REM NOOO   POKE &HFB91C5F2, 160
POKE &HFB91C61F, 160
REM --- POKE &HFB91CCD0, 160
   POKE &HFB91CCDC, 160
REM  SONIDO PEOR POKE &HFB91CDE6, 160
REM  SONIDO TARTAMUDO POKE &HFB91D69E, 160
REM POKE &HFB91D76A, 160
REM POKE &HFB91D824, 160

REM VIDEOPMI SONIDO EE A 238
POKE &HFB91B88A, 238
POKE &HFB91BA03, 238
POKE &HFB91BE35, 238
POKE &HFB91BE8D, 238

POKE &HFB91BFC8, 238
POKE &HFB91C027, 238
POKE &HFB91C3CC, 238
POKE &HFB91C6CF, 238

POKE &HFB91C6DF, 238
POKE &HFB91C828, 238
POKE &HFB91CC11, 238
POKE &HFB91CC80, 238

POKE &HFB91D6DA, 238
POKE &HFB91D62E, 238


REM CUPS
POKE &HFE3B9EDA, 160
REM POKE &HFE3BB512, 160
POKE &HFE3BAD90, 160
REM POKE &HFE3BB448, 160
POKE &HFE3BB548, 160

REM XWPDAEMONM
POKE &HFE3B735C, 160
REM POKE &HFE3B7AC4, 160
REM POKE &HFE3B8DAC, 160

REM CACHEF32    SONIDO NO CRUSHHHHHH CRUSHHHHH CRUSHHH PERO MAS LENTO
POKE &HFB867804, 160
POKE &HFB868B79, 160
POKE &HFB868FFC, 160
POKE &HFB8694AC, 160


REM FREETYP6 AUMENTA VELOCIDAD
POKE &HFBAC0CB0, 160
POKE &HFBAC0EC5, 160
POKE &HFBAC18AF, 160
POKE &HFBAC2925, 160
POKE &HFBAC34A3, 160
POKE &HFBAC3B4A, 160
POKE &HFBAC3C4D, 160
POKE &HFBAC3D1C, 160
POKE &HFBAC42E7, 160
POKE &HFBAC42FA, 160
POKE &HFBAC445D, 160
POKE &HFBAC463E, 160

REM FREETYP6 EE A
POKE &HFBACDA25, 238
POKE &HFBACEDB3, 238
REM POKE &HFBACEE53, 238

REM USBMOUSE EE A 238
REM POKE &HFB8503A8, 238
rem POKE &HFB8521D4, 238

REM USBCALLS EE A 238
POKE &HFBA450F9, 238
POKE &HFBA45613, 238
POKE &HFBA460AE, 238
POKE &HFBA46CCD, 238
POKE &HFBA47583, 238
POKE &HFBA47C4A, 238
POKE &HFBA47CC7, 238
POKE &HFBA47DDE, 238
POKE &HFBA47E1A, 238
REM  INTERESANTE SIMPLEBROWSER POKE &HFBA48336, 238

REM POKE &HFBA484BD, 238
REM POKE &HFBA49AC4, 238
REM POKE &HFBA49B20, 238
REM POKE &HFBA49B26, 238
REM POKE &HFBA49B58, 238
REM POKE &HFBA49B5E, 238


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
POKE &H17612EA2, 211

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

POKE &H1CB41B27, 160
POKE &H1CB41C49, 160
POKE &H1CB41C87, 160
POKE &H1CB41CA8, 160
POKE &H1CB41E1B, 160
POKE &H1CB41F48, 160
POKE &H1CB41FDB, 160
REM POKE &H1CB42044, 160
REM POKE &H1CB4205C, 160
REM POKE &H1CB420F9, 160

REM POKE &H1CB42199, 160
REM POKE &H1CB421AB, 160


rem errores de los trp
REM POKE &H001AF5F3, 20
REM POKE &H001AD083, 20
REM POKE &H001AB173, 20
REM POKE &H001AE690, 20
REM POKE &H001AF2C0, 20
REM POKE &H001AF3F0, 20
REM POKE &H001AD080, 20
REM POKE &H001AE348, 20

NEXT a
END




Sometimes it still seems that it can be improved a little. Sound is my ally.
Basically I only do two things, modify the 5B and then (after ver 09) to focus on the sound
 I modify the EE.

saludos