I have a very short assembly TASM program:
IDEAL
MODEL small
STACK 100h
DATASEG
;creating all the messages
opening_message db 10, 'This is an encryption program.', 10, 'This program allows you to encrypt a message into giberish,', 10, 'send it to a friend, who can then decrypt it back into text$'
CODESEG
start:
    mov ax, @data
    mov ds, ax
; --------------------------
; Your code here
; --------------------------
    ;We clear the screen of dosbox
    mov ax, 13h
    int 10h
    mov ax, 2
    int 10h
    ;print opening message
    lea dx, [opening_message]
    mov ah, 9
    int 21h
exit:
    mov ax, 4c00h
    int 21h
END start
When I try to run the program in DOSBOX-X, the lastest version, 64bit, The newline character (10) in the string is printed at a huge offset. See image
Can anyone help?
Thanks
P.S.
The program is working fine in vanilla dosbox