]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/dlgbox/dlgboxfileselect.s
Return 0 if color not found
[cc65] / libsrc / geos / dlgbox / dlgboxfileselect.s
index ac4548959aeb833b26b8b1d609de6019d04d28c1..92f97848ed5236d3e1e42768970384f676b95c5b 100644 (file)
@@ -1,6 +1,6 @@
 
 ;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
 ;
 ; 25.12.99
 
@@ -15,6 +15,8 @@
                .include "../inc/const.inc"
                .include "../inc/geosmac.ca65.inc"
 
+.code
+
 _DlgBoxFileSelect:
 
                sta tmp_r5
@@ -40,6 +42,8 @@ DB_FS_reload:
                beq DB_FS_reload
 DB_FS_Fin:     rts
 
+.rodata
+
 paramStrFileSelect:
                .byte DEF_DB_POS | 1
                .byte DBGETFILES, 4, 4
@@ -48,6 +52,8 @@ paramStrFileSelect:
                .byte CANCEL, DBI_X_2, DBI_Y_0+64+3
                .byte NULL
 
-tmp_r5:                .word 0
-tmp_r7L:       .byte 0
-tmp_r10:       .word 0
+.bss
+
+tmp_r5:                .res 2
+tmp_r7L:       .res 1
+tmp_r10:       .res 2