mirror of
https://github.com/g012/l65.git
synced 2025-01-07 00:29:34 +00:00
Fixed VCS init function: used tsx instead of txs.
This commit is contained in:
parent
3db7a48f48
commit
f589f55961
@ -9,7 +9,7 @@ set(L65_BINARY_DIR ${PROJECT_BINARY_DIR})
|
|||||||
|
|
||||||
set(L65_VERSION_MAJOR "1")
|
set(L65_VERSION_MAJOR "1")
|
||||||
set(L65_VERSION_MINOR "2")
|
set(L65_VERSION_MINOR "2")
|
||||||
set(L65_VERSION_REVISION "0")
|
set(L65_VERSION_REVISION "1")
|
||||||
set(L65_VERSION "${L65_VERSION_MAJOR}.${L65_VERSION_MINOR}.${L65_VERSION_REVISION}")
|
set(L65_VERSION "${L65_VERSION_MAJOR}.${L65_VERSION_MINOR}.${L65_VERSION_REVISION}")
|
||||||
configure_file("${L65_SOURCE_DIR}/l65cfg.lua.in" "${L65_BINARY_DIR}/l65cfg.lua")
|
configure_file("${L65_SOURCE_DIR}/l65cfg.lua.in" "${L65_BINARY_DIR}/l65cfg.lua")
|
||||||
|
|
||||||
|
2
vcs.l65
2
vcs.l65
@ -167,7 +167,7 @@ PAL = {
|
|||||||
}
|
}
|
||||||
TV = PAL
|
TV = PAL
|
||||||
|
|
||||||
init = function() cld ldx#0 txa local l=label() dex tsx pha bne l end
|
init = function() cld ldx#0 txa local l=label() dex txs pha bne l end
|
||||||
wait = function() local l=label() lda INTIM bne l end
|
wait = function() local l=label() lda INTIM bne l end
|
||||||
overscan_begin = function() sta WSYNC lda#2 sta VBLANK lda#TV.TIM_OVERSCAN sta TIM64T end
|
overscan_begin = function() sta WSYNC lda#2 sta VBLANK lda#TV.TIM_OVERSCAN sta TIM64T end
|
||||||
overscan_end = wait
|
overscan_end = wait
|
||||||
|
Loading…
Reference in New Issue
Block a user