1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

put segment keywords so bss, data and rodata are used for storage

git-svn-id: svn://svn.cc65.org/cc65/trunk@1301 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst 2002-06-04 22:49:09 +00:00
parent 593797f9eb
commit fc3d55d196
6 changed files with 35 additions and 9 deletions

View File

@ -1,6 +1,6 @@
; ;
; Maciej 'YTM/Alliance' Witkowiak ; Maciej 'YTM/Elysium' Witkowiak
; ;
; 25.12.99 ; 25.12.99
@ -15,6 +15,8 @@
.include "../inc/const.inc" .include "../inc/const.inc"
.include "../inc/geosmac.ca65.inc" .include "../inc/geosmac.ca65.inc"
.code
_DlgBoxFileSelect: _DlgBoxFileSelect:
sta tmp_r5 sta tmp_r5
@ -40,6 +42,8 @@ DB_FS_reload:
beq DB_FS_reload beq DB_FS_reload
DB_FS_Fin: rts DB_FS_Fin: rts
.rodata
paramStrFileSelect: paramStrFileSelect:
.byte DEF_DB_POS | 1 .byte DEF_DB_POS | 1
.byte DBGETFILES, 4, 4 .byte DBGETFILES, 4, 4
@ -48,6 +52,8 @@ paramStrFileSelect:
.byte CANCEL, DBI_X_2, DBI_Y_0+64+3 .byte CANCEL, DBI_X_2, DBI_Y_0+64+3
.byte NULL .byte NULL
tmp_r5: .word 0 .bss
tmp_r7L: .byte 0
tmp_r10: .word 0 tmp_r5: .res 2
tmp_r7L: .res 1
tmp_r10: .res 2

View File

@ -1,6 +1,6 @@
; ;
; Maciej 'YTM/Alliance' Witkowiak ; Maciej 'YTM/Elysium' Witkowiak
; ;
; 25.12.99 ; 25.12.99
@ -14,6 +14,8 @@
.include "../inc/geossym.inc" .include "../inc/geossym.inc"
.include "../inc/const.inc" .include "../inc/const.inc"
.code
_DlgBoxGetString: _DlgBoxGetString:
jsr DB_get2lines jsr DB_get2lines
jsr popa jsr popa
@ -25,6 +27,8 @@ _DlgBoxGetString:
ldx #>paramStrGetString ldx #>paramStrGetString
jmp _DoDlgBox jmp _DoDlgBox
.data
paramStrGetString: paramStrGetString:
.byte DEF_DB_POS | 1 .byte DEF_DB_POS | 1
.byte DBVARSTR, TXT_LN_X, TXT_LN_1_Y, ptr3 .byte DBVARSTR, TXT_LN_X, TXT_LN_1_Y, ptr3

View File

@ -1,6 +1,6 @@
; ;
; Maciej 'YTM/Alliance' Witkowiak ; Maciej 'YTM/Elysium' Witkowiak
; ;
; 25.12.99 ; 25.12.99
@ -13,12 +13,16 @@
.include "../inc/geossym.inc" .include "../inc/geossym.inc"
.include "../inc/const.inc" .include "../inc/const.inc"
.code
_DlgBoxOk: _DlgBoxOk:
jsr DB_get2lines jsr DB_get2lines
lda #<paramStrOk lda #<paramStrOk
ldx #>paramStrOk ldx #>paramStrOk
jmp _DoDlgBox jmp _DoDlgBox
.rodata
paramStrOk: paramStrOk:
.byte DEF_DB_POS | 1 .byte DEF_DB_POS | 1
.byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3 .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3

View File

@ -1,6 +1,6 @@
; ;
; Maciej 'YTM/Alliance' Witkowiak ; Maciej 'YTM/Elysium' Witkowiak
; ;
; 25.12.99 ; 25.12.99
@ -13,12 +13,16 @@
.include "../inc/geossym.inc" .include "../inc/geossym.inc"
.include "../inc/const.inc" .include "../inc/const.inc"
.code
_DlgBoxOkCancel: _DlgBoxOkCancel:
jsr DB_get2lines jsr DB_get2lines
lda #<paramStrOkCancel lda #<paramStrOkCancel
ldx #>paramStrOkCancel ldx #>paramStrOkCancel
jmp _DoDlgBox jmp _DoDlgBox
.rodata
paramStrOkCancel: paramStrOkCancel:
.byte DEF_DB_POS | 1 .byte DEF_DB_POS | 1
.byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3 .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3

View File

@ -1,6 +1,6 @@
; ;
; Maciej 'YTM/Alliance' Witkowiak ; Maciej 'YTM/Elysium' Witkowiak
; ;
; 25.12.99 ; 25.12.99
@ -13,12 +13,16 @@
.include "../inc/geossym.inc" .include "../inc/geossym.inc"
.include "../inc/const.inc" .include "../inc/const.inc"
.code
_DlgBoxYesNo: _DlgBoxYesNo:
jsr DB_get2lines jsr DB_get2lines
lda #<paramStrYesNo lda #<paramStrYesNo
ldx #>paramStrYesNo ldx #>paramStrYesNo
jmp _DoDlgBox jmp _DoDlgBox
.rodata
paramStrYesNo: paramStrYesNo:
.byte DEF_DB_POS | 1 .byte DEF_DB_POS | 1
.byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3 .byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3

View File

@ -11,6 +11,8 @@
.include "../inc/jumptab.inc" .include "../inc/jumptab.inc"
.include "../inc/geossym.inc" .include "../inc/geossym.inc"
.code
_FindFTypes: _FindFTypes:
sta r10L sta r10L
@ -31,4 +33,6 @@ _FindFTypes:
sbc r7H sbc r7H
rts rts
tmpFileMax: .byte 0 .bss
tmpFileMax: .res 1