Skip to content

Commit 96d4251

Browse files
committed
Fix macro name SetScreenAndCharacterMemoryWithShadow
1 parent 5ef2dd1 commit 96d4251

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/vic2-global.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
*
142142
* @since 1.0.0
143143
*/
144-
.macro @c128lib_SetScreenAndCharacterMemory(config) { SetScreenAndCharacterMemory(config) }
144+
.macro @c128lib_SetScreenAndCharacterMemoryWithShadow(config) { SetScreenAndCharacterMemoryWithShadow(config) }
145145

146146
/**
147147
* @brief Set screen memory and bitmap memory pointer

lib/vic2.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@
190190
* @remark Register .A will be modified.
191191
* @remark Flags N and Z will be affected.
192192
*
193-
* @note Use c128lib_SetScreenAndCharacterMemory in vic2-global.asm
193+
* @note Use c128lib_SetScreenAndCharacterMemoryWithShadow in vic2-global.asm
194194
*
195195
* @since 1.0.0
196196
*/
197-
.macro SetScreenAndCharacterMemory(config) {
197+
.macro SetScreenAndCharacterMemoryWithShadow(config) {
198198
lda #config
199199
sta Vic2.VIC_SCREEN_CHAR_SHADOW
200200
}
201-
.assert "SetScreenAndCharacterMemory(Vic2.CHAR_MEM_3800 | Vic2.SCREEN_MEM_3C00) sets char to $3800 and Screen to $3c00 in shadow MEMORY_CONTROL", { SetScreenAndCharacterMemory(Vic2.CHAR_MEM_3800 | Vic2.SCREEN_MEM_3C00) }, {
201+
.assert "SetScreenAndCharacterMemoryWithShadow(Vic2.CHAR_MEM_3800 | Vic2.SCREEN_MEM_3C00) sets char to $3800 and Screen to $3c00 in shadow MEMORY_CONTROL", { SetScreenAndCharacterMemoryWithShadow(Vic2.CHAR_MEM_3800 | Vic2.SCREEN_MEM_3C00) }, {
202202
lda #%11111110; sta $0A2C
203203
}
204204

0 commit comments

Comments
 (0)