read-status ( prev-status -- prev-status' status )


Vocabulary
midi.private

Inputs
prev-statusan object


Outputs
prev-status'an object
statusan object


Definition


: read-status ( prev-status -- prev-status' status )
peek1 dup 128 <
[ drop dup ] [ drop read1 dup 255 = [ nip dup ] unless ] if
;