]> git.sur5r.net Git - cc65/commitdiff
put segment keywords so bss, data and rodata are used for storage
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 4 Jun 2002 22:49:09 +0000 (22:49 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 4 Jun 2002 22:49:09 +0000 (22:49 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1301 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/dlgbox/dlgboxfileselect.s
libsrc/geos/dlgbox/dlgboxgetstring.s
libsrc/geos/dlgbox/dlgboxok.s
libsrc/geos/dlgbox/dlgboxokcancel.s
libsrc/geos/dlgbox/dlgboxyesno.s
libsrc/geos/file/findftypes.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
index 68471ea3fec1fd1a70dba90f6b7c93a8d5a8b5e5..a7c78063b9e3ee938440a16d1d120f085e48850b 100644 (file)
@@ -1,6 +1,6 @@
 
 ;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
 ;
 ; 25.12.99
 
@@ -14,6 +14,8 @@
            .include "../inc/geossym.inc"
            .include "../inc/const.inc"
 
+.code
+
 _DlgBoxGetString:
            jsr DB_get2lines
            jsr popa
@@ -25,6 +27,8 @@ _DlgBoxGetString:
            ldx #>paramStrGetString
            jmp _DoDlgBox
 
+.data
+
 paramStrGetString:
            .byte DEF_DB_POS | 1
            .byte DBVARSTR, TXT_LN_X, TXT_LN_1_Y, ptr3
index 17872744a4e4ea3c8e83a887cd6aadc8ed2c5efc..abaf86fed8377b7efd2c66daf294e6ff3ddc218a 100644 (file)
@@ -1,6 +1,6 @@
 
 ;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
 ;
 ; 25.12.99
 
            .include "../inc/geossym.inc"
            .include "../inc/const.inc"
 
+.code
+
 _DlgBoxOk:
            jsr DB_get2lines
            lda #<paramStrOk
            ldx #>paramStrOk
            jmp _DoDlgBox
 
+.rodata
+
 paramStrOk:
            .byte DEF_DB_POS | 1
            .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
index 76316f0c4db9b4df47c903e7f27138841f6cd6d1..e38eccd265c5b9944eebc19cc270d1a4198da707 100644 (file)
@@ -1,6 +1,6 @@
 
 ;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
 ;
 ; 25.12.99
 
            .include "../inc/geossym.inc"
            .include "../inc/const.inc"
 
+.code
+
 _DlgBoxOkCancel:
            jsr DB_get2lines
            lda #<paramStrOkCancel
            ldx #>paramStrOkCancel
            jmp _DoDlgBox
 
+.rodata
+
 paramStrOkCancel:
            .byte DEF_DB_POS | 1
            .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
index d378094f68b754907e4a46fc93f4c766e219fb00..09f697c99d4e0ac720e91507842ff5a9ad2b923c 100644 (file)
@@ -1,6 +1,6 @@
 
 ;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
 ;
 ; 25.12.99
 
            .include "../inc/geossym.inc"
            .include "../inc/const.inc"
 
+.code
+
 _DlgBoxYesNo:
            jsr DB_get2lines
            lda #<paramStrYesNo
            ldx #>paramStrYesNo
            jmp _DoDlgBox
 
+.rodata
+
 paramStrYesNo:
            .byte DEF_DB_POS | 1
            .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
index 8c020985dd91ab6b1bf457109d2de3c9448f5dba..6b5b260d417319cbb3e045b0bb9d17e47c28462b 100644 (file)
@@ -11,6 +11,8 @@
 
            .include "../inc/jumptab.inc"
            .include "../inc/geossym.inc"
+
+.code
        
 _FindFTypes:
        sta r10L
@@ -31,4 +33,6 @@ _FindFTypes:
        sbc r7H
        rts
 
-tmpFileMax:    .byte 0
+.bss
+
+tmpFileMax:    .res 1