Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write character to cursor seems to break program counter #154

Open
clubby789 opened this issue Sep 4, 2020 · 0 comments
Open

Write character to cursor seems to break program counter #154

clubby789 opened this issue Sep 4, 2020 · 0 comments

Comments

@clubby789
Copy link

When I set ah to 0x0a, then call int 10h, the program counter seems to jump to uninitialized memory: 0x7c28 to 0xd2a0. If I use 0x0e (TTY mode) the character prints fine.

PutChar:
    mov ah, 0xa
    int 0x10
    leave
    ret
[ ... ]
mov al, 'H'
call PutChar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant