1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +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
@ -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

View 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

View File

@ -1,6 +1,6 @@
;
; Maciej 'YTM/Alliance' Witkowiak
; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.99
@ -13,12 +13,16 @@
.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

View File

@ -1,6 +1,6 @@
;
; Maciej 'YTM/Alliance' Witkowiak
; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.99
@ -13,12 +13,16 @@
.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

View File

@ -1,6 +1,6 @@
;
; Maciej 'YTM/Alliance' Witkowiak
; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.99
@ -13,12 +13,16 @@
.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

View 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