Ignore:
Timestamp:
Mar 10, 2015, 9:02:34 AM (11 years ago)
Author:
rousseau
Message:

Added support for JWasm

Set USE_JWASM=1 in the environment to use JWasm instead of Alp.

This is a quick hack as it does not use the existing JWASM.kmk
functionality of kBuild yet. So setting USE_JWASM:=1 in LocalConfig.kmk
will not work and JWasm must be somewhere in the PATH.

Location:
branches/swt/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/src/kernel32/FastInfoBlocksa.asm

    r21916 r22086  
    114114IFDEF __EMX__
    115115    extrn _16_Dos16GetInfoSeg:far
    116     call    _16_Dos16GetInfoSeg
     116    call far ptr    _16_Dos16GetInfoSeg
    117117ELSE
    118118    extrn DOS16GETINFOSEG:far
     
    121121    pop     dx                          ; sel LIS
    122122    pop     cx                          ; sel GIS
    123     jmp far ptr FLAT:Thunk32_fibInit
     123    jmp far ptr CODE32:Thunk32_fibInit
    124124CODE16 ends
    125125CODE32 segment
  • branches/swt/src/kernel32/asmutil.asm

    r21916 r22086  
    239239_clear_bit endp
    240240
     241ifndef __JWASM__
    241242rdtsc           macro
    242243                db      0Fh, 31h
    243244endm
     245endif
    244246
    245247                public  GetPentiumTSC
    246248GetPentiumTSC   proc    near
    247249                mov     ecx , [esp + 4]
     250ifndef __JWASM__
    248251                rdtsc
     252else
     253                .586p
     254                rdtsc
     255                .386p
     256endif
    249257                mov     [ecx] , eax
    250258                mov     [ecx + 4] , edx
Note: See TracChangeset for help on using the changeset viewer.