Subversion Repositories Kolibri OS

Rev

Rev 198 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 198 Rev 214
Line 272... Line 272...
272
new_app_base	      equ 0x60400000;   0x01000000
272
new_app_base	      equ 0x60400000;   0x01000000
273
PROC_BASE	      equ OS_BASE+0x0080000
273
PROC_BASE	      equ OS_BASE+0x0080000
274
 
274
 
Line 275... Line 275...
275
public START
275
public START
276
public STOP
-
 
277
public service_proc
276
public service_proc
Line 278... Line 277...
278
 
277
 
279
extrn AttachIntHandler
278
extrn AttachIntHandler
280
extrn SysMsgBoardStr
279
extrn SysMsgBoardStr
Line 290... Line 289...
290
extrn GetCurrentTask
289
extrn GetCurrentTask
291
 
290
 
Line 292... Line 291...
292
section '.flat' code readable align 16
291
section '.flat' code readable align 16
Line -... Line 292...
-
 
292
 
-
 
293
proc START stdcall, state:dword
-
 
294
 
-
 
295
           mov eax, [state]
-
 
296
           cmp eax, 1
-
 
297
           je .entry
293
 
298
           jmp .stop
-
 
299
.entry:
294
START:
300
 
295
     if DEBUG
301
     if DEBUG
296
	   mov esi, msgInit
302
	   mov esi, msgInit
297
           call SysMsgBoardStr
303
           call SysMsgBoardStr
Line 366... Line 372...
366
	   mov esi, msgFail
372
	   mov esi, msgFail
367
           call SysMsgBoardStr
373
           call SysMsgBoardStr
368
     end if
374
     end if
369
	   xor eax, eax
375
	   xor eax, eax
370
STOP:
376
           ret
371
           ret
-
 
372
 
377
.stop:
-
 
378
           call stop
-
 
379
           mov [ctrl.user_callback], 0
-
 
380
           ret
-
 
381
endp
-
 
382
 
Line 373... Line 383...
373
handle     equ  IOCTL.handle
383
handle     equ  IOCTL.handle
374
io_code    equ  IOCTL.io_code
384
io_code    equ  IOCTL.io_code
375
input      equ  IOCTL.input
385
input      equ  IOCTL.input
376
inp_size   equ  IOCTL.inp_size
386
inp_size   equ  IOCTL.inp_size