Jump to content

Dietmar

Member
  • Posts

    1,124
  • Joined

  • Last visited

  • Days Won

    5
  • Donations

    0.00 USD 
  • Country

    Germany

Posts posted by Dietmar

  1. @user57

    Not really. I have only 256 KB Cache Ram chips. With this, I can use with "Write Through" only 64 MB from the 256 installed MB.

    This you can see in Task Manager. XP shows the full 256 MB, but now uses only the cached 64MB from it.

    I order from China 1024 KB Cache chips for few Euro, but they arrive here only in May

    Dietmar

     

    PS: I notice a funny behavior: When I make a first try to install XP SP3 on a 486 cpu, this works but later I get a message,

    that "NULL" was not found, but the 486 compi works. Via this way, in "System" no entry for cpu or ram.

    But when I use the install from my Asrock z370 k6 board, it shows the correct ram and also the correct 100MHZ 486 cpu from AMD.

    And I notice, that there exists at least 2 different IDE controller for the Shuttle Hot 433 board, vers. 1..3.

    They are NOT compatible. One uses ESDI IDE(???) and the other the normal IDE.

    So, I can not make a generic XP SP3 here for all of them for download, because I have only one harddisk with 8.4 GB

    and so everything for this needs to be done at least 2 times.

  2. Yessaaaa:cheerleader:,

    now the simulation of cmpxchg8b is much better, here in ntoskrnl.exe

    Dietmar

    New ntoskrnl.exe for 486 compi

    https://ufile.io/3e0u7qi7

    .data:004762F2 ; Exported entry   8. ExInterlockedPopEntrySList
    .data:004762F2 ; Exported entry  36. InterlockedPopEntrySList
    .data:004762F2
    .data:004762F2 ; =============== S U B R O U T I N E =======================================
    .data:004762F2
    .data:004762F2
    .data:004762F2                 public ExInterlockedPopEntrySList
    .data:004762F2 ExInterlockedPopEntrySList proc near    ; CODE XREF: sub_40E06D+1DAp
    .data:004762F2                                         ; sub_41159B+8Ap ...
    .data:004762F2                 push    ebx             ; ExInterlockedPopEntrySList
    .data:004762F3                 push    ebp
    .data:004762F4                 mov     ebp, ecx
    .data:004762F6
    .data:004762F6 loc_4762F6:                             ; DATA XREF: .text:loc_40A835o
    .data:004762F6                                         ; KiDeliverApc+12o
    .data:004762F6                 mov     edx, [ebp+4]
    .data:004762F9                 mov     eax, [ebp+0]
    .data:004762FC
    .data:004762FC loc_4762FC:                             ; CODE XREF: ExInterlockedPopEntrySList+18j
    .data:004762FC                                         ; ExInterlockedPopEntrySList+23j
    .data:004762FC                 or      eax, eax
    .data:004762FE                 jz      short loc_476317
    .data:00476300                 lea     ecx, [edx-1]
    .data:00476303
    .data:00476303 loc_476303:                             ; DATA XREF: sub_40A552:loc_40A55Bo
    .data:00476303                                         ; .text:loc_40A747o
    .data:00476303                 mov     ebx, [eax]
    .data:00476305
    .data:00476305 loc_476305:                             ; DATA XREF: KiDeliverApc+1Bo
    .data:00476305                 lock cmpxchg [ebp+0], ebx
    .data:0047630A                 jnz     short loc_4762FC
    .data:0047630C                 push    eax
    .data:0047630D                 mov     eax, edx
    .data:0047630F                 lock cmpxchg [ebp+4], ecx
    .data:00476314                 pop     eax
    .data:00476315                 jnz     short loc_4762FC
    .data:00476317
    .data:00476317 loc_476317:                             ; CODE XREF: ExInterlockedPopEntrySList+Cj
    .data:00476317                 pop     ebp
    .data:00476318                 pop     ebx
    .data:00476319                 nop
    .data:0047631A                 nop
    .data:0047631B                 nop
    .data:0047631C                 nop
    .data:0047631D                 nop
    .data:0047631E                 nop
    .data:0047631F                 retn
    .data:0047631F ExInterlockedPopEntrySList endp
    .data:0047631F
    .data:0047631F ; ---------------------------------------------------------------------------

     

  3. @roytam1

    On my Asrock z370 k6 board with 8700k cpu all my files without any cmpxchg8b are stable.

    But this is not the case for the 486 cpu.

    Strange.

    I think, it depends only on the simulation of cmpxchg8b in ntoskrnl.exe in the function ExInterlockedPopEntrySList.

    But I dont have a better idea until now for this simulation of cmpxchg8b there

    Dietmar

  4. Here are 2 photos of my Shuttle Hot 433 board, with running full XP SP3 on it.
    I notice, that even from version 1...3 of this board, they have different IDE controllers, so you cant switch from one board to next with the same XP SP3 installation. This strange behavior I have never seen for any IDE controller before.

    Next step is to build an full Setup XP486.iso.

    I make a try, to overcome also there the crazy opcode cmpxchg8b and also the "Unknown Processor" hurdle.

    Any help is welcome, which files on the xp.iso have to be changed, for to kick out those checks.

    It is not so much difficult I think.

    My files without any cmpxchg8b are quite stable, anyway I will update them and I also make an english version

    Dietmar

    20240421-174140.jpg

     

    20240421-175557.jpg

  5. Hi,

    does somebody know, where the question about cmpxchg8b "is there" in the XP.iso happens during Setup?

    And also the same for CPUID. May be, we can take a look at the XP SP1 source files for this question.

    I do a check, why my XP SP3 was so slow on the Shuttle Hot 433 board with AM486DX4-S cpu with 100 MHZ.

    Oh, XP SP3 gets only 32 MB from the 256 MB installed memory, I think, because of only 256k Cache.

    And half of memory because of "write-back" whatever this means for Cache^^..

    (should be full memory with Cache settings to write-through)

    So lets have some more fun with an install xp.iso for 486 cpu, 256 MB ram at 180 MHZ:)

    Dietmar

  6. @roytam1

    Windbg session in that x86 box?

    1.) Very early Bsod 0x0000005D, (unknown processor), no running bar of XP.

    2.) My serial connection does not work for this board.

    May be, because it does not use the standard configuration 0x3F8, IRQ 4 for the COM1 port.

    Dietmar

  7. @user57

    Until now I do not succeed to set up a Windbg session on my 486 board for XP SP3.

    May be, that the address of the COM1 port does not match?

    And I start to think, that not the CPUID of the 486 cpu is the reason for crash

    Dietmar

  8. @pappyN4

    Hi, I test all 3. None works.

    duser.dll_EN_5patchandchecksum_virtsizechange      BSOD very early, no running bar

    duser.dll_EN_5patchandchecksum_virtsizechange_rebuildPEheader     asks for Password, Device Manager not working

    duser.dll_EN_5patchandchecksum_virtsizechange_rebuildsize    asks for Password, Device Manager not working

    Wish you a nice day

    Dietmar

  9. Here comes modded comsvcs.dll without any lock cmpxchg8b qword ptr [esi].

    But I am not sure, if this modd is allowed. Even if it works,

    please, can somebody look, if this is ok

    Dietmar

    comsvcs.dll

    https://ufile.io/ci2szbsk

     

    Original
    
    .text:761521C1
    .text:761521C1 ; =============== S U B R O U T I N E =======================================
    .text:761521C1
    .text:761521C1 ; Attributes: bp-based frame
    .text:761521C1
    .text:761521C1 sub_761521C1    proc near               ; DATA XREF: .text:off_760A9CB4o
    .text:761521C1
    .text:761521C1 arg_0           = dword ptr  8
    .text:761521C1 arg_4           = dword ptr  0Ch
    .text:761521C1 arg_8           = dword ptr  10h
    .text:761521C1 arg_C           = dword ptr  14h
    .text:761521C1 arg_10          = dword ptr  18h
    .text:761521C1
    .text:761521C1                 mov     edi, edi
    .text:761521C3                 push    ebp
    .text:761521C4                 mov     ebp, esp
    .text:761521C6                 push    ebx
    .text:761521C7                 push    esi
    .text:761521C8                 mov     esi, [ebp+arg_0]
    .text:761521CB                 mov     eax, [ebp+arg_C]
    .text:761521CE                 mov     edx, [ebp+arg_10]
    .text:761521D1                 mov     ebx, [ebp+arg_4]
    .text:761521D4                 mov     ecx, [ebp+arg_8]
    .text:761521D7                 lock cmpxchg8b qword ptr [esi]
    .text:761521DB                 pop     esi
    .text:761521DC                 pop     ebx
    .text:761521DD                 pop     ebp
    .text:761521DE                 retn    14h
    .text:761521DE sub_761521C1    endp
    .text:761521DE
    .text:761521DE ; ---------------------------------------------------------------------------
    
    
    Modd
    
    .text:761521C1 ; =============== S U B R O U T I N E =======================================
    .text:761521C1
    .text:761521C1 ; Attributes: bp-based frame
    .text:761521C1
    .text:761521C1 sub_761521C1    proc near               ; DATA XREF: .text:off_760A9CB4o
    .text:761521C1
    .text:761521C1 arg_0           = dword ptr  8
    .text:761521C1 arg_4           = dword ptr  0Ch
    .text:761521C1 arg_8           = dword ptr  10h
    .text:761521C1 arg_C           = dword ptr  14h
    .text:761521C1 arg_10          = dword ptr  18h
    .text:761521C1
    .text:761521C1                 mov     edi, edi
    .text:761521C3                 push    ebp
    .text:761521C4                 mov     ebp, esp
    .text:761521C6                 push    ebx
    .text:761521C7                 push    esi
    .text:761521C8                 mov     esi, [ebp+arg_0]
    .text:761521CB                 mov     eax, [ebp+arg_C]
    .text:761521CE                 mov     edx, [ebp+arg_10]
    .text:761521D1                 mov     ebx, [ebp+arg_4]
    .text:761521D4                 mov     ecx, [ebp+arg_8]
    .text:761521D7                 call    sub_7617AB70
    .text:761521DC                 pop     ebx
    .text:761521DD                 pop     ebp
    .text:761521DE                 retn    14h
    .text:761521DE sub_761521C1    endp ; sp-analysis failed
    .text:761521DE
    .text:761521DE ; ---------------------------------------------------------------------------
    
    
    .text:7617AB70
    .text:7617AB70 ; =============== S U B R O U T I N E =======================================
    .text:7617AB70
    .text:7617AB70
    .text:7617AB70 sub_7617AB70    proc near               ; CODE XREF: sub_761521C1+16p
    .text:7617AB70                                         ; sub_7617AB70+4j
    .text:7617AB70                 lock cmpxchg [esi], ebx
    .text:7617AB74                 jnz     short sub_7617AB70
    .text:7617AB76
    .text:7617AB76 loc_7617AB76:                           ; CODE XREF: sub_7617AB70+Fj
    .text:7617AB76                 push    eax
    .text:7617AB77                 mov     eax, edx
    .text:7617AB79                 lock cmpxchg [esi+4], ecx
    .text:7617AB7E                 pop     eax
    .text:7617AB7F                 jnz     short loc_7617AB76
    .text:7617AB81                 pop     esi
    .text:7617AB82                 nop
    .text:7617AB83                 nop
    .text:7617AB84                 nop
    .text:7617AB85                 nop
    .text:7617AB86                 nop
    .text:7617AB87                 nop
    .text:7617AB88                 nop
    .text:7617AB89                 nop
    .text:7617AB8A                 nop
    .text:7617AB8B                 nop
    .text:7617AB8C                 nop
    .text:7617AB8D                 nop
    .text:7617AB8E                 nop
    .text:7617AB8F                 retn
    .text:7617AB8F sub_7617AB70    endp ; sp-analysis failed
    .text:7617AB8F
    .text:7617AB8F ; ---------------------------------------------------------------------------
    

     

×
×
  • Create New...