;
-; Maciej 'YTM/Alliance' Witkowiak
+; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.99
; char DlgBoxGetString (char *string, char strlen, char *line1,char *line2);
.export _DlgBoxGetString
- .import DB_get2lines
+ .import DB_get2lines, _DoDlgBox
.importzp ptr2, ptr3, ptr4
.import popa, popax
-
- .include "../inc/jumptab.inc"
+
.include "../inc/geossym.inc"
.include "../inc/const.inc"
+.code
+
_DlgBoxGetString:
jsr DB_get2lines
jsr popa
stx ptr2+1
lda #<paramStrGetString
ldx #>paramStrGetString
- sta r0L
- stx r0H
- jsr DoDlgBox
- lda r0L
- rts
+ jmp _DoDlgBox
+
+.data
paramStrGetString:
.byte DEF_DB_POS | 1