Changeset 148 for sbliveos2/trunk/drv32
- Timestamp:
- Apr 26, 2000, 8:01:02 PM (25 years ago)
- Location:
- sbliveos2/trunk/drv32
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/drv32/devhlp.asm
r142 r148 63 63 64 64 public GetTKSSBase 65 public iodelay32_ 65 66 extrn DevHlp : near 67 extrn DOSIODELAYCNT : ABS 66 68 67 69 ALIGN 4 … … 120 122 GetTKSSBase endp 121 123 124 iodelay32_ proc near 125 mov eax, DOSIODELAYCNT 126 align 4 127 @@: dec eax 128 jnz @b 129 loop iodelay32_ 130 ret 131 iodelay32_ endp 132 122 133 CODE32 ends 123 134 -
sbliveos2/trunk/drv32/impdos.def
r142 r148 50 50 DOSGETMACHINEMODE @49 51 51 DOSGETVERSION @92 52 DOSOPEN @7053 52 DOSQCURDIR @71 54 53 DOSQCURDISK @72 … … 59 58 DOS32FLATDS @370 60 59 DOS32FLATCS @369 60 DOSIODELAYCNT @427 -
sbliveos2/trunk/drv32/makefile.os2
r142 r148 35 35 36 36 !if "$(DEBUG)" == "1" 37 #CFLAGS = -dDEBUG -bt=os2v2 -e60 -hc -d2 -5r -i$(INC) -omlinear -s -w4 -xd -ze -zdp -zl -zq -nt=CODE32 -zff -zgf -zu -zp1 -mc 38 CFLAGS = -dDEBUG -bt=os2v2 -e60 -hc -d2 -5r -i$(INC) -omlinear -s -w4 -xd -ze -zdp -zl -zq -nt=CODE32 -zff -zgf -zp1 -mf -DKEE 37 CFLAGS = -dDEBUG -bt=os2v2 -e60 -hc -d2 -5r -i$(INC) -omlinear -s -w4 -xd -ze -zdp -zl -zq -nt=CODE32 -zff -zgf -zp1 38 ASFLAGS = -Mb -Li -Sv:M510 39 39 !else 40 #CFLAGS = -bt=os2v2 -e60 -5r -i$(INC) -omlinear -s -w4 -xd -ze -zdp -zl -zq -nt=CODE32 -zff -zgf -zu -zp1 -mc 41 CFLAGS = -bt=os2v2 -e60 -5r -i$(INC) -omlinear -s -w4 -xd -ze -zdp -zl -zq -nt=CODE32 -zff -zgf -zp1 -mf -DKEE 40 CFLAGS = -bt=os2v2 -e60 -5r -i$(INC) -omlinear -s -w4 -xd -ze -zdp -zl -zq -nt=CODE32 -zff -zgf -zp1 41 ASFLAGS = -Mb -Li -Sv:M510 42 !endif 43 44 !if "$(KEE)" == "1" 45 CFLAGS = $(CFLAGS) -mf -DKEE 46 ASFLAGS = $(ASFLAGS) -D:KEE 47 !else 48 CFLAGS = $(CFLAGS) -mc -zu 42 49 !endif 43 50 44 51 CC = WPP386 $(CFLAGS) $(IWC) 45 CCSMALL = WPP386 $(CFLAGS_SMALL) $(IWC)46 47 !if "$(DEBUG)" == "1"48 ASFLAGS = -Mb -Li -Sv:M510 -D:KEE49 !else50 ASFLAGS = -Mb -Li -Sv:M510 -D:KEE51 !endif52 52 ASM = alp $(ASFLAGS) $(INCA) 53 53 … … 92 92 FILE2 = strategy.obj 93 93 FILE3 = init.obj 94 FILE4 = devhlp.obj94 FILE4 = impmvdm.lib devhlp.obj 95 95 FILE5 = idc.obj dispatch.obj 96 96 FILE6 = impdos.lib 97 !if "$(KEE)" == "1" 97 98 FILE7 = impkee.lib 99 !endif 98 100 FILE8 = ..\sblive\sblive32.lib ..\lib32\linuxlib.lib 99 101 FILELAST = end.obj … … 116 118 @%write $^@ option description '@$#$(_VENDOR):$(_VERSION)$#@' 117 119 @%write $^@ option map=$(WMAPNAME) 120 @for %f in ($(FILES)) do @%append $^@ file %f 121 #!if "$(KEE)" == "1" 118 122 @%write $^@ import DOSIODELAYCNT DOSCALLS.427 119 @for %f in ($(FILES)) do @%append $^@ file %f123 #!endif 120 124 @%write $^@ library $(%WATCOM)\lib386\os2\clib3r.lib 121 125 … … 125 129 mapsym $(TARGET).MAP 126 130 copy $(TARGET).sys ..\bin 131 !ifdef KEE 132 copy $(TARGET).sys ..\bin\$(TARGET)kee.sys 133 !else 134 copy $(TARGET).sys ..\bin\$(TARGET)w4.sys 135 !endif 127 136 copy $(TARGET).sym ..\bin 128 137 129 138 clean: 130 del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap 139 del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lib 131 140 -
sbliveos2/trunk/drv32/startup.asm
r142 r148 190 190 public thunk3216_devhelp 191 191 public thunk3216_devhelp_modified_ds 192 public iodelay_193 192 extrn DOSOPEN : far 193 extrn DOSCLOSE : far 194 194 extrn DOSWRITE : far 195 extrn DOSCLOSE : far196 EXTRN DOSIODELAYCNT : ABS197 195 198 196 ;DEZE MOET ALS EERSTE blijven staan!!!! … … 379 377 lea dx, [bp - 2] 380 378 push dx 381 call far ptrDOSWRITE379 call DOSWRITE 382 380 383 381 pop eax … … 416 414 jmp far ptr FLAT:thunk1632_devhelp_modified_ds 417 415 418 iodelay_:419 db 0B8h420 dw DOSIODELAYCNT421 align 4422 @@: dec eax423 jnz @b424 loop iodelay_425 jmp far ptr FLAT:thunk1632_iodelay32_426 427 416 ;end of 16 bits code segment 428 417 __OffFinalCS16 label byte … … 441 430 public STRATEGY_ 442 431 public IDC_ 443 public iodelay32_444 public thunk1632_iodelay32_445 432 extrn SBLIVE_STRATEGY : near 446 433 extrn SBLIVE_IDC : near 434 IFDEF KEE 447 435 extrn KernThunkStackTo16 : near 448 436 extrn KernThunkStackTo32 : near 437 ENDIF 449 438 450 439 __OffBeginCS32: … … 511 500 DevHlp_ModifiedDS endp 512 501 513 iodelay32_ proc near514 jmp far ptr CODE16:iodelay_515 ALIGN 4516 thunk1632_iodelay32_:517 ret518 iodelay32_ endp519 520 502 STRATEGY_ proc far 521 503 push ds … … 616 598 public stacksel 617 599 618 __OffBeginDS32 600 __OffBeginDS32 dd 0 619 601 620 602 stacksel dd 0
Note:
See TracChangeset
for help on using the changeset viewer.