Skip to content

Commit 8e2f38d

Browse files
committed
Bumped to version 1.2 for new input_str return
1 parent 8b15dfc commit 8e2f38d

6 files changed

+9
-9
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
rm -rf *.o *.PRG *.BIN
3-
acme -f cbm -o VTUI1.1.BIN -l vtuilib-generic.lst vtuilib-generic.asm
3+
acme -f cbm -o VTUI1.2.BIN -l vtuilib-generic.lst vtuilib-generic.asm
44
acme -f cbm -o EXAMPL01.PRG example01.asm
55
acme -f cbm -o EXAMPL02.PRG example02.asm
66
acme -f cbm -o ACME-EX1.PRG acme-ex01.asm

cc65-ex01.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int main() {
99
// vtui_initialize(vtui);
1010

1111
// Load VTUI library to address 0x0400 and initialize it
12-
vtui_load((char*)0x0400, "vtui1.1.bin");
12+
vtui_load((char*)0x0400, "vtui1.2.bin");
1313
vtui_initialize((char*)0x0400);
1414

1515
// Switch to standard PETSCII character set
@@ -48,7 +48,7 @@ int main() {
4848
// Write a character to show header starts
4949
vtui_plot_char(0x73, 0x74);
5050
// Write box header
51-
vtui_print_str("version 1.1", 11, (YELLOW<<4)+PURPLE, PETSCII_TRUE);
51+
vtui_print_str("version 1.2", 11, (YELLOW<<4)+PURPLE, PETSCII_TRUE);
5252
// Write a character to show header ends
5353
vtui_plot_char(0x6B, 0x74);
5454
vtui_gotoxy(3, 17);

example01.asm

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@ load_library:
277277
rts
278278

279279
Libname !text "VTUI LIBRARY"
280-
Verstr !text "VERSION 1.1"
280+
Verstr !text "VERSION 1.2"
281281
Boxstr !text "BOXES WITH OR WITHOUT BORDERS"
282282
Hlinestr !text "HORIZONTAL LINES"
283283
Vlinestr !text "VERTICAL LINES"
284284
Plotstr !text "PLOT OR SCAN CHARACTERS"
285285
Dramstr !text "DIRECTLY TO/FROM SCREEN RAM"
286286
Morestr !text "**** WITH CC65 SUPPORT ****"
287287

288-
Fname !text "VTUI1.1.BIN"
288+
Fname !text "VTUI1.2.BIN"
289289
End_fname

example02.asm

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,12 @@ main:
255255
rts
256256

257257
Libname !text "VTUI LIBRARY"
258-
Verstr !text "VERSION 1.1"
258+
Verstr !text "VERSION 1.2"
259259
Boxstr !text "BOXES WITH OR WITHOUT BORDERS"
260260
Hlinestr !text "HORIZONTAL LINES"
261261
Vlinestr !text "VERTICAL LINES"
262262
Plotstr !text "PLOT OR SCAN CHARACTERS"
263263
Dramstr !text "DIRECTLY TO/FROM SCREEN RAM"
264264
Morestr !text "***** WITH CC65 SUPPORT *****"
265265

266-
VTUI !bin "VTUI1.1.BIN"
266+
VTUI !bin "VTUI1.2.BIN"

vtuilib-acme.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,6 @@ vtui_get_decr = VTUI_LIB+62
332332
jsr vtui_input_str
333333
}
334334

335-
VTUI: !bin "VTUI1.1.BIN"
335+
VTUI: !bin "VTUI1.2.BIN"
336336

337337
VTUI_LIB_END:

vtuilib-ca65.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,6 @@ vtui_get_decr = VTUI_LIB+62
332332
jsr vtui_input_str
333333
.endmacro
334334

335-
VTUI: .incbin "VTUI1.1.BIN"
335+
VTUI: .incbin "VTUI1.2.BIN"
336336

337337
VTUI_LIB_END:

0 commit comments

Comments
 (0)