mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 03:54:27 +00:00
fix parameter name conflict
This commit is contained in:
parent
8095c4c155
commit
0e2e5ffa52
@ -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