This commit is contained in:
parent
614d0ecff4
commit
bca7f834c3
|
@ -608,7 +608,6 @@ fn convert-graphemes-to-pixels _screen: (addr screen) {
|
||||||
# this is a situation where fake screens aren't faithful to real screens; we don't support overlap between graphemes and raw pixels
|
# this is a situation where fake screens aren't faithful to real screens; we don't support overlap between graphemes and raw pixels
|
||||||
compare tmp, 0
|
compare tmp, 0
|
||||||
break-if-=
|
break-if-=
|
||||||
abort "bb"
|
|
||||||
var g: grapheme
|
var g: grapheme
|
||||||
copy-to g, tmp
|
copy-to g, tmp
|
||||||
var tmp/eax: int <- screen-color-at screen, x, y
|
var tmp/eax: int <- screen-color-at screen, x, y
|
||||||
|
|
|
@ -28,6 +28,7 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
|
||||||
var second-screen/edi: (addr screen) <- address second-buffer
|
var second-screen/edi: (addr screen) <- address second-buffer
|
||||||
initialize-screen second-screen, 0x80, 0x30, 1/include-pixels
|
initialize-screen second-screen, 0x80, 0x30, 1/include-pixels
|
||||||
render second-screen, env
|
render second-screen, env
|
||||||
|
convert-graphemes-to-pixels second-screen
|
||||||
copy-pixels second-screen, screen
|
copy-pixels second-screen, screen
|
||||||
{
|
{
|
||||||
edit keyboard, env
|
edit keyboard, env
|
||||||
|
@ -36,7 +37,9 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
|
||||||
{
|
{
|
||||||
break-if-=
|
break-if-=
|
||||||
step env
|
step env
|
||||||
|
clear-screen second-screen
|
||||||
render second-screen, env
|
render second-screen, env
|
||||||
|
convert-graphemes-to-pixels second-screen
|
||||||
copy-pixels second-screen, screen
|
copy-pixels second-screen, screen
|
||||||
}
|
}
|
||||||
linger env
|
linger env
|
||||||
|
|
Loading…
Reference in New Issue