Hello. I have this code but I note that if I want to change the default exit key it doesn’t change it. Always is F10 no matter the value I put. If I override with the tool type QuitKey in the icon or command line I can do perfectly. but inside the source code of the slave not. What is overriding to always change to F10 the key in the source code or why it’s not applied? I have several time figuring what is the issue and I always opt to use the tool type QuitKey but now I need to enter the exit key in the source code not with the TooltType.
HTML Code:
INCDIR Includes:
INCLUDE whdload.i
INCLUDE whdmacros.i
INCLUDE lvo/dos.i
IFD BARFLY
OUTPUT "wart:e/xxx/xxx.Slave"
BOPT O+ ;enable optimizing
BOPT OG+ ;enable optimizing
BOPT ODd- ;disable mul optimizing
BOPT ODe- ;disable mul optimizing
BOPT w4- ;disable 64k warnings
SUPER
ENDC
;============================================================================
CHIPMEMSIZE = $80000 ;size of chip memory
FASTMEMSIZE = $80000 ;size of fast memory
NUMDRIVES = 1 ;amount of floppy drives to be configured
WPDRIVES = %0000 ;write protection of floppy drives
BLACKSCREEN ;set all initial colors to black
;BOOTBLOCK ;enable _bootblock routine
BOOTDOS ;enable _bootdos routine
;BOOTEARLY ;enable _bootearly routine
;CBDOSLOADSEG ;enable _cb_dosLoadSeg routine
CBDOSREAD ;enable _cb_dosRead routine
;CBKEYBOARD ;enable _cb_keyboard routine
;CACHE ;enable inst/data cache for fast memory with MMU
CACHECHIP ;enable inst cache for chip/fast memory
;CACHECHIPDATA ;enable inst/data cache for chip/fast memory
;DEBUG ;add more internal checks
;DISKSONBOOT ;insert disks in floppy drives
;DOSASSIGN ;enable _dos_assign routine
;FONTHEIGHT = 8 ;enable 80 chars per line
HDINIT ;initialize filesystem handler
;HRTMON ;add support for HrtMON
IOCACHE = 28000 ;cache for the filesystem handler (per fh)
;MEMFREE = $200 ;location to store free memory counter
;NEEDFPU ;set requirement for a fpu
;POINTERTICKS = 1 ;set mouse speed
;SETPATCH ;enable patches from SetPatch 1.38
;SNOOPFS ;trace filesystem handler
;STACKSIZE = 6000 ;increase default stack
;TRDCHANGEDISK ;enable _trd_changedisk routine
;============================================================================
slv_Version = 16
slv_Flags = WHDLF_NoError|WHDLF_Examine
slv_keyexit = $5d ;F10
;============================================================================
INCLUDE Sources:whdload/kick13.s
;============================================================================
IFD BARFLY
IFND .passchk
DOSCMD "WDate >T:date"
.passchk
ENDC
ENDC
slv_name dc.b "xxx",0
slv_copy dc.b "xxx",0
slv_info dc.b "xxx",10
dc.b "xxx"
IFD BARFLY
INCBIN "T:date"
ENDC
dc.b 0
slv_CurrentDir dc.b "data",0
_runit dc.b "runit",0
_args dc.b "xxx",10
_args_end dc.b 0
EVEN
;============================================================================
_start ; A0 = resident loader
;============================================================================
_bootdos