mirror of
https://github.com/irmen/prog8.git
synced 2024-12-24 16:29:21 +00:00
fix parameter name conflict
This commit is contained in:
parent
e52d05c7db
commit
0a53bd4956
@ -367,14 +367,14 @@ romsub $fecc = monitor() clobbers(A,X,Y)
|
|||||||
|
|
||||||
; ---- utilities -----
|
; ---- utilities -----
|
||||||
|
|
||||||
inline asmsub rombank(ubyte rombank @A) {
|
inline asmsub rombank(ubyte bank @A) {
|
||||||
; -- set the rom banks
|
; -- set the rom banks
|
||||||
%asm {{
|
%asm {{
|
||||||
sta $01 ; rom bank register (v39+, used to be cx16.d1prb $9f60 in v38)
|
sta $01 ; rom bank register (v39+, used to be cx16.d1prb $9f60 in v38)
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline asmsub rambank(ubyte rambank @A) {
|
inline asmsub rambank(ubyte bank @A) {
|
||||||
; -- set the ram bank
|
; -- set the ram bank
|
||||||
%asm {{
|
%asm {{
|
||||||
sta $00 ; ram bank register (v39+, used to be cx16.d1pra $9f61 in v38)
|
sta $00 ; ram bank register (v39+, used to be cx16.d1pra $9f61 in v38)
|
||||||
|
Loading…
Reference in New Issue
Block a user