mirror of
https://github.com/irmen/prog8.git
synced 2025-01-11 13:29:45 +00:00
x16 r39: update vtui lib and example
This commit is contained in:
parent
c6cf330e70
commit
e2886e5303
@ -1092,6 +1092,7 @@ class Pipe(override var source: Expression,
|
||||
// Calls to builtin functions will be replaced with this node just before handing the Ast to the codegen.
|
||||
// this is meant to eventually (?) be able to not have any FunctionCallStatement nodes to worry about anymore
|
||||
// in the codegen, because they have been converted into GoSub (for instance) or this node.
|
||||
// However, if/when the codegen is moved over to use the new CodeAst (PtProgram etc etc) this is all moot.
|
||||
class BuiltinFunctionCallStatement(override var target: IdentifierReference,
|
||||
override var args: MutableList<Expression>,
|
||||
override val position: Position) : Statement(), IFunctionCall {
|
||||
|
@ -6,7 +6,6 @@ For next release
|
||||
- x16: add new keyboard APIs https://github.com/commanderx16/x16-docs/blob/master/Commander%20X16%20Programmer%27s%20Reference%20Guide.md#keyboard
|
||||
- x16: optimize diskio load_raw because headerless files are now supported https://github.com/commanderx16/x16-rom/pull/216
|
||||
note: must still work on c64/c128 that don't have this!
|
||||
- x16: fix wormfood (requires new VTUI lib)
|
||||
|
||||
- vm codegen: When
|
||||
- vm codegen: Pipe expression
|
||||
|
Binary file not shown.
BIN
examples/cx16/vtui/VTUI0.9.BIN
Normal file
BIN
examples/cx16/vtui/VTUI0.9.BIN
Normal file
Binary file not shown.
@ -11,7 +11,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)
|
||||
@ -110,7 +110,7 @@ char_loop:
|
||||
|
||||
vtui $1000 {
|
||||
|
||||
%asmbinary "VTUI0.8.BIN", 2 ; skip the 2 dummy load address bytes
|
||||
%asmbinary "VTUI0.9.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
|
||||
|
Loading…
x
Reference in New Issue
Block a user