Skip to content

Commit 3be3a86

Browse files
committed
Fix incorrect border colour setting on X16. Remove custom font on Quit on X16.
1 parent acfd9b4 commit 3be3a86

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

asm/ozmoo.asm

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,12 @@ game_id !byte 0,0,0,0
11331133
jmp basic_reset
11341134
} else ifdef TARGET_X16 {
11351135
!ifdef TARGET_X16 {
1136+
!ifdef CUSTOM_FONT {
1137+
lda #2
1138+
jsr $ff62
1139+
}
1140+
lda #$09 ; Unlock font selection
1141+
jsr $ffd2
11361142
jmp x16_restore_basic_zp
11371143
}
11381144
; stz 1
@@ -1898,9 +1904,9 @@ deletable_init_start
18981904
}
18991905

19001906
!ifdef TARGET_X16 {
1901-
lda #$0e
1907+
lda #$0e ; Set font = lower case / upper case
19021908
jsr $ffd2
1903-
lda #$08
1909+
lda #$08 ; Lock font selection
19041910
jsr $ffd2
19051911
}
19061912
!ifdef TARGET_PLUS4 {

asm/screenkernal.asm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,15 @@ VERASetBorderColour
169169
rts
170170

171171
VERASetBackgroundColour
172+
pha
172173
asl
173174
asl
174175
asl
175176
asl
176177
sta .vera_background
177178
ora s_colour
178179
sta vera_composite_colour
180+
pla
179181
rts
180182

181183
VERASetForegroundColour

make.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
if $settings_file.empty? && File.exists?(Dir.home + '/.ozmoorc') then
5858
$settings_file = Dir.home + '/.ozmoorc'
5959
end
60-
if ! $settings_file.empty?
60+
unless $settings_file.empty?
6161
File.foreach $settings_file do |line|
6262
if line =~ /^\s*'?(\w+)'?\s*=>?(.*)/ then
6363
name = $1.upcase
@@ -2505,6 +2505,8 @@ def print_usage
25052505
exit 1
25062506
end
25072507

2508+
puts "Using settings file #{$settings_file}" if $verbose and ! $settings_file.empty?
2509+
25082510
if $target =~ /^c(64|128)$/ and reu_boost == nil
25092511
reu_boost = 1
25102512
end

releasenotes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Bugfixes:
1818
- Restart loaded entire story file on MEGA65, if a custom font was used
1919
- A conditional jump in the code could break because it had to jump too far, if you had smooth scroll, scrollback buffer and undo enabled.
2020
- A scrollback buffer in regular RAM made Beyond Zork builds break
21+
- Border colour was sometimes set incorrectly on X16
22+
- Using a custom font on X16 made the font stay after QUIT
2123

2224
================================================
2325
Release 14.7: 2 April 2024

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.13
1+
14.14

0 commit comments

Comments
 (0)