Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DX64 - open source 64-bit ring 0 dos extender (Announce)

posted by Japheth Homepage, Germany (South), 25.03.2020, 16:28

> I tested programs with QEMU and Bochs and they work for me.

Well, good, at least Qemu works "for me" also - didn't test Box.

However, the qemu keyboard emulation was "not so good" in 2007 when I played with it ( the HX Win32 emulation needs pretty low level access to the keyboard ) and my impression is that it hasn't improved much in the last 13 years. At the very least you shouldn't rely on qemu if you want your program to run elsewhere as well.

> You can use the SD64.EXE debugger and trace the programs.

Thanks, but this debugger shows just a black screen when I start it (in qemu and in true DOS ).

I was curious and took a brief look into Hello64.asm ( I didn't try to assemble because you mentioned that a "special" version of fasm is needed ). This code looks suspicious:


Int09h: inc     dword [dword 0xB8000+ScreenX*8]
        iretq

Int08h: push    rax
        inc     dword [dword 0xB8000+ScreenX*0]
        in      al,60h          ;Get char from keyboard
        cmp     al,81h          ;Esc released?
ifz     mov     [WasCtrlBreak],80h ; if yes, be ready from exit


It's probably a typo, but the keyboard is usually read by Int09 and the timer is handled by Int08 - your code looks as if you've mixed up those.

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 426 users online (1 registered, 425 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum