mirror of
https://github.com/irmen/prog8.git
synced 2025-02-18 05:30:34 +00:00
cx16: sys.reset_system() now resets vera fully as well (such as PSG sound), kernal didn't seem to do that
This commit is contained in:
parent
f690f58bd4
commit
350dc731f1
@ -868,7 +868,9 @@ sys {
|
|||||||
; Soft-reset the system back to initial power-on Basic prompt.
|
; Soft-reset the system back to initial power-on Basic prompt.
|
||||||
%asm {{
|
%asm {{
|
||||||
sei
|
sei
|
||||||
stz $01 ; bank the kernal in
|
stz $01 ; bank the kernal in
|
||||||
|
lda #$80
|
||||||
|
sta cx16.VERA_CTRL ; reset Vera (kernal doesn't do this?)
|
||||||
jmp (cx16.RESET_VEC)
|
jmp (cx16.RESET_VEC)
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ TODO
|
|||||||
|
|
||||||
For next release
|
For next release
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
- cx16: sys.reset_system() doesn't silence the vera psg (kernel bug in reset vector?) use reset vera bit?
|
- txt.chrout("a") -> crash
|
||||||
- see if we can let for loops skip the loop if end<start, without adding a lot of code size/duplicating the loop condition
|
- see if we can let for loops skip the loop if end<start, without adding a lot of code size/duplicating the loop condition
|
||||||
this is documented behiavor to now loop around but it's too easy to forget about
|
this is documented behiavor to now loop around but it's too easy to forget about
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user