;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.99
.include "../inc/const.inc"
.include "../inc/geosmac.ca65.inc"
+.code
+
_DlgBoxFileSelect:
sta tmp_r5
beq DB_FS_reload
DB_FS_Fin: rts
+.rodata
+
paramStrFileSelect:
.byte DEF_DB_POS | 1
.byte DBGETFILES, 4, 4
.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
;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.99
.include "../inc/geossym.inc"
.include "../inc/const.inc"
+.code
+
_DlgBoxGetString:
jsr DB_get2lines
jsr popa
ldx #>paramStrGetString
jmp _DoDlgBox
+.data
+
paramStrGetString:
.byte DEF_DB_POS | 1
.byte DBVARSTR, TXT_LN_X, TXT_LN_1_Y, ptr3
;
-; 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
;
-; 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
;
-; 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
.include "../inc/jumptab.inc"
.include "../inc/geossym.inc"
+
+.code
_FindFTypes:
sta r10L
sbc r7H
rts
-tmpFileMax: .byte 0
+.bss
+
+tmpFileMax: .res 1