Skip to content

Commit aabfa35

Browse files
committed
Added samples for new Vdc predefined subrountine
1 parent 67c8663 commit aabfa35

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "com.github.c64lib.retro-assembler" version "1.5.4"
2+
id "com.github.c64lib.retro-assembler" version "1.6.0"
33
}
44

55
repositories {
@@ -11,6 +11,6 @@ retroProject {
1111
dialectVersion = "5.25"
1212
libDirs = ["..", ".ra/deps/c128lib"]
1313

14-
libFromGitHub "c128lib/common", "0.5.1"
15-
libFromGitHub "c128lib/chipset", "0.6.0-alpha2"
14+
libFromGitHub "c128lib/common", "0.6.0"
15+
libFromGitHub "c128lib/chipset", "0.7.0"
1616
}

vdc.asm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ Entry: {
6767

6868
IsReturnPressedAndReleased()
6969

70+
lda #'a'
71+
jsr c128lib.Vdc.FillScreen
72+
IsReturnPressedAndReleased()
73+
7074
// Now let the user choose his favourite color
7175
UserSelect:
7276
clc
@@ -132,5 +136,9 @@ SampleString3: .text "DUIS QUIS TEMPOR TELLUS. VIVAMUS MATTIS VESTIBULUM TORTOR
132136

133137
#import "keyboard-helper.asm"
134138

139+
// Defining guard to consent the use of FillScreen subroutine
140+
#define FILLSCREEN
141+
135142
#import "./common/lib/common-global.asm"
143+
#import "./chipset/lib/vdc.asm"
136144
#import "./chipset/lib/vdc-global.asm"

0 commit comments

Comments
 (0)