Subversion Repositories Kolibri OS

Rev

Rev 7724 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7724 Rev 7902
Line 398... Line 398...
398
    cmp  ah,10
398
    cmp  ah,10
399
    jne  START
399
    jne  START
400
    xor  [new_style],1
400
    xor  [new_style],1
401
    jmp  upd
401
    jmp  upd
Line -... Line 402...
-
 
402
 
-
 
403
update_clock:
-
 
404
    mcall 22,0x00000000 
-
 
405
    call draw_clock	
Line 402... Line 406...
402
 
406
    jmp  still
403
 
407
 
404
reset:
408
reset:
405
    mcall 3
409
    mcall 3
406
    mov  ecx,eax
410
    mov  ecx,eax
407
    shl  ecx,16
-
 
408
    shr  ecx,16
411
    shl  ecx,16
Line 409... Line 412...
409
    mcall 22,0x00000000 
412
    shr  ecx,16
410
    jmp  still
413
    jmp  update_clock
411
 
414
 
412
plus_hd:
415
plus_hd:
413
    mcall 3
-
 
414
    mov  ecx,eax
416
    mcall 3
Line 415... Line 417...
415
    add  ecx,1
417
    mov  ecx,eax
416
    mcall 22,0x00000000 
418
    add  ecx,1
417
    jmp  still
419
    jmp  update_clock
418
 
420
 
419
plus_he:
-
 
420
    mcall 3
421
plus_he:
Line 421... Line 422...
421
    mov  ecx,eax
422
    mcall 3
422
    add  ecx,16
423
    mov  ecx,eax
423
    mcall 22,0x00000000 
424
    add  ecx,16
424
    jmp  still
425
    jmp  update_clock
425
 
-
 
426
minus_hd:
426
 
Line 427... Line 427...
427
    mcall 3
427
minus_hd:
428
    mov  ecx,eax
428
    mcall 3
429
    sub  ecx,1
429
    mov  ecx,eax
430
	mcall 22,0x00000000
430
    sub  ecx,1
431
    jmp  still
-
 
432
 
431
    jmp  update_clock
Line 433... Line 432...
433
minus_he:
432
 
434
    mcall 3
433
minus_he:
435
    mov  ecx,eax
434
    mcall 3
436
    sub  ecx,16
435
    mov  ecx,eax
437
	mcall 22,0x00000000 
-
 
438
    jmp  still
436
    sub  ecx,16
Line 439... Line 437...
439
 
437
    jmp  update_clock
440
plus_md:
438
 
441
    mcall 3
439
plus_md:
442
    mov  ecx,eax
440
    mcall 3
443
    add  ecx,256
-
 
444
	mcall 22,0x00000000 
441
    mov  ecx,eax
Line 445... Line 442...
445
    jmp  still
442
    add  ecx,256
446
 
443
    jmp  update_clock
447
plus_me:
444
 
448
    mcall 3
445
plus_me:
449
    mov  ecx,eax
-
 
450
    add  ecx,4096
446
    mcall 3
Line 451... Line 447...
451
    mcall 22,0x00000000 
447
    mov  ecx,eax
452
    jmp  still
448
    add  ecx,4096
453
 
449
    jmp  update_clock
454
minus_md:
450
 
455
    mcall 3
-
 
456
    mov  ecx,eax
451
minus_md:
Line 457... Line 452...
457
    sub  ecx,256
452
    mcall 3
458
    mcall 22,0x00000000
453
    mov  ecx,eax
459
    jmp  still
454
    sub  ecx,256
460
 
455
    jmp  update_clock