Subversion Repositories Kolibri OS

Rev

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

Rev 6323 Rev 9980
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2010-2016. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2010-2024. All rights reserved.    ;;
4
;; Distributed under terms of the GNU General Public License       ;;
4
;; Distributed under terms of the GNU General Public License       ;;
5
;;                                                                 ;;
5
;;                                                                 ;;
6
;;  Written by hidnplayr@kolibrios.org                             ;;
6
;;  Written by hidnplayr@kolibrios.org                             ;;
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;          GNU GENERAL PUBLIC LICENSE                             ;;
8
;;          GNU GENERAL PUBLIC LICENSE                             ;;
Line 269... Line 269...
269
; Editbox doesnt allow us to filter input decently, so we do it here.
269
; Editbox doesnt allow us to filter input decently, so we do it here.
270
        cmp     ah, 13
270
        cmp     ah, 13
271
        je      .apply
271
        je      .apply
272
        cmp     ah, 8
272
        cmp     ah, 8
273
        je      @f
273
        je      @f
-
 
274
        cmp     ah, 0xb0        ; left arrow
-
 
275
        je      @f
-
 
276
        cmp     ah, 0xb3        ; right arrow
-
 
277
        je      @f
274
        cmp     ah, '.'
278
        cmp     ah, '.'
275
        je      @f
279
        je      @f
276
        cmp     ah, '0'
280
        cmp     ah, '0'
277
        jb      .loop
281
        jb      .loop
278
        cmp     ah, '9'
282
        cmp     ah, '9'