cx16 startup code now properly turns off mouse cursor

This commit is contained in:
Irmen de Jong 2023-02-27 23:35:42 +01:00
parent e62ea388e0
commit ded2483fc0
3 changed files with 12 additions and 1 deletions

View File

@ -633,6 +633,10 @@ asmsub init_system() {
; Called automatically by the loader program logic.
%asm {{
sei
lda #0
tax
tay
jsr cx16.mouse_config ; disable mouse
cld
lda VERA_DC_VIDEO
and #%00000111 ; retain chroma + output mode

View File

@ -3,12 +3,18 @@ TODO
For next minor release
^^^^^^^^^^^^^^^^^^^^^^
- improve search paths for %import; importing something from code in a subdir
won't find a module in the current directory where the compiler is launched in.
also it prints '.' as search path which is confusing.
...
For 9.0 major changes
^^^^^^^^^^^^^^^^^^^^^
- duplicate diskio for cx16 (get rid of cx16diskio, just copy diskio and tweak everything) + documentation
- get rid of the disknumber parameter everywhere in diskio, make it a configurable variable that defaults to 8
- get f_seek_w working like in the BASIC program - this needs the changes to diskio.f_open to use suffixes ,p,m
- Some support for (64tass) SEGMENTS ?
- Add a mechanism to allocate variables into golden ram (or segments really) (see GoldenRam class)

View File

@ -57,7 +57,8 @@ main {
nibblesptr++
}
}
float duration_secs = (c64.RDTIM16() as float) / 60.0
const float REFRESH_RATE = 25.0e6/(525.0*800) ; Vera VGA refresh rate is not precisely 60 hz!
float duration_secs = (c64.RDTIM16() as float) / REFRESH_RATE
floats.print_f(duration_secs)
txt.print(" seconds (approx)\n")
const float PCM_WORDS_PER_BLOCK = 1 + 252*2