about summary refs log tree commit diff stats
path: root/subx/021byte_addressing.cc
Commit message (Expand)AuthorAgeFilesLines
* 4908Kartik Agaram2019-01-051-1/+37
* 4717Kartik Agaram2018-10-241-2/+2
* 4695Kartik Agaram2018-10-141-4/+4
* 4694Kartik Agaram2018-10-131-2/+2
* 4690Kartik Agaram2018-10-131-15/+68
* 4689Kartik Agaram2018-10-121-0/+63
<vc@akkartik.com> 2016-09-17 00:43:20 -0700 3380' href='/akkartik/mu/commit/display.mu?h=main&id=192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403'>192d59d3 ^
6a0f71b9 ^
e5e3640c ^
bc643692 ^

6a0f71b9 ^
bc643692 ^
12d73ee8 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
0012c703 ^
6a0f71b9 ^
290fe117 ^
54d48b25 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

                                       
          
              
               
                                               
                                                    
                           
                       

                               
                           
                             
                       
                           
                             
                           
                              
                           
                             
                           
                           
                           
               
 
# example program: managing the display

def main [
  open-console
  clear-display
  print-character-to-display 97, 1/red, 2/green
  1:num/raw, 2:num/raw <- cursor-position-on-display
  wait-for-some-interaction
  clear-line-on-display
  move-cursor-on-display 0, 4
  print-character-to-display 98
  wait-for-some-interaction
  move-cursor-on-display 0, 0
  clear-line-on-display
  wait-for-some-interaction
  move-cursor-down-on-display
  wait-for-some-interaction
  move-cursor-right-on-display
  wait-for-some-interaction
  move-cursor-left-on-display
  wait-for-some-interaction
  move-cursor-up-on-display
  wait-for-some-interaction
  close-console
]