mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 22:30:12 +00:00
33 lines
607 B
ArmAsm
33 lines
607 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 25.12.99
|
||
|
|
||
|
; char DlgBoxOk (char *line1,char *line2);
|
||
|
|
||
|
.export _DlgBoxOk
|
||
|
.import DB_get2lines
|
||
|
.importzp ptr3, ptr4
|
||
|
|
||
|
.include "../inc/jumptab.inc"
|
||
|
.include "../inc/geossym.inc"
|
||
|
.include "../inc/const.inc"
|
||
|
|
||
|
_DlgBoxOk:
|
||
|
jsr DB_get2lines
|
||
|
lda #<paramStrOk
|
||
|
ldx #>paramStrOk
|
||
|
sta r0L
|
||
|
stx r0H
|
||
|
jsr DoDlgBox
|
||
|
lda r0L
|
||
|
rts
|
||
|
|
||
|
paramStrOk:
|
||
|
.byte DEF_DB_POS | 1
|
||
|
.byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
|
||
|
.byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
|
||
|
.byte OK, DBI_X_0, DBI_Y_2
|
||
|
.byte NULL
|