reading image files in graphics adapter

This commit is contained in:
minjaesong
2022-04-06 17:09:27 +09:00
parent f992713e85
commit 4c19e19b8a
17 changed files with 1838 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
let s = []
for (let r=0;r<16;r++) {
for (let g=0;g<16;g++) {
for (let b=0;b<16;b++) {
let rb = r*16+r
let gb = g*16+r
let bb = b*16+r
s.push(rb,gb,bb)
}
}
}
filesystem.open("A","4096.data","W")
filesystem.writeBytes("A",s)