This commit is contained in:
Kartik K. Agaram 2021-07-10 20:10:30 -07:00
parent 80023c3e54
commit a97a7cb8c4
4 changed files with 3 additions and 23 deletions

7
7f.pgm
View File

@ -1,7 +0,0 @@
P2
4 4
255
127 127 127 127
127 127 127 127
127 127 127 127
127 127 127 127

7
c0.pgm
View File

@ -1,7 +0,0 @@
P2
4 4
255
192 192 192 192
192 192 192 192
192 192 192 192
192 192 192 192

5
img.mu
View File

@ -27,8 +27,9 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
var img-storage: image
var img/esi: (addr image) <- address img-storage
load-image img, data-disk
render-image screen, img, 0/x, 0/y, 0x400/width, 0x400/height
#? render-image screen, img, 0x120/x, 0x180/y, 0x12c/width=300, 0xc8/height=200
#? render-image screen, img, 0/x, 0/y, 0x400/width, 0x400/height
render-image screen, img, 0x20/x, 0x180/y, 0x12c/width=300, 0xc8/height=200
render-pgm-image screen, img, 0x220/x, 0x180/y, 0x12c/width=300, 0xc8/height=200
#? render-image screen, img, 0x320/x, 0x280/y, 0x60/width=96, 0x1c/height=28
#? render-pgm-image screen, img, 0x1c0/x, 0x100/y, 0x12c/width=300, 0xc8/height=200

View File

@ -1,7 +0,0 @@
P2
4 4
255
255 255 255 255
255 255 255 255
255 255 255 255
255 255 255 255