Some minor changes
This commit is contained in:
@@ -91,7 +91,6 @@ EXTSYM Change_Drive,Change_Single_Dir,Change_Dir,Get_Dir,Get_First_Entry
|
|||||||
EXTSYM Get_Next_Entry,Set_DTA_Address,timer2upd,curexecstate,TripBufAvail
|
EXTSYM Get_Next_Entry,Set_DTA_Address,timer2upd,curexecstate,TripBufAvail
|
||||||
EXTSYM nmiprevaddrl,nmiprevaddrh,nmirept,nmiprevline,nmistatus,spcnumread
|
EXTSYM nmiprevaddrl,nmiprevaddrh,nmirept,nmiprevline,nmistatus,spcnumread
|
||||||
EXTSYM NextLineCache,VidStartDraw,ResetTripleBuf,GUINGVID
|
EXTSYM NextLineCache,VidStartDraw,ResetTripleBuf,GUINGVID
|
||||||
;EXTSYM OSPort
|
|
||||||
EXTSYM ScanCodeListing,AdjustFrequency,GUISaveVars,Init_Mouse
|
EXTSYM ScanCodeListing,AdjustFrequency,GUISaveVars,Init_Mouse
|
||||||
EXTSYM Get_MouseData,Set_MouseXMax,Set_MouseYMax,Set_MousePosition,Get_MousePositionDisplacement
|
EXTSYM Get_MouseData,Set_MouseXMax,Set_MouseYMax,Set_MousePosition,Get_MousePositionDisplacement
|
||||||
EXTSYM GUIInit,GUIDeInit,SpecialLine
|
EXTSYM GUIInit,GUIDeInit,SpecialLine
|
||||||
@@ -593,7 +592,7 @@ NEWSYM TrapMouseCursor, db 1
|
|||||||
NEWSYM KeyQuickClock, dd 0
|
NEWSYM KeyQuickClock, dd 0
|
||||||
NEWSYM KeyQuickSaveSPC, dd 0
|
NEWSYM KeyQuickSaveSPC, dd 0
|
||||||
NEWSYM AutoIncSaveSlot, db 0
|
NEWSYM AutoIncSaveSlot, db 0
|
||||||
NEWSYM TCPIPAddress, db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
NEWSYM TCPIPAddress, times 29 db 0
|
||||||
NEWSYM SoundInterpType, db 2
|
NEWSYM SoundInterpType, db 2
|
||||||
NEWSYM KeyDisplayFPS, dd 0
|
NEWSYM KeyDisplayFPS, dd 0
|
||||||
NEWSYM KeyIncStateSlot, dd 0
|
NEWSYM KeyIncStateSlot, dd 0
|
||||||
@@ -607,9 +606,9 @@ NEWSYM ForceHiLoROM, db 0
|
|||||||
NEWSYM CombinDataGlob, times 3300 db 0 ; 20-name, 42-combo, 2-key#, 1-P#, 1-ff
|
NEWSYM CombinDataGlob, times 3300 db 0 ; 20-name, 42-combo, 2-key#, 1-P#, 1-ff
|
||||||
NEWSYM CombinDataLocl, times 3300 db 0
|
NEWSYM CombinDataLocl, times 3300 db 0
|
||||||
|
|
||||||
GUIwinorder db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
GUIwinorder times 18 db 0
|
||||||
GUIwinpos db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
GUIwinpos times 18 db 0
|
||||||
GUIwinactiv db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
GUIwinactiv times 18 db 0
|
||||||
DialNumber times 40 db 0
|
DialNumber times 40 db 0
|
||||||
ViewBuffer times 50*32 db 0
|
ViewBuffer times 50*32 db 0
|
||||||
NEWSYM ModemInitStat, db 0
|
NEWSYM ModemInitStat, db 0
|
||||||
@@ -696,7 +695,6 @@ NEWSYM cheatdata, times 28*255+56 db 0 ; toggle, value, address, pvalue, name(22
|
|||||||
NEWSYM GUIcurrentdir, times 131 db 0
|
NEWSYM GUIcurrentdir, times 131 db 0
|
||||||
|
|
||||||
numdrives dd 26
|
numdrives dd 26
|
||||||
gotoroot db '\',0
|
|
||||||
curgsval db 0
|
curgsval db 0
|
||||||
SubPalTable times 256 db 1 ; Corresponding Gray Scale Color
|
SubPalTable times 256 db 1 ; Corresponding Gray Scale Color
|
||||||
WhichRemote dd 0 ; Modem = 1, IPX = 2, TCP/IP = 4
|
WhichRemote dd 0 ; Modem = 1, IPX = 2, TCP/IP = 4
|
||||||
@@ -745,30 +743,18 @@ NEWSYM TRVal2, dw 0
|
|||||||
NEWSYM TGVal2, dw 0
|
NEWSYM TGVal2, dw 0
|
||||||
NEWSYM TBVal2, dw 0
|
NEWSYM TBVal2, dw 0
|
||||||
|
|
||||||
|
|
||||||
;ModemProcess db 0 ; Shows current dial/answer process
|
|
||||||
;ModemPTimer db 0 ; Timer for modem process
|
|
||||||
|
|
||||||
%macro stim 0
|
%macro stim 0
|
||||||
; cmp byte[OSPort],1
|
|
||||||
; ja %%nosti
|
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
sti
|
sti
|
||||||
%endif
|
%endif
|
||||||
;%%nosti
|
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%macro clim 0
|
%macro clim 0
|
||||||
; cmp byte[OSPort],1
|
|
||||||
; ja %%nocli
|
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
cli
|
cli
|
||||||
%endif
|
%endif
|
||||||
;%%nocli
|
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
clearsram:
|
clearsram:
|
||||||
push eax
|
push eax
|
||||||
push ecx
|
push ecx
|
||||||
@@ -816,22 +802,16 @@ GUIQuickLoadUpdate:
|
|||||||
mov byte[GUIPrevMenuData.onoff+17],'F'
|
mov byte[GUIPrevMenuData.onoff+17],'F'
|
||||||
.on
|
.on
|
||||||
mov esi,prevloadfnamel
|
mov esi,prevloadfnamel
|
||||||
; cmp byte[OSPort],2
|
|
||||||
; jae .notdos
|
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
mov esi,prevloadnames
|
mov esi,prevloadnames
|
||||||
%endif
|
%endif
|
||||||
;.notdos
|
|
||||||
mov edi,GUIPrevMenuData+3
|
mov edi,GUIPrevMenuData+3
|
||||||
mov edx,10
|
mov edx,10
|
||||||
.mainloop
|
.mainloop
|
||||||
mov ecx,25
|
mov ecx,25
|
||||||
; cmp byte[OSPort],2
|
|
||||||
; jae .notdos3
|
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
mov ecx,16
|
mov ecx,16
|
||||||
%endif
|
%endif
|
||||||
;.notdos3
|
|
||||||
push edi
|
push edi
|
||||||
push esi
|
push esi
|
||||||
cmp byte[esi],32
|
cmp byte[esi],32
|
||||||
@@ -870,12 +850,9 @@ GUIQuickLoadUpdate:
|
|||||||
pop esi
|
pop esi
|
||||||
pop edi
|
pop edi
|
||||||
add esi,512 ;16
|
add esi,512 ;16
|
||||||
; cmp byte[OSPort],2
|
|
||||||
; jae .notdos2
|
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
sub esi,512-16
|
sub esi,512-16
|
||||||
%endif
|
%endif
|
||||||
;.notdos2
|
|
||||||
add edi,32
|
add edi,32
|
||||||
dec edx
|
dec edx
|
||||||
jnz near .mainloop
|
jnz near .mainloop
|
||||||
|
|||||||
@@ -91,10 +91,10 @@ extern BYTE GUIOn2;
|
|||||||
static BYTE IsActivated = 1;
|
static BYTE IsActivated = 1;
|
||||||
|
|
||||||
/* TIMER VARIABLES/MACROS */
|
/* TIMER VARIABLES/MACROS */
|
||||||
#define UPDATE_TICKS_GAME (1000/59.95) // milliseconds per world update
|
#define UPDATE_TICKS_GAME (1000.0/59.95)// milliseconds per world update
|
||||||
#define UPDATE_TICKS_GAMEPAL (20) // milliseconds per world update
|
#define UPDATE_TICKS_GAMEPAL (20) // milliseconds per world update
|
||||||
#define UPDATE_TICKS_GUI (1000/36.0) // milliseconds per world update
|
#define UPDATE_TICKS_GUI (1000.0/36.0) // milliseconds per world update
|
||||||
#define UPDATE_TICKS_UDP (1000/60) // milliseconds per world update
|
#define UPDATE_TICKS_UDP (1000.0/60.0) // milliseconds per world update
|
||||||
|
|
||||||
int T60HZEnabled = 0;
|
int T60HZEnabled = 0;
|
||||||
int T36HZEnabled = 0;
|
int T36HZEnabled = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user