From a1f3b823332a612df3207620113212d1f18081a1 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Thu, 8 Apr 2021 01:36:25 +0200 Subject: [PATCH] vtui update --- examples/cx16/vtui/VTUI0.8.BIN | Bin 1008 -> 1016 bytes examples/cx16/vtui/testvtui.p8 | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/cx16/vtui/VTUI0.8.BIN b/examples/cx16/vtui/VTUI0.8.BIN index 7202dac8961eb4e49e9ff76c595834fbbd59769f..0611db812ec3c5f2980cdedfe97e84740193bdad 100644 GIT binary patch delta 17 Zcmeys{)2tPduGm+3cbqn`;_M=002hv2WkKS delta 9 Qcmeyt{(*hNduGN202fLF`Tzg` diff --git a/examples/cx16/vtui/testvtui.p8 b/examples/cx16/vtui/testvtui.p8 index 1228db9d1..43c7e575a 100644 --- a/examples/cx16/vtui/testvtui.p8 +++ b/examples/cx16/vtui/testvtui.p8 @@ -12,7 +12,7 @@ main { store_logo() txt.lowercase() - vtui.screen_set(2) + vtui.screen_set(0) vtui.clr_scr('%', $50) vtui.gotoxy(5,5) vtui.fill_box(':', 70, 50, $c6) @@ -114,6 +114,7 @@ vtui $1000 { %asmbinary "VTUI0.8.BIN", 2 ; skip the 2 dummy load address bytes ; NOTE: base address $1000 here must be the same as the block's memory address, for obvious reasons! + ; The routines below are for VTUI 0.8 romsub $1000 = initialize() clobbers(A, X, Y) romsub $1002 = screen_set(ubyte mode @A) clobbers(A, X, Y) romsub $1005 = set_bank(ubyte bank @Pc) clobbers(A)