small clean up
This commit is contained in:
parent
667fb36489
commit
b85c4e1a83
6
vm.scm
6
vm.scm
|
@ -204,12 +204,12 @@
|
||||||
(if _2
|
(if _2
|
||||||
(let ((hi (_dei port))
|
(let ((hi (_dei port))
|
||||||
(lo (_dei (u8 (+ port 1)))))
|
(lo (_dei (u8 (+ port 1)))))
|
||||||
(_push2 (hilo->u16 hi lo)))
|
(_push1 hi) (_push1 lo))
|
||||||
(_push1 (_dei port)))))
|
(_push1 (_dei port)))))
|
||||||
(define (_dei port)
|
(define (_dei port)
|
||||||
(cond
|
(cond
|
||||||
((= 4 port) (_push1 (+ (car wst) 1)))
|
((= 4 port) (+ (car wst) 1))
|
||||||
((= 5 port) (_push1 (+ (car rst) 1)))
|
((= 5 port) (+ (car rst) 1))
|
||||||
((and (<= 192 port) (< port 208)) (_datetime (- port 192)))
|
((and (<= 192 port) (< port 208)) (_datetime (- port 192)))
|
||||||
(* (u8 (vector-ref dev port)))))
|
(* (u8 (vector-ref dev port)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue